{"type":"api","title":"Defined RD sets","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/075a86bc-a0e0-3b96-9457-820dfdb5d533","info":{"title":"cisco-l2vpn-routing-policy","description":"IETF L2VPN ROUTING POLICY Cisco NSO Modifications","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-l2vpn-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":"Defined RD sets.","description":"List of defined RD sets for use in policies.","operationId":"data_cisco_l2vpn_routing_policy_l2vpn_routing_policy_defined_sets_rd_sets_rd_set_rd_set_name_patch","parameters":[{"name":"rd-set-name","in":"path","description":"Name of the RD set; this is used as a label\nto reference the set in match conditions.","required":true,"schema":{"type":"string","format":"string"}}],"requestBody":{"description":"List of defined RD sets for use in policies.","content":{"application/yang-data+json":{"schema":{"type":"object","properties":{"cisco-l2vpn-routing-policy:rd-set":{"type":"array","description":"List of defined RD sets for use in policies. (list)","items":{"type":"object","properties":{"rd":{"type":"array","items":{"type":"string","description":"ASN:nn or IPV4-address:nn,VPN Route Distinguisher; List of addresses in the RD set. (leaf-list)","format":"string"},"x-yang":{"type":"leaf-list"}},"name":{"type":"string","description":"Name of the RD set; this is used as a label\nto reference the set in match conditions. (leaf)","format":"string","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}},"$$ref":"#/components/schemas/data_cisco-l2vpn-routing-policy_l2vpn-routing-policy_defined-sets_rd-sets_rd-set_rd-set-name"}}},"required":true},"responses":{"204":{"description":"list rd-set updated","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":"rd-set","__originalOperationId":"data_cisco_l2vpn_routing_policy_l2vpn_routing_policy_defined_sets_rd_sets_rd_set_rd_set_name_patch","method":"patch","path":"/data/cisco-l2vpn-routing-policy:l2vpn-routing-policy/defined-sets/rd-sets/rd-set={rd-set-name}"}}