Skip to content

Srv6 Network Slice

Replace srv6_network_slice replaces an existing object in the storage backend for metadata.namespace.

ToolDescription
f5xc-api-network-srv6-network-slice-createCreate SRv6 Network Slice.
f5xc-api-network-srv6-network-slice-getGET SRv6 Network Slice.
f5xc-api-network-srv6-network-slice-listList SRv6 Network Slice.
f5xc-api-network-srv6-network-slice-updateReplace SRv6 Network Slice.
f5xc-api-network-srv6-network-slice-deleteDELETE SRv6 Network Slice.
ParameterDescriptionExample
metadata.namespaceNamespace-
nameName-
namespaceNamespace-
metadata.nameName-
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example-
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter-
report_status_fieldsThe report_status_fields parameter-

Ask Claude to help you work with Srv6 Network Slice resources:

“Create a srv6-network-slice named ‘example’ in the ‘production’ namespace”

“List all srv6-network-slices in the ‘production’ namespace”

“Get details of the srv6-network-slice named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/srv6_network_slices" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/srv6_network_slices/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/srv6_network_slices" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @srv6_network_slice.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/srv6_network_slices/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"