{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/be128e3b-6165-3762-8557-6dddf00e66ea","info":{"title":"ietf-l2vpn-ntw - operational data","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":"Operational data","description":"Operational data resources"}],"x-parser-conf":{"overview":{"markdownPath":"reference/CNC/ietf-l2vpn-ntw-oper-data-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":{"type":"object","properties":{"ietf-l2vpn-ntw:vpn-service":{"type":"array","description":"Container of a VPN service. (list)","items":{"type":"object","properties":{"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"}},"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"}}},"description":"Container for the underlay transport. (non-presence)","x-yang":{"is_presence":"false","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","title":"data_ietf-l2vpn-ntw_l2vpn-ntw_vpn-services_vpn-service_vpn-service-vpn-id"}}