{"type":"api","title":"Get Vpn-services associated with a given underlay-transport","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/c1291a25-ce7e-325c-9659-0646f41e1a52","info":{"title":"cat-inventory-rpc","description":"This module defines service inventory RPC operations for retrieving services details from CNC.","termsOfService":"http://www.cisco.com/web/siteassets/legal/terms_condition.html","contact":{"name":"Cisco Systems","url":"https://www.cisco.com","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"security":[{"bearerAuth":[]}],"tags":[{"name":"operations","description":"service inventory operations"}],"x-parser-conf":{"overview":{"markdownPath":"reference/CNC/cat-inventory-rpc-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cnc-host}:{cnc-port}/crosswork/nbi/cat-inventory/v1/restconf","variables":{"cnc-host":{"default":"127.0.0.1","description":"host name or ip address of the target CNC Cluster"},"cnc-port":{"default":"30603","description":"port number of the target CNC Cluster"}}}],"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"spec":{"tags":["operations"],"summary":"Get Vpn-services associated with a given underlay-transport","description":"return the list of vpn services that use the given underlay transport (sr-te policy or rsvp-te tunnel)","operationId":"operations_cat_inventory_rpc_get_associated_services_for_transport_post","requestBody":{"description":"return the list of vpn services that use the given underlay transport (sr-te policy or rsvp-te tunnel)","content":{"application/yang-data+json":{"schema":{"type":"object","properties":{"cat-inventory-rpc:input":{"type":"object","properties":{"cat-inventory-rpc:get-associated-services-for-transport-request":{"oneOf":[{"type":"object","properties":{"sr-policy-ref":{"type":"object","properties":{"headend":{"type":"string","description":"SR policy Headend Device ID (leaf)","format":"string","x-yang":{"type":"leaf"}},"color":{"type":"string","description":"\u003c1-4294967295\u003e - SR policy color (leaf)","format":"int32","x-yang":{"type":"leaf"}},"endpoint":{"type":"string","description":"SR policy Endopint IP (leaf)","format":"union","x-yang":{"type":"leaf"}}},"description":"sr-policy refernce (non-presence)","x-yang":{"type":"container","is_presence":"false"}}}},{"type":"object","properties":{"te-tunnel-ref":{"type":"object","properties":{"tunnel-id":{"type":"string","description":"TE tunnel Identifier (leaf)","format":"string","x-yang":{"type":"leaf"}},"source":{"type":"string","description":"TE tunnel Source IP (leaf)","format":"union","x-yang":{"type":"leaf"}},"destination":{"type":"string","description":"TE tunnel Destination IP (leaf)","format":"union","x-yang":{"type":"leaf"}}},"description":"rsvp-te tunnel reference (non-presence)","x-yang":{"type":"container","is_presence":"false"}}}}],"description":"container for sr-policy or rsvp-te tunnel reference","x-yang":{"type":"container","is_presence":"false"}}}}},"$$ref":"#/components/schemas/operations_cat-inventory-rpc_get-associated-services-for-transport-post-input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/yang-data+json":{"schema":{"type":"object","properties":{"cat-inventory-rpc:output":{"type":"object","properties":{"cat-inventory-rpc:get-associated-services-for-transport-response":{"type":"object","properties":{"service-path":{"type":"array","items":{"type":"string","description":"service instance paths of the services associated with the given underlay transport (leaf-list)","format":"string"},"x-yang":{"type":"leaf-list"}}},"description":"(non-presence)","x-yang":{"type":"container","is_presence":"false"}}}}},"$$ref":"#/components/schemas/operations_cat-inventory-rpc_get-associated-services-for-transport-post-output"}}}},"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{}},"401":{"description":"Unauthorized","content":{}},"404":{"description":"Not Found","content":{}},"405":{"description":"Method Not Allowed","content":{}},"409":{"description":"Conflict","content":{}}},"security":[{"bearerAuth":[]}],"x-codegen-request-body-name":"get-associated-services-for-transport","__originalOperationId":"operations_cat_inventory_rpc_get_associated_services_for_transport_post","method":"post","path":"/operations/cat-inventory-rpc:get-associated-services-for-transport"}}