​
Select Service
ves-io-schema-topology-CustomDataAPI-GetTGWRouteTables
Published April 5, 2023 | Last modified October 28, 2026
Examples of performing topology CustomDataAPI GetTGWRouteTables
Usecase:
Get TGW Route Tables network-1
Request:
Request using vesctl:
vesctl request rpc topology.CustomDataAPI.GetTGWRouteTables -i request.yaml --uri /public/namespaces/system/topology/tgw/tgw-1/route_tables --http-method GET
where file request.yaml has following contents:
{}vesctl yaml response:
routesData:- metadata: name: rt-1 tags: {} routeTable: associations: [] explicitSubnet: [] implicitSubnet: [] network: [] propagations: [] routes: [] subnet: [] transitGateway: []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/tgw/tgw-1/route_tables?id=&site='curl response:
HTTP/1.1 200 OKContent-Length: 576Content-Type: application/jsonDate: Mon, 28 Sep 2026 04:30:29 GMTVary: Accept-Encoding
{ "routes_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": [ ] } } ]}