​
Select Service
ves-io-schema-srv6_network_slice-API-Get
Published April 5, 2023 | Last modified June 26, 2025
Examples of getting srv6_network_slice
Usecase:
Get srv6-network-slice-1
Request using vesctl:
vesctl configuration get srv6_network_slice srv6-network-slice-1 --namespace system
vesctl yaml response:
deletedReferredObjects: []
disabledReferredObjects: []
metadata:
annotations: {}
labels: {}
name: srv6-network-slice-1
namespace: system
referringObjects: []
resourceVersion: "3218"
spec:
connectToAccessNetworks: true
connectToEnterpriseNetworks: true
connectToInternet: true
sidPrefixes:
- cafe:f00d::0/32
status: []
systemMetadata:
creationTimestamp: "2025-06-26T23:56:19.204581Z"
creatorClass: examplesvc
creatorId: examplesvc
finalizers: []
labels: {}
tenant: acmecorp
uid: 066defca-43f9-4c4f-b135-d3bba5a5c722
Copied!
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build336959812_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/srv6_network_slices/srv6-network-slice-1?response_format=0'
Copied!
curl response:
HTTP/1.1 200 OK
Content-Length: 987
Content-Type: application/json
Date: Thu, 26 Jun 2025 23:56:19 GMT
Vary: Accept-Encoding
{
"create_form": null,
"replace_form": null,
"resource_version": "3218",
"metadata": {
"name": "srv6-network-slice-1",
"namespace": "system",
"labels": {
},
"annotations": {
},
"description": "",
"disable": false
},
"system_metadata": {
"uid": "066defca-43f9-4c4f-b135-d3bba5a5c722",
"creation_timestamp": "2025-06-26T23:56:19.204581Z",
"deletion_timestamp": null,
"modification_timestamp": null,
"initializers": null,
"finalizers": [
],
"tenant": "acmecorp",
"creator_class": "examplesvc",
"creator_id": "examplesvc",
"object_index": 0,
"owner_view": null,
"labels": {
}
},
"spec": {
"sid_prefixes": [
"cafe:f00d::0/32"
],
"connect_to_access_networks": true,
"connect_to_internet": true,
"connect_to_enterprise_networks": true
},
"status": [
],
"referring_objects": [
],
"deleted_referred_objects": [
],
"disabled_referred_objects": [
]
}
Copied!