{"type":"api","title":"List of the defined destination prefix sets","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/6489938a-86e5-302e-a992-577b2d687313","info":{"title":"cisco-l3vpn-routing-policy","description":"This YANG module defines models that l3vpn-ntw-deviations\nwill make ietf-l3vpn-ntw to depend on.","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":"data","description":"data resources"}],"x-parser-conf":{"overview":{"markdownPath":"reference/CNC/cisco-l3vpn-routing-policy-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cnc-host}:{cnc-port}/crosswork/proxy/nso/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":["data"],"summary":"List of the defined destination prefix sets","description":"List of the defined destination prefix sets","operationId":"data_cisco_l3vpn_routing_policy_l3vpn_routing_policy_defined_sets_prefix_sets_dest_prefix_set_dest_prefix_set_name_put","parameters":[{"name":"dest-prefix-set-name","in":"path","description":"Name of the prefix set to reference the set in match conditions.","required":true,"schema":{"type":"string","format":"string"}},{"name":"insert","in":"query","description":"controlling the order when adding new list elements","schema":{"type":"string","format":"enumeration","default":"first","enum":["first","last","before","after"]}},{"name":"point","in":"query","description":"used to specify the insertion point","schema":{"type":"string","format":"string"}}],"requestBody":{"description":"List of the defined destination prefix sets","content":{"application/yang-data+json":{"schema":{"type":"object","properties":{"cisco-l3vpn-routing-policy:dest-prefix-set":{"type":"array","description":"List of the defined destination prefix sets (list)","items":{"type":"object","properties":{"mode":{"type":"string","description":"Mode of the prefix set (address families IPv4 or IPv6) (leaf)","format":"enumeration","default":"ipv4","enum":["ipv4","ipv6"],"x-yang":{"type":"leaf"}},"prefixes":{"type":"object","properties":{"prefix-list":{"type":"array","description":"List of prefixes in the prefix set. (list)","items":{"type":"object","properties":{"ip-prefix":{"type":"string","description":"The IP prefix represented as an IPv6 or IPv4 network\nnumber followed by a prefix length with an intervening\nslash character as a delimiter. All members of the\nprefix-set MUST be of the same address family as the\nprefix-set mode. (leaf)","format":"union","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}},"description":"Container for the list of prefixes in a policy\nprefix list. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"name":{"type":"string","description":"Name of the prefix set to reference the set in match conditions. (leaf)","format":"string","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}},"$$ref":"#/components/schemas/data_cisco-l3vpn-routing-policy_l3vpn-routing-policy_defined-sets_prefix-sets_dest-prefix-set_dest-prefix-set-name"}}},"required":true},"responses":{"201":{"description":"list dest-prefix-set created or replaced","content":{}},"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":"dest-prefix-set","__originalOperationId":"data_cisco_l3vpn_routing_policy_l3vpn_routing_policy_defined_sets_prefix_sets_dest_prefix_set_dest_prefix_set_name_put","method":"put","path":"/data/cisco-l3vpn-routing-policy:l3vpn-routing-policy/defined-sets/prefix-sets/dest-prefix-set={dest-prefix-set-name}"}}