​
Select Service
ves-io-schema-bgp_routing_policy-API-List
Published April 5, 2023 | Last modified November 14, 2025
Examples of listing bgp_routing_policy
Usecase:
List all bgp_routing_policy in current namespace
Request using vesctl:
vesctl configuration list bgp_routing_policy --namespace system
vesctl yaml response:
errors: []
items:
- annotations: {}
labels: {}
name: bgp-routing-policy-1
namespace: system
tenant: acmecorp
uid: da31385b-fdf6-4280-8c77-d50e74793152
- annotations: {}
labels: {}
name: bgp-routing-policy-2
namespace: system
tenant: acmecorp
uid: 0a1880f7-c233-49cb-8382-88a305257901
Copied!
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build4194363419_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/bgp_routing_policys'
Copied!
curl response
HTTP/1.1 200 OK
Content-Length: 786
Content-Type: application/json
Date: Thu, 13 Nov 2025 23:05:45 GMT
Vary: Accept-Encoding
{
"items": [
{
"tenant": "acmecorp",
"namespace": "system",
"name": "bgp-routing-policy-1",
"uid": "da31385b-fdf6-4280-8c77-d50e74793152",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null
},
{
"tenant": "acmecorp",
"namespace": "system",
"name": "bgp-routing-policy-2",
"uid": "0a1880f7-c233-49cb-8382-88a305257901",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null
}
],
"errors": [
]
}
Copied!