{"type":"api","title":"VPN service intent","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/7037e4f6-2555-341c-b61a-e6d0ba8c1ecd","info":{"title":"ietf-l2vpn-ntw","description":"This YANG module defines a network model for Layer 2 VPN\nservices.\n\nCopyright (c) 2022 IETF Trust and the persons identified as\nauthors of the code. All rights reserved.\n\nRedistribution and use in source and binary forms, with or\nwithout modification, is permitted pursuant to, and subject\nto the license terms contained in, the Revised BSD License\nset forth in Section 4.c of the IETF Trust's Legal Provisions\nRelating to IETF Documents\n(https://trustee.ietf.org/license-info).\n\nThis version of this YANG module is part of RFC 9291; see\nthe RFC itself for full legal notices.","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/ietf-l2vpn-ntw-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":"VPN service intent.","description":"VPN service intent.","operationId":"data_ietf_l2vpn_ntw_l2vpn_ntw_vpn_services_vpn_service_vpn_service_vpn_id_get","parameters":[{"name":"vpn-service-vpn-id","in":"path","description":"A VPN identifier that uniquely identifies a VPN.\nThis identifier has a local meaning, e.g., within\na service provider network.","required":true,"schema":{"type":"string","format":"string"}},{"name":"content","in":"query","description":"controlling descendant nodes in response","schema":{"type":"string","format":"enumeration","default":"config","enum":["config","nonconfig","all"]}},{"name":"depth","in":"query","description":"limit the depth of nodes in response","schema":{"type":"integer","format":"uint16"}},{"name":"fields","in":"query","description":"optionally identify specific data nodes in response","schema":{"type":"string","format":"string"}},{"name":"filter","in":"query","description":"xpath expression to filter data nodes in response","schema":{"type":"string","format":"string"}},{"name":"with-defaults","in":"query","description":"controlling default values in response","schema":{"type":"string","format":"enumeration","default":"report-all","enum":["report-all","trim","explicit","report-all-tagged"]}}],"responses":{"200":{"description":"VPN service intent.","content":{"application/yang-data+json":{"schema":{"type":"object","properties":{"ietf-l2vpn-ntw:vpn-service":{"type":"array","description":"Container of a VPN service. (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:custom-template":{"type":"array","description":"Custom templates to apply when device is ready (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:iteration":{"type":"array","description":"Apply custom template multiple times with iteration (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:number":{"type":"integer","description":"\u003c1-65535\u003e;;Iteration number (leaf)","format":"uint16","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:variable":{"type":"array","description":"Variables to bind when applying template in iteration (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:value":{"type":"string","description":"Value of template variable (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:name":{"type":"string","description":"Name of template variable (leaf)","format":"string","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}}},"x-yang":{"type":"list"}},"cisco-l2vpn-ntw:variable":{"type":"array","description":"Variables to bind when applying template one time (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:value":{"type":"string","description":"Value of template variable (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:name":{"type":"string","description":"Name of template variable (leaf)","format":"string","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}},"cisco-l2vpn-ntw:name":{"type":"string","description":"Name of template to apply (leaf)","format":"leafref","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}},"vpn-service-topology":{"type":"string","description":"Defines service topology such as\nany-to-any, hub-spoke, etc. (leaf)","format":"identityref","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:bridge-group":{"type":"string","description":"Bridge-group is mandatory if vpn-type = mpls-evpn (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:auto-evi-id":{"type":"string","description":"Auto allocate Local EVI Id (leaf)","format":"[null]","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:auto-evi-source":{"type":"string","description":"Auto allocate Local ACI Id (leaf)","format":"[null]","x-yang":{"type":"leaf"}},"vpn-id":{"type":"string","description":"A VPN identifier that uniquely identifies a VPN.\nThis identifier has a local meaning, e.g., within\na service provider network. (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:auto-evi-target":{"type":"string","description":"Auto allocate Remote ACI Id (leaf)","format":"[null]","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:vpn-target":{"type":"object","properties":{"cisco-l2vpn-ntw:auto-hub-rt":{"type":"string","description":"Auto allocate hub rt (leaf)","format":"[null]","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:auto-spoke-rt":{"type":"string","description":"Auto allocate spoke rt (leaf)","format":"[null]","x-yang":{"type":"leaf"}}},"description":"VPN Target (presence)","x-yang":{"is_presence":"true","type":"container"}},"vpn-nodes":{"type":"object","properties":{"vpn-node":{"type":"array","description":"Container of the VPN nodes. (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:custom-template":{"type":"array","description":"Custom templates to apply when device is ready (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:iteration":{"type":"array","description":"Apply custom template multiple times with iteration (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:number":{"type":"integer","description":"\u003c1-65535\u003e;;Iteration number (leaf)","format":"uint16","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:variable":{"type":"array","description":"Variables to bind when applying template in iteration (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:value":{"type":"string","description":"Value of template variable (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:name":{"type":"string","description":"Name of template variable (leaf)","format":"string","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}}},"x-yang":{"type":"list"}},"cisco-l2vpn-ntw:variable":{"type":"array","description":"Variables to bind when applying template one time (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:value":{"type":"string","description":"Value of template variable (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:name":{"type":"string","description":"Name of template variable (leaf)","format":"string","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}},"cisco-l2vpn-ntw:name":{"type":"string","description":"Name of template to apply (leaf)","format":"leafref","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}},"vpn-node-id":{"type":"string","description":"Sets the identifier of the VPN node. (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:te-service-mapping":{"type":"object","properties":{"cisco-l2vpn-ntw:te-mapping":{"type":"object","properties":{"cisco-l2vpn-ntw:sr-policy":{"type":"object","properties":{"cisco-l2vpn-ntw:fallback":{"type":"string","description":"Fallback option for preferred path (leaf)","format":"enumeration","default":"disable","enum":["disable"],"x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:policy":{"type":"string","description":"Name of SR TE policy (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:policy-type":{"type":"string","description":"(leaf)","format":"enumeration","default":"policy","enum":["policy","cs-policy"],"x-yang":{"type":"leaf"}}},"description":"SR Policy for TE mapping.\nL2VPN association with SRv6-TE (SR Policy and ODN) is not supported for this release (presence)","x-yang":{"is_presence":"true","type":"container"}}},"description":"TE Service Mapping (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"cisco-l2vpn-ntw:srv6":{"type":"object","properties":{"cisco-l2vpn-ntw:locator":{"type":"string","description":"SRv6 locator name (1-58 chars) at individual evi service level,\nleave it empty if evi or global level locator is used. Special characters are not allowed. (leaf)","format":"string","x-yang":{"type":"leaf"}}},"description":"SRv6 Options (presence)","x-yang":{"is_presence":"true","type":"container"}}},"description":"Mapping of this service to an optional Traffic Engineered path (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"role":{"type":"string","description":"Role of the VPN node in the VPN. (leaf)","format":"identityref","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:multi-home":{"type":"object","properties":{"cisco-l2vpn-ntw:ethernet-segment-identifier":{"type":"string","description":"\u003c0-ff\u003e 9-octet ESI value. 00.00.00.00.00.00.00.00.00 is not allowed (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:spoke-multi-homed":{"type":"string","description":"Enable multi-homing for spoke vpn-node (leaf)","format":"[null]","x-yang":{"type":"leaf"}}},"description":"(presence)","x-yang":{"is_presence":"true","type":"container"}},"signaling-option":{"type":"object","properties":{"evpn-policies":{"type":"object","properties":{"cisco-l2vpn-ntw:vpn-policies":{"type":"object","properties":{"cisco-l2vpn-ntw:export-policy":{"type":"string","description":"Identifies the export policy. (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:import-policy":{"type":"string","description":"Identifies the import policy. (leaf)","format":"string","x-yang":{"type":"leaf"}}},"description":"VPN service policies. 'vpn-policies' contains references\nto the import and export policies to be associated with\nthe VPN service. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"mac-learning-mode":{"type":"string","description":"Indicates through which plane MAC\naddresses are advertised. (leaf)","format":"identityref","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:vpn-target":{"type":"array","description":"RTs. AND/OR operations may be defined based on the\nassigned RTs. (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:route-target-type":{"type":"string","description":"Import/export type of the RT. (leaf)","format":"enumeration","default":"import","enum":["import","export","both"],"x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:route-targets":{"type":"array","description":"List of RTs. (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:route-target":{"type":"string","description":"Conveys an RT value. (leaf)","format":"string","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}},"cisco-l2vpn-ntw:id":{"type":"integer","description":"Identifies each VPN target. (leaf)","format":"byte","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}},"description":"Includes a set of EVPN policies such\nas those related to handling MAC\naddresses. (non-presence)","x-yang":{"is_presence":"false","type":"container"}}},"description":"Container for the L2VPN signaling. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"vpn-network-accesses":{"type":"object","properties":{"vpn-network-access":{"type":"array","description":"List of VPN network accesses. (list)","items":{"type":"object","properties":{"ethernet-service-oam":{"type":"object","properties":{"y-1731":{"type":"array","description":"List of configured Y-1731 instances. (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:y-1731-profile":{"type":"array","description":"L2NM Y-1731 profile. (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:schedule":{"type":"object","properties":{"cisco-l2vpn-ntw:duration":{"type":"string","description":"\u003c1-1440\u003e Duration of operations expressed in minutes.\nThe 'forever' option will try to schedule infinitely if supported; otherwise,\nmaximum number of allowed minutes will be used (leaf)","format":"union","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:interval":{"type":"integer","description":"\u003c1|2|3|4|5|6|8|9|10|12|15|16|18|20|24|30|32|36|40|45|48|60|80|90\u003e\nInterval between operations expressed in minute. Must be a factor of 1440.\nOnly applicable for Cisco XR devices. (leaf)","format":"byte","x-yang":{"type":"leaf"}}},"description":"Schedule Parameters (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"cisco-l2vpn-ntw:name":{"type":"string","description":"References L2NM y-1731-profile definition (leaf)","format":"leafref","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}},"mep-id":{"type":"integer","description":"Local MEP ID. (leaf)","format":"uint32","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:id-type":{"type":"string","description":"SMAN ID Type (leaf)","format":"enumeration","default":"icc-based","enum":["icc-based","number"],"x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:sman-id-allocation-data":{"type":"object","properties":{"cisco-l2vpn-ntw:icc-based-id":{"type":"string","description":"icc-based SMAN ID allocated by resource-manager id-allocator (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:number-id":{"type":"string","description":"number SMAN ID allocated by resource-manager id-allocator (leaf)","format":"string","x-yang":{"type":"leaf"}}},"description":"SMAN ID resource allocations (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"maid":{"type":"string","description":"MAID. (leaf)","format":"string","x-yang":{"type":"leaf"}},"message-period":{"type":"integer","description":"Defines the interval between OAM messages. (leaf)","format":"uint32","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}},"md-level":{"type":"integer","description":"Maintenance domain level. (leaf)","format":"byte","x-yang":{"type":"leaf"}},"md-name":{"type":"string","description":"Maintenance domain name. (leaf)","format":"string","x-yang":{"type":"leaf"}}},"description":"Container for Ethernet service OAM. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"service":{"type":"object","properties":{"qos":{"type":"object","properties":{"qos-profile":{"type":"object","properties":{"qos-profile":{"type":"array","description":"QoS profile.\nCan be a standard or customized\nprofile. (list)","items":{"type":"object","properties":{"profile":{"type":"string","description":"QoS profile to be used. (leaf)","format":"leafref","x-yang":{"type":"leaf"}},"direction":{"type":"string","description":"The direction to which the QoS profile\nis applied. (leaf)","format":"identityref","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}},"description":"QoS profile configuration. (non-presence)","x-yang":{"is_presence":"false","type":"container"}}},"description":"QoS configuration. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"mtu":{"type":"integer","description":"Layer 2 MTU; it is also known as the maximum\ntransmission unit or maximum frame size. (leaf)","format":"uint32","x-yang":{"type":"leaf"}}},"description":"Container for service (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"description":{"type":"string","description":"A textual description of the VPN network access. (leaf)","format":"string","x-yang":{"type":"leaf"}},"connection":{"type":"object","properties":{"encapsulation":{"type":"object","properties":{"dot1q":{"type":"object","properties":{"cvlan-id":{"type":"integer","description":"VLAN identifier. (leaf)","format":"uint16","x-yang":{"type":"leaf"}},"tag-operations":{"type":"object","properties":{"pop":{"type":"string","description":"Pop the outer tag. (leaf)","format":"[null]","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:mode":{"type":"string","description":"(leaf)","format":"enumeration","default":"symmetric","enum":["symmetric"],"x-yang":{"type":"leaf"}},"tag-1":{"type":"integer","description":"A first tag to be used for push or\ntranslate operations. This tag will be\nused as the outermost tag as a result\nof the tag operation. (leaf)","format":"uint16","x-yang":{"type":"leaf"}}},"description":"Sets the tag manipulation policy for this\nVPN network access. It defines a set of\ntag manipulations that allow for the\ninsertion, removal, or rewriting\nof 802.1Q VLAN tags. These operations are\nindicated for the CE-PE direction.\nBy default, tag operations are symmetric.\nAs such, the reverse tag operation is\nassumed on the PE-CE direction. (non-presence)","x-yang":{"is_presence":"false","type":"container"}}},"description":"Tagged interface. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"encap-type":{"type":"string","description":"Tagged interface type. By default, the\ntype of the tagged interface is\n'priority-tagged'. (leaf)","format":"identityref","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:untagged":{"type":"object","properties":{"cisco-l2vpn-ntw:tag-operations":{"type":"object","properties":{"cisco-l2vpn-ntw:tag-1":{"type":"integer","description":"A first tag to be used for push or\ntranslate operations. This tag will be\nused as the outermost tag as a result\nof the tag operation. (leaf)","format":"uint16","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:mode":{"type":"string","description":"(leaf)","format":"enumeration","default":"symmetric","enum":["symmetric"],"x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:push":{"type":"string","description":"Push one tag defined by the\ntag-1 leaf. It is\nassumed that, absent any policy, the\ndefault value of 0 will be used for\nPCP setting. (leaf)","format":"[null]","x-yang":{"type":"leaf"}}},"description":"Sets the tag manipulation policy for this\nVPN network access. It defines a set of\ntag manipulations that allow for the\ninsertion, removal, or rewriting\nof 802.1Q VLAN tags. These operations are\nindicated for the CE-PE direction.\nBy default, tag operations are symmetric.\nAs such, the reverse tag operation is\nassumed on the PE-CE direction. (non-presence)","x-yang":{"is_presence":"false","type":"container"}}},"description":"Container for untagged Interface (non-presence)","x-yang":{"is_presence":"false","type":"container"}}},"description":"Container for Layer 2 encapsulation. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"lag-interface":{"type":"object","properties":{"split-horizon":{"type":"object","properties":{"cisco-l2vpn-ntw:enable":{"type":"string","description":"Enable split horizon (leaf)","format":"boolean","x-yang":{"type":"leaf"}}},"description":"Configuration with Split Horizon enabled. (non-presence)","x-yang":{"is_presence":"false","type":"container"}}},"description":"Container of LAG interface attributes\nconfiguration. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"l2-termination-point":{"type":"string","description":"Specifies a reference to a local Layer 2\ntermination point such as a Layer 2\nsub-interface. (leaf)","format":"string","x-yang":{"type":"leaf"}}},"description":"Container for the bearer and AC. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"id":{"type":"string","description":"Identifier of the network access. (leaf)","format":"string","x-yang":{"type":"leaf"}},"interface-id":{"type":"string","description":"Refers to a physical or logical interface. (leaf)","format":"string","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}},"description":"Main container for VPN network accesses. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"cisco-l2vpn-ntw:control-word-disable":{"type":"string","description":"Disabling control-word (leaf)","format":"boolean","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}},"description":"Set of VPN nodes that are involved in the L2NM. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"vpn-type":{"type":"string","description":"Service type. (leaf)","format":"identityref","x-yang":{"type":"leaf"}},"underlay-transport":{"type":"object","properties":{"cisco-l2vpn-ntw:discovered-underlay-transport":{"type":"object","properties":{"cisco-l2vpn-ntw:te-tunnel-ref":{"type":"array","description":"List of rsvp-te tunnels (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:tunnel-id":{"type":"string","description":"TE tunnel Identifier (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:destination":{"type":"string","description":"TE tunnel Destination IP (leaf)","format":"union","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:source":{"type":"string","description":"TE tunnel Source IP (leaf)","format":"union","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}},"cisco-l2vpn-ntw:sr-policy-ref":{"type":"array","description":"List of sr-policies (static or dynamically created) (list)","items":{"type":"object","properties":{"cisco-l2vpn-ntw:endpoint":{"type":"string","description":"SR policy Endopint IP (leaf)","format":"union","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:headend":{"type":"string","description":"SR policy Headend Device ID (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:color":{"type":"integer","description":"\u003c1-4294967295\u003e - SR policy color (leaf)","format":"uint32","x-yang":{"type":"leaf"}}}},"x-yang":{"type":"list"}}},"description":"HCO service to underlay transport mapping (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"instance-type":{"type":"string","description":"Indicates a transport instance type. For example,\nit can be a VPN+, an IETF network slice, a virtual\nnetwork, etc. (leaf)","format":"identityref","x-yang":{"type":"leaf"}},"transport-instance-id":{"type":"string","description":"An optional identifier of the abstract transport\ninstance. (leaf)","format":"string","x-yang":{"type":"leaf"}}},"description":"Container for the underlay transport. (non-presence)","x-yang":{"is_presence":"false","type":"container"}},"cisco-l2vpn-ntw:control-word":{"type":"string","description":"Control Word (leaf)","format":"enumeration","default":"yes","enum":["yes","no"],"x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:service-assurance":{"type":"object","properties":{"cisco-l2vpn-ntw:profile-name":{"type":"string","description":"Please input profile name in following format: '\u003cprofile-name\u003e (custom|system)'\n The possible profile names for system are: Gold_L2VPN_ConfigProfile, Gold_L3VPN_ConfigProfile, Silver_L2VPN_ConfigProfile, Silver_L3VPN_ConfigProfile. (leaf)","format":"string","x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:preservation":{"type":"string","description":"Preserve/Remove all assurance related historical data after stop monitoring (leaf)","format":"enumeration","default":"remove","enum":["remove","preserve"],"x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:monitoring-state":{"type":"string","description":"To enable, disable or pause the service assurance monitoring (leaf)","format":"enumeration","default":"disable","enum":["disable","enable","pause"],"x-yang":{"type":"leaf"}},"cisco-l2vpn-ntw:rule-name":{"type":"string","description":"Please input rule name in following format: '\u003crule-name\u003e (custom|system)'\n The possible rule names for system are: Rule-L2VPN-NM, Rule-L2VPN-NM-Basic, Rule-L2VPN-NM-P2P, Rule-L2VPN-NM-P2P-Basic, Rule-L2VPN-MP, Rule-L2VPN-MP-Basic, Rule-L3VPN-NM, Rule-L3VPN-NM-Basic. (leaf)","format":"string","x-yang":{"type":"leaf"}}},"description":"Service Assurance configuration (presence)","x-yang":{"is_presence":"true","type":"container"}},"status":{"type":"object","properties":{"oper-status":{"type":"object","properties":{"last-change":{"type":"string","description":"Indicates the actual date and time of the service status\nchange. (leaf)","format":"string","x-yang":{"type":"leaf"}},"status":{"type":"string","description":"Operational status. (leaf)","format":"identityref","x-yang":{"type":"leaf"}}},"description":"Operational service status. (non-presence)","x-yang":{"is_presence":"false","type":"container"}}},"description":"Service status. (non-presence)","x-yang":{"is_presence":"false","type":"container"}}}},"x-yang":{"type":"list"}}},"$$ref":"#/components/schemas/data_ietf-l2vpn-ntw_l2vpn-ntw_vpn-services_vpn-service_vpn-service-vpn-id"}}}},"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":[]}],"__originalOperationId":"data_ietf_l2vpn_ntw_l2vpn_ntw_vpn_services_vpn_service_vpn_service_vpn_id_get","method":"get","path":"/data/ietf-l2vpn-ntw:l2vpn-ntw/vpn-services/vpn-service={vpn-service-vpn-id}"}}