​
Select Service
ves-io-schema-topology-CustomDataAPI-GetNetworkRouteTables
Published April 5, 2023 | Last modified October 28, 2026
Examples of performing topology CustomDataAPI GetNetworkRouteTables
Usecase:
Get Network Route Tables network-1
Request:
Request using vesctl:
vesctl request rpc topology.CustomDataAPI.GetNetworkRouteTables -i request.yaml --uri /public/namespaces/system/topology/network/network-1/route_tables --http-method GET
where file request.yaml has following contents:
{}vesctl yaml response:
routesData:- networkId: test-1 routeTablesData: - routeTableData: metadata: name: rt-1 tags: {} routeTable: associations: [] explicitSubnet: [] implicitSubnet: [] network: [] propagations: [] routes: [] subnet: [] transitGateway: [] subnetData: - metadata: cidrV4: [] cidrV6: [] name: subnet-1 subnet: cidrV4: [] cidrV6: [] network: [] region: []Request using curl:
curl -X 'GET' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build3348201650_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/data/namespaces/system/topology/network/network-1/route_tables?id=&site='curl response:
HTTP/1.1 200 OKContent-Type: application/jsonDate: Mon, 28 Sep 2026 04:30:29 GMTVary: Accept-Encoding
{ "routes_data": [ { "network_id": "test-1", "route_tables_data": [ { "route_table_data": { "metadata": { "name": "rt-1", "tags": { }, "cloud_resource_id": "" }, "route_table": { "subnet": [ ], "network": [ ], "transit_gateway": [ ], "routes": [ ], "route_table_type": "ROUTE_TABLE_NETWORK", "implicit_subnet": [ ], "explicit_subnet": [ ], "route_table_state": "ROUTE_TABLE_STATE_NONE", "associations": [ ], "propagations": [ ] } }, "subnet_data": [ { "metadata": { "name": "subnet-1", "cloud_resource_id": "", "cidr_v4": [ ], "cidr_v6": [ ] }, "subnet": { "network": [ ], "region": [ ], "availability_zone": "", "cidr_v4": [ ], "cidr_v6": [ ], "interface_type": "OUTSIDE" } } ] } ] } ]}