netconfcentral logo

ietf-l2vpn-svc

HTML

ietf-l2vpn-svc@2018-04-03



  module ietf-l2vpn-svc {

    yang-version 1.1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-l2vpn-svc";

    prefix l2vpn-svc;

    import ietf-inet-types {
      prefix inet;
    }
    import ietf-yang-types {
      prefix yang;
    }
    import ietf-netconf-acm {
      prefix nacm;
    }

    organization "IETF L2SM Working Group.";

    contact
      "WG List: l2sm@ietf.org
     Editor: giuseppe.fioccola@telecomitalia.it";

    description
      "The YANG module defines a generic service configuration
     model for Layer 2 VPN services common across all of the
     vendor implementations.";

    revision "2018-04-03" {
      description "Initial revision";
      reference
        "RFC xxxx: A YANG Data Model for L2VPN Service
        Delivery.";

    }


    feature carrierscarrier {
      description "Enables support of CsC.";
    }

    feature ethernet-oam {
      description
        "Enables support of ethernet OAM.";
    }

    feature extranet-vpn {
      description
        "Enable the Support of Extranet VPN.";
    }

    feature l2cp-control {
      description
        "Enable the Support of L2CP control.";
    }

    feature input-bw {
      description
        "Enable the suppport of Input Bandwidth in a VPN.";
    }

    feature output-bw {
      description
        "Enable the support of Output Bandwidth in a VPN";
    }

    feature uni-list {
      description
        "Enable the support of UNI list in a VPN.";
    }

    feature cloud-access {
      description
        "Allow VPN to connect to a Cloud Service
       provider or an internet service provider.";
    }

    feature oam-3ah {
      description
        "Enables the support of OAM 802.3ah.";
    }

    feature micro-bfd {
      description
        "Enables the support of Micro-BFD.";
    }

    feature bfd {
      description
        "Enables the support of BFD.";
    }

    feature signaling-options {
      description
        "Enable the support of signaling option.";
    }

    feature site-diversity {
      description
        "Enables the support of site diversity constraints in a VPN.";
    }

    feature encryption {
      description
        "Enables support of encryption.";
    }

    feature always-on {
      description
        "Enables support for always-on access
       constraint.";
    }

    feature requested-type {
      description
        "Enables support for requested-type access
       constraint.";
    }

    feature bearer-reference {
      description
        "Enables support for bearer-reference access
       constraint.";
    }

    feature qos {
      description
        "Enables support of Class of Services.";
    }

    feature qos-custom {
      description
        "Enables support of custom qos profile.";
    }

    feature lag-interface {
      description "Enable lag-interface.";
    }

    feature vlan {
      description
        "Enable the support of VLAN.";
    }

    feature dot1q {
      description
        "Enable the support of Dot1Q.";
    }

    feature sub-inf {
      description
        "Enable the support of Sub Interface.";
    }

    feature qinq {
      description
        "Enable the support of QinQ.";
    }

    feature qinany {
      description
        "Enable the support of QinAny.";
    }

    feature vxlan {
      description
        "Enable the support of VxLAN.";
    }

    feature lan-tag {
      description
        "Enables LAN Tag support in a VPN.";
    }

    feature target-sites {
      description
        "Enables support of the 'target-sites' match flow parameter.";
    }

    feature bum {
      description
        "Enables broadcast,unknown-unicast,multicast
       capabilities in a VPN.";
    }

    feature mac-loop-prevention {
      description
        "Enables MAC Loop prevention capability in a VPN.";
    }

    feature lacp {
      description
        " Enables LACP capability in a VPN. ";
    }

    feature mac-addr-limit {
      description
        "Enables MAC Address Limit capability in a VPN.";
    }

    feature acl {
      description
        "Enables ACL capability in a VPN. ";
    }

    feature cfm {
      description
        "Enables cfm 802.1 ag capability in a VPN.";
    }

    feature y-1731 {
      description
        "Enable Y.1731 capability in a VPN.";
    }

    typedef svc-id {
      type string;
      description
        "Defines a type of service component identifier.";
    }

    typedef ccm-priority-type {
      type uint8 {
        range "0..7";
      }
      description
        "A 3 bits priority value to be used in the VLAN tag,
       if present in the transmitted frame.";
    }

    typedef control-mode {
      type enumeration {
        enum "peer" {
          value 0;
          description
            "Peer mode, i.e., participate in the protocol towards the CE.
           Peering is common for LACP  and E-LMI and occasionally
           for LLDP. For virtual private services the Subscriber
           can also request that the Service Provider peer
           spanning tree.";
        }
        enum "tunnel" {
          value 1;
          description
            "Tunnel mode,i.e.,pass to the egress or destination site.
           For EPL, the expectation is that L2CP frames are tunneled.";
        }
        enum "discard" {
          value 2;
          description
            "Discard mode,i.e.,discard the frame.";
        }
      }
      description
        "Defining a type of the control mode on L2CP protocols.";
    }

    typedef neg-mode {
      type enumeration {
        enum "full-duplex" {
          value 0;
          description
            "Defining Full duplex mode";
        }
        enum "auto-neg" {
          value 1;
          description
            "Defining Auto negotiation mode";
        }
      }
      description
        "Defining a type of the negotiation mode";
    }

    identity site-network-access-type {
      base 
      description
        "Base identity for site-network-access type.";
    }

    identity point-to-point {
      base site-network-access-type;
      description
        "Identity for point-to-point connection.";
    }

    identity multipoint {
      base site-network-access-type;
      description
        "Identity for multipoint connection.
       Example: Ethernet broadcast segment.";
    }

    identity tag-type {
      base 
      description
        "Base identity from which all tag types
       are derived from";
    }

    identity c-vlan {
      base tag-type;
      description
        "A Customer-VLAN tag, normally using the 0x8100
       Ethertype";
    }

    identity s-vlan {
      base tag-type;
      description "A Service-VLAN tag.";
    }

    identity c-s-vlan {
      base tag-type;
      description
        "Using both Customer-VLAN tag and Service-VLAN tag.";
    }

    identity multicast-tree-type {
      base 
      description
        "Base identity for multicast tree type.";
    }

    identity ssm-tree-type {
      base multicast-tree-type;
      description
        "Identity for SSM tree type.";
    }

    identity asm-tree-type {
      base multicast-tree-type;
      description
        "Identity for ASM tree type.";
    }

    identity bidir-tree-type {
      base multicast-tree-type;
      description
        "Identity for bidirectional tree type.";
    }

    identity mapping-type {
      base 
      description "Identity mapping-type";
    }

    identity static-mapping {
      base mapping-type;
      description
        "Identity for static mapping, i.e.,attach the interface
       to the Multicast group as static member";
    }

    identity dynamic-mapping {
      base mapping-type;
      description
        "Identity for dynamic mapping, i.e.,interface was added
       to the Multicast group as a result of snooping";
    }

    identity tf-type {
      base 
      description "Identity traffic-type";
    }

    identity multicast-traffic {
      base tf-type;
      description
        "Identity for multicast traffic";
    }

    identity broadcast-traffic {
      base tf-type;
      description
        "Identity for broadcast traffic";
    }

    identity unknown-unicast-traffic {
      base tf-type;
      description
        "Identity for unknown unicast traffic";
    }

    identity encapsulation-type {
      base 
      description
        "Identity for encapsulation type";
    }

    identity ethernet {
      base encapsulation-type;
      description
        "Identity for ethernet type";
    }

    identity vlan {
      base encapsulation-type;
      description "Identity for VLAN  type";
    }

    identity carrierscarrier-type {
      base 
      description
        "Identity of carrierscarrier";
    }

    identity ldp {
      base carrierscarrier-type;
      description
        "Use LDP as the signalling protocol
       between the PE and the CE.";
    }

    identity bgp {
      base carrierscarrier-type;
      description
        "Use BGP (as per RFC 3107) as the signalling protocol
       between the PE and the CE.
       In this case, BGP must also be configured as
       the routing protocol.";
    }

    identity eth-inf-type {
      base 
      description
        "Identity of Ethernet Interface Type.";
    }

    identity tagged {
      base eth-inf-type;
      description
        "Identity of tagged Interface type.";
    }

    identity untagged {
      base eth-inf-type;
      description
        "Identity of untagged Interface type.";
    }

    identity lag {
      base eth-inf-type;
      description
        "Identity of LAG Interface type";
    }

    identity bw-type {
      base 
      description "Identity of bandwidth";
    }

    identity bw-per-cos {
      base bw-type;
      description "Bandwidth is per cos";
    }

    identity bw-per-port {
      base bw-type;
      description
        "Bandwidth is per site network access";
    }

    identity bw-per-site {
      base bw-type;
      description
        "Bandwidth is per site. It is applicable to
       all the site network accesses within the site.";
    }

    identity bw-per-svc {
      base bw-type;
      description
        "Bandwidth is per VPN service";
    }

    identity site-vpn-flavor {
      base 
      description
        "Base identity for the site VPN service flavor.";
    }

    identity site-vpn-flavor-single {
      base site-vpn-flavor;
      description
        "Identity for the site VPN service flavor.
       Used when the site belongs to only one VPN.";
    }

    identity site-vpn-flavor-multi {
      base site-vpn-flavor;
      description
        "Identity for the site VPN service flavor.
       Used when a logical connection of a site
       belongs to multiple VPNs.";
    }

    identity site-vpn-flavor-nni {
      base site-vpn-flavor;
      description
        "Identity for the site VPN service flavor.
       Used to describe an NNI option A connection.";
    }

    identity service-type {
      base 
      description
        "Base Identity of service type.";
    }

    identity vpws {
      base service-type;
      description
        "point-to-point Virtual Private Wire Services(VPWS) type.";
    }

    identity pwe3 {
      base service-type;
      description
        "Pseudo-Wire Emulation Edge to
       Edge(PWE3)Service type. .";
    }

    identity ldp-l2tp-vpls {
      base service-type;
      description
        "LDP based or L2TP based multipoint Virtual Private LAN
       services (VPLS) Service Type.This VPLS uses LDP-signaled
       Pseudowires or L2TP signaled Pseudowires.";
    }

    identity bgp-vpls {
      base service-type;
      description
        "BGP based multipoint Virtual Private LAN services (VPLS)
       Service Type. This VPLS uses a Border Gateway Protocol
       (BGP) control plane as described in RFC4761 and RFC6624.";
    }

    identity vpws-evpn {
      base service-type;
      description
        "VPWS Service Type using Ethernet VPN(EVPN)
      specified in RFC 7432.";
    }

    identity pbb-evpn {
      base service-type;
      description
        "PBB Service Type using Ethernet VPN(EVPN)
      specified in RFC 7432.";
    }

    identity bundling-type {
      base 
      description
        "This is base identity for Bundling type. It supports
       multiple CE-VLAN associated with L2VPN service or
       all CE-VLANs associated with L2VPN service.";
    }

    identity multi-svc-bundling {
      base bundling-type;
      description
        "Identity for multiple service bundling,i.e.,
       multiple CE-VLAN IDs can be associated with an
       L2VPN Service at site.";
    }

    identity one2one-bundling {
      base bundling-type;
      description
        "Identity for one to one service bundling,i.e.,
       Each L2VPN can be associated with only one CE-VLAN IDs
       at site.";
    }

    identity all2one-bundling {
      base bundling-type;
      description
        "Identity for all to one bundling,i.e.,all CE-VLAN IDs
       are mapped to one L2VPN Service";
    }

    identity color-id {
      base 
      description
        "base identity of color id";
    }

    identity color-id-cvlan {
      base color-id;
      description
        "Identity of color id base on  CVLAN ";
    }

    identity cos-id {
      base 
      description
        "Identity of class of service id";
    }

    identity cos-id-pcp {
      base cos-id;
      description
        "Identity of cos id based on  PCP";
    }

    identity cos-id-dscp {
      base cos-id;
      description
        "Identity of cos id based on  DSCP";
    }

    identity color-type {
      base 
      description "Identity of color types";
    }

    identity green {
      base color-type;
      description "Identity of green type";
    }

    identity yellow {
      base color-type;
      description "Identity of yellow type";
    }

    identity red {
      base color-type;
      description "Identity of red type";
    }

    identity policing {
      base 
      description
        "Identity of policing type";
    }

    identity one-rate-two-color {
      base policing;
      description
        "Identity of one-rate, two-color (1R2C).";
    }

    identity two-rate-three-color {
      base policing;
      description
        "Identity of two-rate, three-color (2R3C).";
    }

    identity bum-type {
      base 
      description "Identity of BUM type.";
    }

    identity broadcast {
      base bum-type;
      description "Identity of broadcast.";
    }

    identity unicast {
      base bum-type;
      description "Identity of unicast";
    }

    identity multicast {
      base bum-type;
      description "Identity of multicast.";
    }

    identity loop-prevention-type {
      base 
      description
        "Identity of loop prevention.";
    }

    identity shut {
      base loop-prevention-type;
      description
        "Identity of shut protection.";
    }

    identity trap {
      base loop-prevention-type;
      description
        "Identity of trap protection.";
    }

    identity lacp-state {
      base 
      description "Identity of LACP state.";
    }

    identity lacp-on {
      base lacp-state;
      description "Identity of LCAP on.";
    }

    identity lacp-off {
      base lacp-state;
      description "Identity of LACP off";
    }

    identity lacp-mode {
      base 
      description "Identity of LACP mode";
    }

    identity lacp-passive {
      base lacp-mode;
      description "Identity of LACP passive";
    }

    identity lacp-active {
      base lacp-mode;
      description "Identity of LACP active";
    }

    identity lacp-speed {
      base 
      description "Identity of LACP speed";
    }

    identity lacp-fast {
      base lacp-speed;
      description "Identity of LACP fast";
    }

    identity lacp-slow {
      base lacp-speed;
      description "Identity of LACP slow";
    }

    identity bw-direction {
      base 
      description
        "Identity for bandwidth direction";
    }

    identity input-bw {
      base bw-direction;
      description
        "Identity for input bandwidth";
    }

    identity output-bw {
      base bw-direction;
      description
        "Identity for output bandwidth";
    }

    identity management {
      base 
      description
        "Base identity for site management scheme.";
    }

    identity co-managed {
      base management;
      description
        "Identity for co-managed site.";
    }

    identity customer-managed {
      base management;
      description
        "Identity for customer managed site.";
    }

    identity provider-managed {
      base management;
      description
        "Identity for provider managed site.";
    }

    identity address-family {
      base 
      description
        "Identity for an address family.";
    }

    identity ipv4 {
      base address-family;
      description
        "Identity for IPv4 address family.";
    }

    identity ipv6 {
      base address-family;
      description
        "Identity for IPv6 address family.";
    }

    identity vpn-topology {
      base 
      description
        "Base identity for VPN topology.";
    }

    identity any-to-any {
      base vpn-topology;
      description
        "Identity for any to any VPN topology.";
    }

    identity hub-spoke {
      base vpn-topology;
      description
        "Identity for Hub'n'Spoke VPN topology.";
    }

    identity hub-spoke-disjoint {
      base vpn-topology;
      description
        "Identity for Hub'n'Spoke VPN topology
       where Hubs cannot talk between each other.";
    }

    identity site-role {
      base 
      description
        "Base identity for site type.";
    }

    identity any-to-any-role {
      base site-role;
      description
        "Site in an any to any L2VPN.";
    }

    identity spoke-role {
      base site-role;
      description
        "Spoke Site in a Hub-and-Spoke L2VPN.";
    }

    identity hub-role {
      base site-role;
      description
        "Hub Site in a Hub-and-Spoke L2VPN.";
    }

    identity pm-type {
      base 
      description "Performance monitor type";
    }

    identity loss {
      base pm-type;
      description "Loss measurement";
    }

    identity delay {
      base pm-type;
      description "Delay measurement";
    }

    identity fault-alarm-defect-type {
      base 
      description
        "Indicating the alarm priority defect";
    }

    identity remote-rdi {
      base fault-alarm-defect-type;
      description
        "Indicates the aggregate health
       of the remote MEPs.";
    }

    identity remote-mac-error {
      base fault-alarm-defect-type;
      description
        "Indicates that one or more of the remote MEPs is
       reporting a failure in its Port Status TLV or
       Interface Status TLV.";
    }

    identity remote-invalid-ccm {
      base fault-alarm-defect-type;
      description
        "Indicates that at least one of the Remote MEP
       state machines is not receiving valid CCMs
       from its remote MEP.";
    }

    identity invalid-ccm {
      base fault-alarm-defect-type;
      description
        "Indicates that one or more invalid CCMs has been
       received and that 3.5 times that CCMs transmission
       interval has not yet expired.";
    }

    identity cross-connect-ccm {
      base fault-alarm-defect-type;
      description
        "Indicates that one or more cross connect CCMs has been
       received and that 3.5 times of at least one of those
       CCMs transmission interval has not yet expired.";
    }

    identity frame-delivery-mode {
      base 
      description "Delivery types";
    }

    identity discard {
      base frame-delivery-mode;
      description
        "Service Frames are discarded.";
    }

    identity unconditional {
      base frame-delivery-mode;
      description
        "Service Frames are unconditionally
       delivered to the destination.";
    }

    identity unknown-discard {
      base frame-delivery-mode;
      description
        "Service Frame are conditionally
       delivered to the destination site and
       the packet with unknown destination address
       will be discarded.";
    }

    identity placement-diversity {
      base 
      description
        "Base identity for site placement
       constraints.";
    }

    identity bearer-diverse {
      base placement-diversity;
      description
        "Identity for bearer diversity.
       The bearers should not use common elements.";
    }

    identity pe-diverse {
      base placement-diversity;
      description
        "Identity for PE diversity";
    }

    identity pop-diverse {
      base placement-diversity;
      description
        "Identity for POP diversity";
    }

    identity linecard-diverse {
      base placement-diversity;
      description
        "Identity for linecard diversity";
    }

    identity same-pe {
      base placement-diversity;
      description
        "Identity for having sites connected
       on the same PE";
    }

    identity same-bearer {
      base placement-diversity;
      description
        "Identity for having sites connected
       using the same bearer";
    }

    identity tagged-inf-type {
      base 
      description
        "Identity for the tagged
       interface type.";
    }

    identity priority-tagged {
      base tagged-inf-type;
      description
        "This identity the priority-tagged interface.";
    }

    identity qinq {
      base tagged-inf-type;
      description
        "Identity for the qinq tagged interface.";
    }

    identity dot1q {
      base tagged-inf-type;
      description
        "Identity for dot1q vlan tagged interface.";
    }

    identity qinany {
      base tagged-inf-type;
      description
        "Identity for qinany tagged inteface.";
    }

    identity vxlan {
      base tagged-inf-type;
      description
        "Identity for vxlan tagged inteface.";
    }

    identity provision-model {
      base 
      description
        "base identity for provision model.";
    }

    identity single-side-provision {
      base 
      description
        "Identity for single side provisioning with discovery.";
    }

    identity doubled-side-provision {
      base 
      description
        "Identity for double side provisioning.";
    }

    identity mac-learning-mode {
      base 
      description "MAC learning mode";
    }

    identity data-plane {
      base mac-learning-mode;
      description
        "User MAC addresses are learned through ARP broadcast.";
    }

    identity control-plane {
      base mac-learning-mode;
      description
        "User MAC addresses are advertised through EVPN-BGP";
    }

    identity vpn-policy-filter-type {
      base 
      description
        "Base identity for filter type.";
    }

    identity lan {
      base vpn-policy-filter-type;
      description
        "Identity for lan tag filter type.";
    }

    identity mac-action {
      base 
      description
        "Base identity for MAC action.";
    }

    identity drop {
      base mac-action;
      description
        "Identity for packet drop.";
    }

    identity flood {
      base mac-action;
      description
        "Identity for packet flooding.";
    }

    identity warning {
      base mac-action;
      description
        "Identity for sending a warning log message.";
    }

    identity load-balance-method {
      base 
      description
        "Base identity for load balance method.";
    }

    identity fat-pw {
      base load-balance-method;
      description
        "Identity for Fat PW. Fat label is
       applied to Pseudowires across MPLS
       network.";
    }

    identity entropy-label {
      base load-balance-method;
      description
        "Identity for entropy label.Entropy label
       is applied to IP forwarding,
       L2VPN or L3VPN across MPLS network";
    }

    identity vxlan-source-port {
      base load-balance-method;
      description
        "Identity for vxlan source port.VxLAN
       Source Port is one load balancing method.";
    }

    identity qos-profile-direction {
      base 
      description
        "Base identity for qos profile direction.";
    }

    identity site-to-wan {
      base qos-profile-direction;
      description
        "Identity for Site to WAN direction.";
    }

    identity wan-to-site {
      base qos-profile-direction;
      description
        "Identity for WAN to Site direction.";
    }

    identity bidirectional {
      base qos-profile-direction;
      description
        "Identity for both WAN to Site direction
       and Site to WAN direction.";
    }

    identity vxlan-peer-mode {
      base 
      description
        "Base identity for vxlan peer mode.";
    }

    identity static-mode {
      base vxlan-peer-mode;
      description
        "Identity for the vxlan access in static mode.";
    }

    identity bgp-mode {
      base vxlan-peer-mode;
      description
        "Identity for the vxlan access by bgp evpn learning.";
    }

    identity customer-application {
      base 
      description
        "Base identity for customer application.";
    }

    identity web {
      base customer-application;
      description
        "Identity for Web application (e.g., HTTP, HTTPS).";
    }

    identity mail {
      base customer-application;
      description
        "Identity for mail application.";
    }

    identity file-transfer {
      base customer-application;
      description
        "Identity for file transfer application
      (e.g., FTP, SFTP).";
    }

    identity database {
      base customer-application;
      description
        "Identity for database application.";
    }

    identity social {
      base customer-application;
      description
        "Identity for social-network application.";
    }

    identity games {
      base customer-application;
      description
        "Identity for gaming application.";
    }

    identity p2p {
      base customer-application;
      description
        "Identity for peer-to-peer application.";
    }

    identity network-management {
      base customer-application;
      description
        "Identity for management application
       (e.g., Telnet, syslog, SNMP).";
    }

    identity voice {
      base customer-application;
      description
        "Identity for voice application.";
    }

    identity video {
      base customer-application;
      description
        "Identity for video conference application.";
    }

    identity embb {
      base customer-application;
      description
        "Identity for enhanced Mobile Broadband(eMBB)
       application. Note that eMBB application demands
       the network performance with wide variety of
       characteristics such as data rate, latency,
       loss rate, reliability and many other parameters.";
    }

    identity urllc {
      base customer-application;
      description
        "Identity for Ultra-Reliable and Low Latency
       Communications (URLLC) application. Note that
       URLLC application demands the network performance
       with wide variety of characteristics such as latency,
       reliability and many other parameters.";
    }

    identity mmtc {
      base customer-application;
      description
        "Identity for massive Machine Type
       Communications (mMTC) application. Note that
       mMTC application demands the network performance
       with wide variety of characteristics such as data
       rate, latency, loss rate, reliability and many
       other parameters.";
    }

    grouping site-acl {
      description
        "This grouping defines Access Control List.";
      container access-control-list {
        if-feature acl;
        description
          "Container for access control List.";
        list mac {
          key "mac-address";
          description "List for MAC.";
          leaf mac-address {
            type yang:mac-address;
            description "MAC address.";
          }
        }  // list mac
      }  // container access-control-list
    }  // grouping site-acl

    grouping site-bum {
      description
        "Grouping for broadcast, unknown unicast, and multicast.";
      container broadcast-unknown-unicast-multicast {
        if-feature bum;
        description
          "Container of broadcast, unknown unicast, and multicast
         configurations.";
        leaf multicast-site-type {
          type enumeration {
            enum "receiver-only" {
              value 0;
              description
                "The site only has receivers.";
            }
            enum "source-only" {
              value 1;
              description
                "The site only has sources.";
            }
            enum "source-receiver" {
              value 2;
              description
                "The site has both sources and receivers.";
            }
          }
          default "source-receiver";
          description
            "Type of multicast site.";
        }

        list multicast-gp-address-mapping {
          key "id";
          description
            "List of Port to group mappings.";
          leaf id {
            type uint16;
            description
              "Unique identifier for the mapping.";
          }

          leaf vlan-id {
            type uint16 {
              range "0..1024";
            }
            mandatory true;
            description
              "The VLAN ID of the Multicast group.
             The range of 12 bit VLAN ID is 0 to 1024.";
          }

          leaf mac-gp-address {
            type yang:mac-address;
            mandatory true;
            description
              "the MAC address of the Multicast group.";
          }

          leaf port-lag-number {
            type uint32;
            description
              "the ports/LAGs belonging to the Multicast group.";
          }
        }  // list multicast-gp-address-mapping

        leaf bum-overall-rate {
          type uint32;
          units "bps";
          description
            "overall rate for BUM.";
        }

        list bum-rate-per-type {
          key "type";
          description
            "List of rate per type.";
          leaf type {
            type identityref {
              base bum-type;
            }
            description "BUM type.";
          }

          leaf rate {
            type uint32;
            units "bps";
            description "rate for BUM.";
          }
        }  // list bum-rate-per-type
      }  // container broadcast-unknown-unicast-multicast
    }  // grouping site-bum

    grouping site-mac-loop-prevention {
      description
        "Grouping for MAC loop prevention.";
      container mac-loop-prevention {
        if-feature mac-loop-prevention;
        description
          "Container of MAC loop prevention.";
        leaf protection-type {
          type identityref {
            base loop-prevention-type;
          }
          default "trap";
          description
            "Protection type. By default, the protection
           type is trap protection type.";
        }

        leaf frequency {
          type uint32;
          default "5";
          description
            "The number of times to detect MAC duplication.
           When duplicate-MAC situation has occurred and the
           duplicated MAC is added into to a duplicate-MAC
           list. By default, the number of times is 5.";
        }

        leaf retry-timer {
          type uint32;
          units "seconds";
          description
            "The retry timer. When retry timer expires,
           the duplicated MAC will be flushed from
           the MAC-VRF. ";
        }
      }  // container mac-loop-prevention
    }  // grouping site-mac-loop-prevention

    grouping site-service-qos-profile {
      description
        "This grouping defines QoS parameters
       for a site";
      container qos {
        if-feature qos;
        description "QoS configuration.";
        container classification-policy {
          description
            "Configuration of the traffic classification policy.";
          list rule {
            key "id";
            ordered-by user;
            description
              "List of marking rules.";
            leaf id {
              type string;
              description
                "A description identifying qos classification
               policy rule.";
            }

            choice match-type {
              default "match-flow";
              description
                "Choice for classification";
              container match-flow {
                description
                  "Describe flow matching criteria.";
                leaf dscp {
                  type inet:dscp;
                  description "DSCP value.";
                }

                leaf dot1q {
                  type uint16;
                  description
                    "802.1q matching. It is VLAN Tag added into frame.";
                }

                leaf pcp {
                  type uint8 {
                    range "0 .. 7";
                  }
                  description "PCP value.";
                }

                leaf src-mac {
                  type yang:mac-address;
                  description "Source MAC";
                }

                leaf dst-mac {
                  type yang:mac-address;
                  description
                    "Destination MAC.";
                }

                leaf color-type {
                  type identityref {
                    base color-type;
                  }
                  description "Color Types.";
                }

                leaf-list target-sites {
                  if-feature target-sites;
                  type svc-id;
                  description
                    "Identify a site as traffic destination.";
                }

                leaf any {
                  type empty;
                  description "Allow all.";
                }

                leaf vpn-id {
                  type svc-id;
                  description
                    "Reference to the target VPN.";
                }
              }  // container match-flow
              leaf match-application {
                type identityref {
                  base customer-application;
                }
                description
                  "Defines the application to match.";
              }
            }  // choice match-type

            leaf target-class-id {
              type string;
              description
                "Identification of the class of service.
               This identifier is internal to the
               administration.";
            }
          }  // list rule
        }  // container classification-policy

        container qos-profile {
          description
            "Qos profile configuration.";
          choice qos-profile {
            description
              "Choice for QoS profile.
             Can be standard profile or customized profile.";
            case standard {
              description
                "Standard QoS profile.";
              leaf profile {
                type leafref {
                  path
                    "/l2vpn-svc/vpn-profiles/"
                      + "valid-provider-identifiers"
                      + "/qos-profile-identifier";
                }
                description
                  "QoS Profile to be used.";
              }
            }  // case standard

            case custom {
              description
                "Customized QoS profile.";
              container classes {
                if-feature qos-custom;
                description
                  "Container for list of class of services.";
                list class {
                  key "class-id";
                  description
                    "List of class of services.";
                  leaf class-id {
                    type string;
                    description
                      "Identification of the class of
                     service. This identifier is internal
                     to the administration.";
                  }

                  leaf direction {
                    type identityref {
                      base qos-profile-direction;
                    }
                    default "bidirectional";
                    description
                      "The direction which QoS profile is applied to.
                     By default,the direction is bidirectional.";
                  }

                  leaf policing {
                    type identityref {
                      base policing;
                    }
                    default
                      "one-rate-two-color";
                    description
                      "The policing can be either one-rate,
                     two-color (1R2C) or two-rate, three-color
                     (2R3C). By default, the policing is on rate
                     two color.";
                  }

                  leaf byte-offset {
                    type uint16;
                    description
                      "For not including extra VLAN tags in the QoS
                     calculation.";
                  }

                  container frame-delay {
                    description
                      "Delay constraint on the traffic
                     class.";
                    choice flavor {
                      description
                        "Delay constraint on the traffic
                       class.";
                      leaf use-lowest-latency {
                        type empty;
                        description
                          "The traffic class should use
                           the lowest delay path.";
                      }
                      leaf delay-bound {
                        type uint16;
                        units "msec";
                        description
                          "The traffic class should use
                           a path with a defined maximum
                           delay.";
                      }
                    }  // choice flavor
                  }  // container frame-delay

                  container frame-jitter {
                    description
                      "Jitter constraint on the traffic
                     class.";
                    choice flavor {
                      description
                        "Jitter constraint on the traffic
                       class.";
                      leaf use-lowest-jitter {
                        type empty;
                        description
                          "The traffic class should use
                           the lowest jitter path.";
                      }
                      leaf delay-bound {
                        type uint32;
                        units "usec";
                        description
                          "The traffic class should use
                           a path with a defined maximum
                           jitter.";
                      }
                    }  // choice flavor
                  }  // container frame-jitter

                  container frame-loss {
                    description
                      "Container for frame loss rate.";
                    leaf rate {
                      type decimal64 {
                        fraction-digits 2;
                        range "0..100";
                      }
                      units "percent";
                      description
                        "Frame Loss rate constraint on the traffic
                      class.";
                    }
                  }  // container frame-loss

                  container bandwidth {
                    description
                      "Bandwidth constraint on the traffic class.";
                    leaf guaranteed-bw-percent {
                      type decimal64 {
                        fraction-digits 5;
                        range "0..100";
                      }
                      units "percent";
                      mandatory true;
                      description
                        "To be used to define the guaranteed bandwidth
                       as a percentage of the available service
                       bandwidth.";
                    }

                    leaf end-to-end {
                      type empty;
                      description
                        "Used if the bandwidth reservation
                       must be done on the MPLS network too.";
                    }
                  }  // container bandwidth
                }  // list class
              }  // container classes
            }  // case custom
          }  // choice qos-profile
        }  // container qos-profile
      }  // container qos
    }  // grouping site-service-qos-profile

    grouping site-service-mpls {
      description
        "Grouping for carrierscarrier";
      container carrierscarrier {
        if-feature carrierscarrier;
        description
          "Container for carrierscarrier";
        leaf signaling-type {
          type identityref {
            base carrierscarrier-type;
          }
          default "bgp";
          description
            "Carrierscarrier. By default,the signaling type is bgp.";
        }
      }  // container carrierscarrier
    }  // grouping site-service-mpls

    container l2vpn-svc {
      description
        "Container for L2VPN service.";
      container vpn-profiles {
        description
          "Container for VPN Profiles.";
        container valid-provider-identifiers {
          nacm:default-deny-write;
          description
            "Container for Valid Provider Identifies.";
          leaf-list cloud-identifier {
            if-feature cloud-access;
            type string;
            description
              "Identification of public cloud service
             or internet service. Local administration
             meaning.";
          }

          leaf-list qos-profile-identifier {
            type string;
            description
              "Identification of the QoS Profile to be used.
             Local administration meaning.";
          }

          leaf-list bfd-profile-identifier {
            type string;
            description
              "Identification of the SP BFD Profile to be used.
             Local administration meaning.";
          }

          leaf-list remote-carrier-identifier {
            type string;
            description
              "Identification of the remote carrier name to be used.
             It can be L2VPN partner, Data center service provider
             or private cloud service provider. Local administration
             meaning.";
          }
        }  // container valid-provider-identifiers
      }  // container vpn-profiles

      container vpn-services {
        description
          "Container for VPN services.";
        list vpn-service {
          key "vpn-id";
          description
            "List of vpn services.";
          leaf vpn-id {
            type svc-id;
            description
              "Defining a service id.";
          }

          leaf vpn-svc-type {
            type identityref {
              base service-type;
            }
            default "vpws";
            description
              "Service type. By default, the service type is VPWS.";
          }

          leaf customer-name {
            type string;
            description "Customer name.";
          }

          leaf svc-topo {
            type identityref {
              base vpn-topology;
            }
            default "any-to-any";
            description
              "Defining service topology, such as
             any-to-any,hub-spoke, etc.";
          }

          container cloud-accesses {
            if-feature cloud-access;
            description
              "Container for cloud access configurations";
            list cloud-access {
              key "cloud-identifier";
              description
                "Cloud access configuration.";
              leaf cloud-identifier {
                type leafref {
                  path "/l2vpn-svc/vpn-profiles/valid-provider-identifiers/cloud-identifier";
                }
                description
                  "Identification of cloud service.
             Local administration meaning.";
              }

              choice list-flavor {
                description
                  "Choice for cloud access policy.
             By default, all sites in the L2VPN
             MUST be authorized to access the cloud.";
                leaf permit-any {
                  type empty;
                  description
                    "Allow all sites.";
                }
                leaf-list permit-site {
                  type leafref {
                    path "/l2vpn-svc/sites/site/site-id";
                  }
                  description
                    "Site ID to be authorized.";
                }
                leaf-list deny-site {
                  type leafref {
                    path "/l2vpn-svc/sites/site/site-id";
                  }
                  description
                    "Site ID to be denied.";
                }
              }  // choice list-flavor
            }  // list cloud-access
          }  // container cloud-accesses

          container frame-delivery {
            if-feature bum;
            description
              "Multicast global parameters for the VPN service.";
            container customer-tree-flavors {
              description
                "Type of trees used by customer.";
              leaf-list tree-flavor {
                type identityref {
                  base multicast-tree-type;
                }
                description
                  "Type of tree to be used.";
              }
            }  // container customer-tree-flavors

            container bum-deliveries {
              description
                "Define frame delivery type and mode.";
              list bum-delivery {
                key "frame-type";
                description
                  "List of frame delivery type and mode.";
                leaf frame-type {
                  type identityref {
                    base tf-type;
                  }
                  description
                    "Type of frame delivery. It support unicast
             frame delivery, multicast frame delivery
              and broadcast frame delivery.";
                }

                leaf delivery-mode {
                  type identityref {
                    base frame-delivery-mode;
                  }
                  default "unconditional";
                  description
                    "Define Frame Delivery Mode
             (unconditional[default],
            conditional, or discard).
            By default, Service Frames
            are unconditionally delivered
            to the destination. ";
                }
              }  // list bum-delivery
            }  // container bum-deliveries

            leaf multicast-gp-port-mapping {
              type identityref {
                base mapping-type;
              }
              mandatory true;
              description
                "Describe the way in which each interface is
           associated with the Multicast group";
            }
          }  // container frame-delivery

          container extranet-vpns {
            if-feature extranet-vpn;
            description
              "Container for extranet VPN configuration.";
            list extranet-vpn {
              key "vpn-id";
              description
                "List of extranet VPNs the local VPN is attached to.";
              leaf vpn-id {
                type svc-id;
                description
                  "Identifies the target VPN the local VPN want to access.";
              }

              leaf local-sites-role {
                type identityref {
                  base site-role;
                }
                default "any-to-any-role";
                description
                  "This describes the role of the local sites in the target
             VPN topology. In the any-to-any VPN service topology,
             the local sites must have the same role, which will be
             'any-to-any-role '. In the Hub-and-Spoke VPN service
             topology or the Hub and Spoke disjoint VPN service
             topology, the local sites must have a Hub role or a
              Spoke role";
              }
            }  // list extranet-vpn
          }  // container extranet-vpns

          leaf ce-vlan-preservation {
            type boolean;
            mandatory true;
            description
              "Preserve the CE-VLAN ID from ingress to egress,i.e.,
         CE-VLAN tag of the egress frame are identical to
         those of the ingress frame that yielded this
         egress service frame. If All-to-One bundling within
         a site is Enabled, then preservation applies to all
         Ingress service frames. If All-to-One bundling is
         Disabled , then preservation applies to tagged
         Ingress service frames having CE-VLAN ID 1
         through 4094.";
          }

          leaf ce-vlan-cos-perservation {
            type boolean;
            mandatory true;
            description
              "CE vlan CoS preservation. PCP bits in the CE-VLAN tag
         of the egress frame are identical to those of the
         ingress frame that yielded this egress service
         frame.";
          }

          leaf carrierscarrier {
            if-feature carrierscarrier;
            type boolean;
            default "false";
            description
              "The VPN is using CsC, and so MPLS
             is required.";
          }
        }  // list vpn-service
      }  // container vpn-services

      container sites {
        description
          "Container of site configurations.";
        list site {
          key "site-id";
          description "List of sites.";
          leaf site-id {
            type string;
            description
              "Identifier of the site.";
          }

          leaf site-vpn-flavor {
            type identityref {
              base site-vpn-flavor;
            }
            default "site-vpn-flavor-single";
            description
              "Defines the way the VPN multiplexing is
         done ,e.g.,whether the site belongs to
         a single VPN site or a multiVPN; By
         default, the site belongs to a single VPN.";
          }

          container devices {
            when
              "derived-from-or-self(../management/type, "
                + "'l2vpn-svc:provider-managed') or "
                + "derived-from-or-self(../management/type, "
                + "'l2vpn-svc:co-managed')" {
              description
                "Applicable only for provider-managed or
           co-managed device.";
            }
            description
              "Devices configuration";
            list device {
              key "device-id";
              description
                "List of devices requested by customer.";
              leaf device-id {
                type string;
                description
                  "Identifier for the device.";
              }

              leaf location {
                type leafref {
                  path "../../../locations/location/location-id";
                }
                mandatory true;
                description
                  "Location of the device.";
              }

              container management {
                when
                  "derived-from-or-self(../../../management/type,"
                    + "'l2vpn-svc:co-managed')" {
                  description
                    "Applicable only for co-managed device.";
                }
                description
                  "Management configuration. Applicable only for
              co-managed device.";
                leaf transport {
                  type identityref {
                    base address-family;
                  }
                  description
                    "Transport protocol or Address family
               used for management.";
                }

                leaf address {
                  when "(../ transport)" {
                    description
                      "If address-family is specified, then address should
                 also be specified. If the transport is not specified,
                 then address should also not be specified.";
                  }
                  type inet:ip-address;
                  description
                    "Management address.";
                }
              }  // container management
            }  // list device
          }  // container devices

          container management {
            description
              "Management configuration.";
            leaf type {
              type identityref {
                base management;
              }
              mandatory true;
              description
                "Management type of the connection.";
            }
          }  // container management

          container locations {
            description
              "Location of the site.";
            list location {
              key "location-id";
              description
                "List for location";
              leaf location-id {
                type string;
                description "Location ID";
              }

              leaf address {
                type string;
                description
                  "Address (number and street) of the site.";
              }

              leaf zip-code {
                type string;
                description
                  "ZIP code of the site.";
              }

              leaf state {
                type string;
                description
                  "State of the site. This leaf can also be used to
             describe a region for country who does not have
             states.";
              }

              leaf city {
                type string;
                description
                  "City of the site.";
              }

              leaf country-code {
                type string;
                description
                  "Country of the site.";
              }
            }  // list location
          }  // container locations

          container site-diversity {
            if-feature site-diversity;
            description
              "Diversity constraint type.";
            container groups {
              description
                "Groups the site is belonging to.
           All site network accesses will inherit those group
           values.";
              list group {
                key "group-id";
                description
                  "List of group-id";
                leaf group-id {
                  type string;
                  description
                    "Group-id the site is belonging to";
                }
              }  // list group
            }  // container groups
          }  // container site-diversity

          container vpn-policies {
            description "VPN policy.";
            list vpn-policy {
              key "vpn-policy-id";
              description
                "List of VPN policies.";
              leaf vpn-policy-id {
                type string;
                description
                  "Unique identifier for the VPN policy.";
              }

              list entries {
                key "id";
                description
                  "List of entries for export policy.";
                leaf id {
                  type string;
                  description
                    "Unique identifier for the policy entry.";
                }

                container filters {
                  description
                    "If a more-granular VPN attachment is necessary,
               filtering can be used. If used, it permits the
               splitting of site LANs among multiple VPNs. The
               Site LAN can be split based on either LAN-tag or
               LAN prefix. If no filter is used, all the LANs
               will be part of the same VPNs with the same
               role.";
                  list filter {
                    key "type";
                    ordered-by user;
                    description
                      "List of filters used on the site. This list can
                 be augmented.";
                    leaf type {
                      type identityref {
                        base vpn-policy-filter-type;
                      }
                      description
                        "Type of VPN Policy filter.";
                    }

                    leaf-list lan-tag {
                      when
                        "derived-from-or-self(../type, 'l2vpn-svc:lan')" {
                        description
                          "Only applies when VPN Policy filter is
                     LAN Tag filter.";
                      }
                      if-feature lan-tag;
                      type uint32;
                      description
                        "List of Ethernet LAN Tag to be matched. Ethernet
                   LAN Tag identifies a particular broadcast domain
                   in a VPN. ";
                    }
                  }  // list filter
                }  // container filters

                list vpn {
                  key "vpn-id";
                  description
                    "List of VPNs the LAN is associated with.";
                  leaf vpn-id {
                    type leafref {
                      path "/l2vpn-svc/vpn-services/vpn-service/vpn-id";
                    }
                    description
                      "Reference to L2VPN.";
                  }

                  leaf site-role {
                    type identityref {
                      base site-role;
                    }
                    default
                      "any-to-any-role";
                    description
                      "Role of the site in the L2VPN.";
                  }
                }  // list vpn
              }  // list entries
            }  // list vpn-policy
          }  // container vpn-policies

          container service {
            description
              "Service parameters on the attachment.";
            uses site-service-qos-profile;

            uses site-service-mpls;
          }  // container service

          uses site-bum;

          uses site-mac-loop-prevention;

          uses site-acl;

          leaf actual-site-start {
            type yang:date-and-time;
            config false;
            description
              "Optional leaf indicating actual date
         and time when the service at a particular
         site actually started";
          }

          leaf actual-site-stop {
            type yang:date-and-time;
            config false;
            description
              "Optional leaf indicating actual date
         and time when the service at a particular
         site actually stopped";
          }

          leaf bundling-type {
            type identityref {
              base bundling-type;
            }
            default "one2one-bundling";
            description
              "Bundling type. By default, Each L2VPN
         can be associated with only one
         CE-VLAN ,i.e., one to one bundling is used.";
          }

          leaf default-ce-vlan-id {
            type uint32;
            mandatory true;
            description
              "Default CE VLAN ID set at site level.";
          }

          container site-network-accesses {
            description
              "Container of port configurations.";
            list site-network-access {
              key "network-access-id";
              description
                "List of Site Network Accesses.";
              leaf network-access-id {
                type string;
                description
                  "Identifier of network access";
              }

              leaf remote-carrier-name {
                when
                  "derived-from-or-self(../../../site-vpn-flavor,"
                    + "'l2vpn-svc:site-vpn-flavor-nni')" {
                  description
                    "Relevant when Site vpn flavor is
                  site-vpn-flavor-nni.";
                }
                type leafref {
                  path "/l2vpn-svc/vpn-profiles/valid-provider-identifiers/remote-carrier-identifier";
                }
                description
                  "Remote carrier name. The remote-carrier-name
                 must be configured only when site-vpn-flavor
                 is set to site vpn-flavor-nni. If it is not
                 set,it indicates customer does not know remote
                 carrier name beforehand.";
              }

              leaf type {
                type identityref {
                  base site-network-access-type;
                }
                default "point-to-point";
                description
                  "Describes the type of connection, e.g.,
         point-to-point or multipoint.";
              }

              choice location-flavor {
                mandatory true;
                description
                  "Choice of how to describe the site's location.";
                case location {
                  when
                    "derived-from-or-self(../../management/type, "
                      + "'l2vpn-svc:customer-managed')" {
                    description
                      "Applicable only for customer-managed device.";
                  }
                  leaf location-reference {
                    type leafref {
                      path "../../../locations/location/location-id";
                    }
                    description
                      "Location of the site-network-access.";
                  }
                }  // case location

                case device {
                  when
                    "derived-from-or-self(../../management/type, "
                      + "'l2vpn-svc:provider-managed') or "
                      + "derived-from-or-self(../../management/type, "
                      + "'l2vpn-svc:co-managed')" {
                    description
                      "Applicable only for provider-managed
             or co-managed device.";
                  }
                  leaf device-reference {
                    type leafref {
                      path "../../../devices/device/device-id";
                    }
                    description
                      "Identifier of CE to use.";
                  }
                }  // case device
              }  // choice location-flavor

              container access-diversity {
                if-feature site-diversity;
                description
                  "Diversity parameters.";
                container groups {
                  description
                    "Groups the site or site-network-access
         is belonging to.";
                  list group {
                    key "group-id";
                    description
                      "List of group-id";
                    leaf group-id {
                      type string;
                      description
                        "Group-id the site is belonging to.";
                    }
                  }  // list group
                }  // container groups

                container constraints {
                  description
                    "Constraints for placing this site
           network access.";
                  list constraint {
                    key "constraint-type";
                    description
                      "List of constraints.";
                    leaf constraint-type {
                      type identityref {
                        base placement-diversity;
                      }
                      description
                        "Diversity constraint type.";
                    }

                    container target {
                      description
                        "The constraint will apply against
               this list of groups.";
                      choice target-flavor {
                        default "id";
                        description
                          "Choice for the group definition.";
                        list group {
                          key "group-id";
                          description
                            "List of groups.";
                          leaf group-id {
                            type string;
                            description
                              "The constraint will apply
                       against this particular
                       group-id.";
                          }
                        }  // list group
                        leaf all-other-accesses {
                          type empty;
                          description
                            "The constraint will apply
                     against all other site network
                     access of this site.";
                        }
                        leaf all-other-groups {
                          type empty;
                          description
                            "The constraint will apply
                     against all other groups the
                     customer is managing.";
                        }
                      }  // choice target-flavor
                    }  // container target
                  }  // list constraint
                }  // container constraints
              }  // container access-diversity

              container bearer {
                description
                  "Bearer specific parameters.
         To be augmented.";
                container requested-type {
                  if-feature requested-type;
                  description
                    "Container for requested type.";
                  leaf type {
                    type string;
                    description
                      "Type of requested bearer Ethernet, ATM, Frame
             Relay, IP Layer 2 Transport, Frame Relay DLCI,
             SONET/SDH,PPP.";
                  }

                  leaf strict {
                    type boolean;
                    default "false";
                    description
                      "Define if the requested-type is a preference
             or a strict requirement.";
                  }
                }  // container requested-type

                leaf always-on {
                  if-feature always-on;
                  type boolean;
                  default "true";
                  description
                    "Request for an always on access type.
           For example.This could mean no Dial access type.";
                }

                leaf bearer-reference {
                  if-feature bearer-reference;
                  type string;
                  description
                    "This is an internal reference for the
           service provider.";
                }
              }  // container bearer

              container connection {
                description
                  "Container for bearer";
                leaf encapsulation-type {
                  type identityref {
                    base encapsulation-type;
                  }
                  default "ethernet";
                  description
                    "Encapsulation Type. By default,the
           encapsulation type is set as Ethernet.";
                }

                leaf eth-inf-type {
                  type identityref {
                    base eth-inf-type;
                  }
                  default "untagged";
                  description
                    "Ethernet Interface Type. By default,
          the Ethernet Interface Type is set as
          untagged interface.";
                }

                container tagged-interface {
                  description
                    "Container for tagged Interface.";
                  leaf type {
                    type identityref {
                      base tagged-inf-type;
                    }
                    default
                      "priority-tagged";
                    description
                      "Tagged interface type. By default,
           the Tagged interface type is priority
           tagged interface. ";
                  }

                  container dot1q-vlan-tagged {
                    when
                      "derived-from-or-self(../type, 'l2vpn-svc:dot1q')" {
                      description
                        "Only applies when Tagged interface type is dot1q.";
                    }
                    if-feature dot1q;
                    description
                      "Tagged interface.";
                    leaf tg-type {
                      type identityref {
                        base tag-type;
                      }
                      default "c-vlan";
                      description
                        "TAG type.By default, Tag type is Customer-VLAN tag.";
                    }

                    leaf cvlan-id {
                      type uint16;
                      mandatory true;
                      description
                        "VLAN identifier.";
                    }
                  }  // container dot1q-vlan-tagged

                  container priority-tagged {
                    when
                      "derived-from-or-self(../type, "
                        + "'l2vpn-svc:priority-tagged')" {
                      description
                        "Only applies when Tagged interface type
             is priority tagged interface.";
                    }
                    description
                      "Priority tagged.";
                    leaf tag-type {
                      type identityref {
                        base tag-type;
                      }
                      default "c-vlan";
                      description
                        "TAG type.By default, the TAG type is
             Customer-VLAN tag.";
                    }
                  }  // container priority-tagged

                  container qinq {
                    when
                      "derived-from-or-self(../type, 'l2vpn-svc:qinq')" {
                      description
                        "Only applies when Tagged interface type is qinq.";
                    }
                    if-feature qinq;
                    description "QinQ.";
                    leaf tag-type {
                      type identityref {
                        base tag-type;
                      }
                      default "c-s-vlan";
                      description
                        "Tag type. By default, the Tag type is c-s-vlan.";
                    }

                    leaf svlan-id {
                      type uint16;
                      mandatory true;
                      description
                        "S-VLAN Identifier.";
                    }

                    leaf cvlan-id {
                      type uint16;
                      mandatory true;
                      description
                        "C-VLAN Identifier";
                    }
                  }  // container qinq

                  container qinany {
                    when
                      "derived-from-or-self(../type, 'l2vpn-svc:qinany')" {
                      description
                        "Only applies when Tagged interface type is qinany.";
                    }
                    if-feature qinany;
                    description
                      "Container for Qin Any.";
                    leaf tag-type {
                      type identityref {
                        base tag-type;
                      }
                      default "s-vlan";
                      description
                        "Tag type.By default, the Tag type is Service-VLAN tag.";
                    }

                    leaf svlan-id {
                      type uint16;
                      mandatory true;
                      description
                        "S-Vlan ID.";
                    }
                  }  // container qinany

                  container vxlan {
                    when
                      "derived-from-or-self(../type, 'l2vpn-svc:vxlan')" {
                      description
                        "Only applies when Tagged interface type is vxlan.";
                    }
                    if-feature vxlan;
                    description "QinQ.";
                    leaf vni-id {
                      type uint32;
                      mandatory true;
                      description
                        "VNI Identifier.";
                    }

                    leaf peer-mode {
                      type identityref {
                        base vxlan-peer-mode;
                      }
                      default "static-mode";
                      description
                        "specify the vxlan access mode. By default
             the peer mode is Set as static mode.";
                    }

                    list peer-list {
                      key "peer-ip";
                      description
                        "List for peer IP.";
                      leaf peer-ip {
                        type inet:ip-address;
                        description
                          "Peer IP.";
                      }
                    }  // list peer-list
                  }  // container vxlan
                }  // container tagged-interface

                container untagged-interface {
                  description
                    "Container of Untagged Interface Attributes
         configurations.";
                  leaf speed {
                    type uint32;
                    units "mbps";
                    default "10";
                    description
                      "Port speed.";
                  }

                  leaf mode {
                    type neg-mode;
                    default "auto-neg";
                    description
                      "Negotiation mode.";
                  }

                  leaf phy-mtu {
                    type uint32;
                    units "bytes";
                    description "PHY MTU.";
                  }

                  leaf lldp {
                    type boolean;
                    default "false";
                    description
                      "LLDP. Indicate LLDP is supported.";
                  }

                  container oam-802.3ah-link {
                    if-feature oam-3ah;
                    description
                      "Container for oam 802.3 ah link.";
                    leaf enable {
                      type boolean;
                      default "false";
                      description
                        "Indicate whether support oam 802.3 ah link";
                    }
                  }  // container oam-802.3ah-link

                  leaf uni-loop-prevention {
                    type boolean;
                    default "false";
                    description
                      "If this leaf set to truth that the port automatically
           goes down when a physical loopback is detect.";
                  }
                }  // container untagged-interface

                container lag-interfaces {
                  if-feature lag-interface;
                  description
                    "Container of LAG interface attributes configuration";
                  list lag-interface {
                    key "index";
                    description
                      "List of LAG interfaces.";
                    leaf index {
                      type string;
                      description
                        "LAG interface index.";
                    }

                    container lacp {
                      if-feature lacp;
                      description "LACP.";
                      leaf enable {
                        type boolean;
                        default "false";
                        description
                          "LACP on/off.By default, LACP is disabled.";
                      }

                      leaf mode {
                        type neg-mode;
                        description
                          "LACP mode. LACP modes have auto negotiation mode
           and passive mode (false). Auto negotiation mode
           means initiating the auto speed negotiation and
           trying to form Ethernet Channel with other end.
           Passive mode means not initiating the negotiation,
          but responding to LACP packets initiated by other
          end(e.g., full duplex or half duplex. ";
                      }

                      leaf speed {
                        type uint32;
                        units "mbps";
                        default "10";
                        description
                          "LACP speed. By default, the lacp speed is 10Mbps.";
                      }

                      leaf mini-link-num {
                        type uint32;
                        description
                          "Defines the minimum number of links that must be
           active before the aggregating link is put
           into service.";
                      }

                      leaf system-priority {
                        type uint16;
                        default "32768";
                        description
                          "Indicates the LACP priority for the system.
           The range is from 0 to 65535.
           The default is 32768.";
                      }

                      container micro-bfd {
                        if-feature micro-bfd;
                        description
                          "Container of Micro-BFD configurations.";
                        leaf enable {
                          type enumeration {
                            enum "on" {
                              value 0;
                              description
                                "Micro-bfd on.";
                            }
                            enum "off" {
                              value 1;
                              description
                                "Micro-bfd off.";
                            }
                          }
                          default "off";
                          description
                            "Micro BFD ON/OFF. By default,
             the micro-bfd is set to off.";
                        }

                        leaf interval {
                          type uint32;
                          units "msec";
                          description
                            "BFD interval.";
                        }

                        leaf hold-timer {
                          type uint32;
                          units "msec";
                          description
                            "BFD hold timer.";
                        }
                      }  // container micro-bfd

                      container bfd {
                        if-feature bfd;
                        description
                          "Container for BFD.";
                        leaf enabled {
                          type boolean;
                          default "false";
                          description
                            "BFD activation. By default, BFD is not activated.";
                        }

                        choice holdtime {
                          default "fixed";
                          description
                            "Choice for hold time flavor.";
                          case profile {
                            description
                              "Service provider well known profile.";
                            leaf profile-name {
                              type leafref {
                                path "/l2vpn-svc/vpn-profiles/valid-provider-identifiers/bfd-profile-identifier";
                              }
                              description
                                "Service provider well known profile.";
                            }
                          }  // case profile
                          leaf fixed-value {
                            type uint32;
                            units "msec";
                            description
                              "Expected hold time expressed in msec.";
                          }
                        }  // choice holdtime
                      }  // container bfd

                      container member-links {
                        description
                          "Container of Member link list";
                        list member-link {
                          key "name";
                          description
                            "Member link";
                          leaf name {
                            type string;
                            description
                              "Member link name.";
                          }

                          leaf speed {
                            type uint32;
                            units "mbps";
                            default "10";
                            description
                              "Port speed.";
                          }

                          leaf mode {
                            type neg-mode;
                            default
                              "auto-neg";
                            description
                              "Negotiation mode.";
                          }

                          leaf link-mtu {
                            type uint32;
                            units "bytes";
                            description
                              "Link MTU size.";
                          }

                          container oam-802.3ah-link {
                            if-feature oam-3ah;
                            description
                              "Container for oam 802.3 ah link.";
                            leaf enable {
                              type boolean;
                              default
                                "false";
                              description
                                "Indicate whether oam 802.3 ah link is supported.";
                            }
                          }  // container oam-802.3ah-link
                        }  // list member-link
                      }  // container member-links

                      leaf flow-control {
                        type boolean;
                        default "false";
                        description
                          "Flow control. Indicate whether flow control is supported.";
                      }

                      leaf lldp {
                        type boolean;
                        default "false";
                        description
                          "LLDP. Indicate whether lldp is supported.";
                      }
                    }  // container lacp
                  }  // list lag-interface
                }  // container lag-interfaces

                list cvlan-id-to-svc-map {
                  key "svc-id";
                  description
                    "List for cvlan-id to L2VPn Service map configurations";
                  leaf svc-id {
                    type leafref {
                      path "/l2vpn-svc/vpn-services/vpn-service/vpn-id";
                    }
                    description
                      "VPN Service identifier";
                  }

                  list cvlan-id {
                    key "vid";
                    description
                      "List of CVLAN-ID to SVC Map configurations";
                    leaf vid {
                      type uint16;
                      description "CVLAN ID";
                    }
                  }  // list cvlan-id
                }  // list cvlan-id-to-svc-map

                container l2cp-control {
                  if-feature l2cp-control;
                  description
                    "Container of L2CP control configurations";
                  leaf stp-rstp-mstp {
                    type control-mode;
                    description
                      "STP/RSTP/MSTP protocol type applicable to all Sites.";
                  }

                  leaf pause {
                    type control-mode;
                    description
                      "Pause protocol type applicable to all Sites.";
                  }

                  leaf lacp-lamp {
                    type control-mode;
                    description "LACP/LAMP.";
                  }

                  leaf link-oam {
                    type control-mode;
                    description "Link OAM.";
                  }

                  leaf esmc {
                    type control-mode;
                    description "ESMC.";
                  }

                  leaf l2cp-802.1x {
                    type control-mode;
                    description
                      "IEEE 802.x.";
                  }

                  leaf e-lmi {
                    type control-mode;
                    description "E-LMI.";
                  }

                  leaf lldp {
                    type boolean;
                    description
                      "LLDP protocol type applicable to all sites.";
                  }

                  leaf ptp-peer-delay {
                    type control-mode;
                    description
                      "PTP peer delay.";
                  }

                  leaf garp-mrp {
                    type control-mode;
                    description "GARP/MRP.";
                  }
                }  // container l2cp-control

                container oam {
                  if-feature ethernet-oam;
                  description
                    "Container for Ethernet service OAM.";
                  leaf md-name {
                    type string;
                    mandatory true;
                    description
                      "Maintenance domain name.";
                  }

                  leaf md-level {
                    type uint16 {
                      range "0..255";
                    }
                    mandatory true;
                    description
                      "Maintenance domain level. The level may be
           restricted in certain protocols (e.g.,
           protocol in layer 0 to layer 7).";
                  }

                  list cfm-8021-ag {
                    if-feature cfm;
                    key "maid";
                    description
                      "List of 802.1ag CFM attributes";
                    leaf maid {
                      type string;
                      mandatory true;
                      description
                        "Identify an Maintenance Association (MA).";
                    }

                    leaf mep-id {
                      type uint32;
                      description
                        "Local Maintenance End Point (MEP) ID.
         The non-existence of this leaf means
          that no defects are to be reported.";
                    }

                    leaf mep-level {
                      type uint32;
                      description
                        "Define Maintenance End Point (MEP) level.
         The non-existence of this leaf means that
         no defects are to be reported.";
                    }

                    leaf mep-up-down {
                      type enumeration {
                        enum "up" {
                          value 0;
                          description
                            "MEP up.";
                        }
                        enum "down" {
                          value 1;
                          description
                            "MEP down.";
                        }
                      }
                      default "up";
                      description
                        "MEP up/down. By default, MEP up is used.
         The non-existence of this leaf means that
         no defects are to be reported.";
                    }

                    leaf remote-mep-id {
                      type uint32;
                      description
                        "Remote MEP ID. The non-existence of this leaf means
         that no defects are to be reported.";
                    }

                    leaf cos-for-cfm-pdus {
                      type uint32;
                      description
                        "COS for CFM PDUs. The non-existence of this leaf means
         that no defects are to be reported.";
                    }

                    leaf ccm-interval {
                      type uint32;
                      units "msec";
                      default "10000";
                      description
                        "Continuity Check Message(CCM) interval.
         By default, ccm-interval is 10 seconds.";
                    }

                    leaf ccm-holdtime {
                      type uint32;
                      units "msec";
                      default "35000";
                      description
                        "CCM hold time. By default ccm hold time
         is 3.5 times of ccm interval.";
                    }

                    leaf alarm-priority-defect {
                      type identityref {
                        base fault-alarm-defect-type;
                      }
                      default
                        "remote-invalid-ccm";
                      description
                        "The lowest priority defect that is
         allowed to generate a Fault Alarm.By default,
         fault-alarm-defect-type is set to remote-invalid-ccm.
          The non-existence of this leaf means
          that no defects are to be reported.";
                    }

                    leaf ccm-p-bits-pri {
                      type ccm-priority-type;
                      description
                        "The priority parameter for CCMs transmitted by the MEP.
         The non-existence of this leaf means
         that no defects are to be reported.";
                    }
                  }  // list cfm-8021-ag

                  list y-1731 {
                    if-feature y-1731;
                    key "maid";
                    description
                      "List for y-1731.";
                    leaf maid {
                      type string;
                      mandatory true;
                      description
                        "Identify an Maintenance Association (MA).";
                    }

                    leaf mep-id {
                      type uint32;
                      description
                        "Local Maintenance End Point(MEP) ID.
           The non-existence of this leaf means
           that no measurements are to be reported.";
                    }

                    leaf type {
                      type identityref {
                        base pm-type;
                      }
                      default "delay";
                      description
                        "Performance monitor types. By default, the
           performance monitoring type is set to delay.
           The non-existence of this leaf means that no
            measurements are to be reported.";
                    }

                    leaf remote-mep-id {
                      type uint32;
                      description
                        "Remote MEP ID. The non-existence of this
           leaf means that no measurements are to be
           reported.";
                    }

                    leaf message-period {
                      type uint32;
                      units "msec";
                      default "10000";
                      description
                        "Defines the interval between Y.1731
           performance monitoring messages. The message
           period is expressed in milliseconds.";
                    }

                    leaf measurement-interval {
                      type uint32;
                      units "sec";
                      description
                        "Specifies the measurement interval for statistics. The
           measurement interval is expressed in seconds.";
                    }

                    leaf cos {
                      type uint32;
                      description
                        "Class of service. The non-existence
           of this leaf means that no measurements
           are to be reported.";
                    }

                    leaf loss-measurement {
                      type boolean;
                      default "false";
                      description
                        "Whether enable loss measurement.
           By default, loss measurement is not
           enabled.";
                    }

                    leaf synthethic-loss-measurement {
                      type boolean;
                      default "false";
                      description
                        "Indicate whether enable synthetic loss
           measurement.By default, synthethic loss
           measurement is not enabled.";
                    }

                    container delay-measurement {
                      description
                        "Container for delay measurement.";
                      leaf enable-dm {
                        type boolean;
                        default "false";
                        description
                          "Whether to enable delay measurement.
            By defaut, the delay measurement is
             not enabled.";
                      }

                      leaf two-way {
                        type boolean;
                        default "false";
                        description
                          "Whether delay measurement is two-way (true) of one-
             way (false). By default, one way measurement is enabled.";
                      }
                    }  // container delay-measurement

                    leaf frame-size {
                      type uint32;
                      units "bytes";
                      description
                        "Frame size. The non-existence of this leaf means
          that no measurements are to be reported.";
                    }

                    leaf session-type {
                      type enumeration {
                        enum "proactive" {
                          value 0;
                          description
                            "Proactive mode.";
                        }
                        enum "on-demand" {
                          value 1;
                          description
                            "On demand mode.";
                        }
                      }
                      default "on-demand";
                      description
                        "Session type. By default, the session type is on demand mode.
           The non-existence of this leaf means that no measurements
           are to be reported.";
                    }
                  }  // list y-1731
                }  // container oam
              }  // container connection

              container availability {
                description
                  "Container of availability optional configurations.";
                leaf access-priority {
                  type uint32;
                  default "100";
                  description
                    "Access priority. The higher the access-priority value,
           the higher the preference of the access will be.";
                }

                choice redundancy-mode {
                  description
                    "Redundancy mode choice.";
                  case single-active {
                    description
                      "Single active case.";
                    leaf single-active {
                      type empty;
                      description
                        "Single active.";
                    }
                  }  // case single-active

                  case all-active {
                    description
                      "All active case.";
                    leaf all-active {
                      type empty;
                      description
                        "All active.";
                    }
                  }  // case all-active
                }  // choice redundancy-mode
              }  // container availability

              container vpn-attachment {
                description
                  "Defines VPN attachment of a site.";
                choice attachment-flavor {
                  mandatory true;
                  description
                    "Choice for VPN attachment flavor.";
                  case vpn-id {
                    leaf vpn-id {
                      type leafref {
                        path "/l2vpn-svc/vpn-services/vpn-service/vpn-id";
                      }
                      description
                        "Reference to a L2VPN. Referencing a vpn-id provides
               an easy way to attach a particular logical access to
               a VPN. In this case, vpn-id must be configured.";
                    }

                    leaf site-role {
                      type identityref {
                        base site-role;
                      }
                      default
                        "any-to-any-role";
                      description
                        "Role of the site in the L2VPN. When referencing a vpn-id,
               the site-role setting must be added to express the role
               of the site in the target VPN service topology.";
                    }
                  }  // case vpn-id
                  leaf vpn-policy-id {
                    type leafref {
                      path "../../../../vpn-policies/vpn-policy/vpn-policy-id";
                    }
                    description
                      "Reference to a vpn policy.";
                  }
                }  // choice attachment-flavor
              }  // container vpn-attachment

              container service {
                description
                  "Container for service";
                container svc-bandwidth {
                  if-feature input-bw;
                  description
                    "From the customer site's perspective, the service
         input/out bandwidth of the connection or download/upload
         bandwidth from the SP/site to the site/SP.";
                  list bandwidth {
                    key "direction type";
                    description
                      "List for bandwidth.";
                    leaf direction {
                      type identityref {
                        base bw-direction;
                      }
                      description
                        "Indicate the bandwidth direction. It can be bandwidth
             download direction from the SP to the site or
             bandwidth upload direction from the site to the SP.";
                    }

                    leaf type {
                      type identityref {
                        base bw-type;
                      }
                      description
                        "Bandwidth Type. By default, the bandwidth type is set
             as bandwidth per cos.";
                    }

                    leaf cos-id {
                      when
                        "derived-from-or-self(../type, 'l2vpn-svc:bw-per-cos')" {
                        description
                          "Relevant when the bandwidth type is set as bandwidth
               per cos.";
                      }
                      type uint8;
                      description
                        "Identifier of Class of Service
             , indicated by DSCP or a CE-CLAN
             CoS(802.1p)value in the service frame.
            If bandwidth type is set as bandwidth
            per cos, cos-id MUST be specified.";
                    }

                    leaf vpn-id {
                      when
                        "derived-from-or-self(../type, "
                          + "'l2vpn-svc:bw-per-svc')" {
                        description
                          "Relevant when the bandwidth type is
               set as bandwidth per VPN service.";
                      }
                      type svc-id;
                      description
                        "Identifies the target VPN. If bandwidth
             type is set as bandwidth per VPN service,
             vpn-id MUST be specified.";
                    }

                    leaf cir {
                      type uint64;
                      units "bps";
                      mandatory true;
                      description
                        "Committed Information Rate. The maximum number of
             bits that a port can receive or send during
             one-second over an interface.";
                    }

                    leaf cbs {
                      type uint64;
                      units "bps";
                      mandatory true;
                      description
                        "Committed Burst Size.CBS controls the bursty nature
             of the traffic. Traffic that does not use the configured
             CIR accumulates credits until the credits reach the
             configured CBS.";
                    }

                    leaf eir {
                      type uint64;
                      units "bps";
                      description
                        "Excess Information Rate,i.e.,Excess frame delivery
             allowed not subject to SLA.The traffic rate can be
             limited by eir.";
                    }

                    leaf ebs {
                      type uint64;
                      units "bps";
                      description
                        "Excess Burst Size. The bandwidth available for burst
             traffic from the EBS is subject to the amount of
             bandwidth that is accumulated during periods when
             traffic allocated by the EIR policy is not used.";
                    }

                    leaf pir {
                      type uint64;
                      units "bps";
                      description
                        "Peak Information Rate, i.e., maixmum frame delivery
             allowed.It is equal to or less than sum of cir
             and eir.";
                    }

                    leaf pbs {
                      type uint64;
                      units "bps";
                      description
                        "Peak Burst Size. It is measured in bytes per second.";
                    }
                  }  // list bandwidth
                }  // container svc-bandwidth

                leaf svc-mtu {
                  type uint16;
                  units "bytes";
                  mandatory true;
                  description
                    "SVC MTU, it is also known as the maximum transmission unit or
         maximum frame size,When a frame is larger than the MTU, it is
         broken down, or fragmented, into smaller pieces by the network
         protocol to accommodate the MTU of the network. If CsC is
         enabled,the requested svc-mtu leaf will refer to the
         MPLS MTU and not to the link MTU. ";
                }

                uses site-service-qos-profile;

                uses site-service-mpls;
              }  // container service

              uses site-bum;

              uses site-mac-loop-prevention;

              uses site-acl;

              container mac-addr-limit {
                if-feature mac-addr-limit;
                description
                  "Container of MAC-Addr limit configurations";
                leaf limit-number {
                  type uint16;
                  default "2";
                  description
                    "maximum number of MAC addresses learned from
           the subscriber for a single service instance.
           The default allowed maximum number of MAC

           addresses is 2.";
                }

                leaf time-interval {
                  type uint32;
                  units "sec";
                  default "300";
                  description
                    "The aging time of the mac address. By default,
           the aging time is set 300 seconds.";
                }

                leaf action {
                  type identityref {
                    base mac-action;
                  }
                  default "warning";
                  description
                    "specify the action when the upper limit is
           exceeded: drop the packet, flood the
           packet, or simply send a warning log message. By default,
           action is set to warning.";
                }
              }  // container mac-addr-limit
            }  // list site-network-access
          }  // container site-network-accesses
        }  // list site
      }  // container sites
    }  // container l2vpn-svc
  }  // module ietf-l2vpn-svc

Summary

  
ietf-l2vpn-svc  
  
Organization IETF L2SM Working Group.
  
Module ietf-l2vpn-svc
Version 2018-10-09
File ietf-l2vpn-svc@2018-10-09.yang
  
Prefix l2vpn-svc
Namespace urn:ietf:params:xml:ns:yang:ietf-l2vpn-svc
  
Cooked /cookedmodules/ietf-l2vpn-svc/2018-10-09
YANG /src/ietf-l2vpn-svc@2018-10-09.yang
XSD /xsd/ietf-l2vpn-svc@2018-10-09.xsd
  
Abstract This YANG module defines a generic service configuration model for Layer 2 VPN services common across all vendor implementations...
  
Contact
WG Web:   <https://datatracker.ietf.org/wg/l2sm/>
WG List:  <mailto:l2sm@ietf.org>
Editor:   Giuseppe Fioccola
	  <mailto:giuseppe.fioccola@tim.it>
  
ietf-l2vpn-svc  
  
Organization IETF L2SM Working Group.
  
Module ietf-l2vpn-svc
Version 2018-04-03
File ietf-l2vpn-svc@2018-04-03.yang
  
Prefix l2vpn-svc
Namespace urn:ietf:params:xml:ns:yang:ietf-l2vpn-svc
  
Cooked /cookedmodules/ietf-l2vpn-svc/2018-04-03
YANG /src/ietf-l2vpn-svc@2018-04-03.yang
XSD /xsd/ietf-l2vpn-svc@2018-04-03.xsd
  
Abstract The YANG module defines a generic service configuration model for Layer 2 VPN services common across all of the vendor implement...
  
Contact
WG List: l2sm@ietf.org
Editor: giuseppe.fioccola@telecomitalia.it

Description

 
ietf-l2vpn-svc
This YANG module defines a generic service configuration model
for Layer 2 VPN services common across all vendor
implementations.

Copyright (c) 2018 IETF Trust and the persons
identified as authors of the code.  All rights reserved.

Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(https://trustee.ietf.org/license-info).

This version of this YANG module is part of RFC 8466;
see the RFC itself for full legal notices.
 
ietf-l2vpn-svc
The YANG module defines a generic service configuration
model for Layer 2 VPN services common across all of the
vendor implementations.

Typedefs

Typedef Base type Abstract
ccm-priority-type uint8 A 3 bits priority value to be used in the VLAN tag, if present in the transmitted frame.
ccm-priority-type uint8 A 3-bit priority value to be used in the VLAN tag, if present in the transmitted frame.
control-mode enumeration Defining a type of the control mode on L2CP protocols.
control-mode enumeration Defines the type of control mode on L2CP protocols.
neg-mode enumeration Defining a type of the negotiation mode
neg-mode enumeration Defines the type of negotiation mode.
svc-id string Defines a type of service component identifier.
svc-id string Defines the type of service component identifier.

Groupings

Grouping Objects Abstract
site-acl access-control-list This grouping defines Access Control List.
site-acl access-control-list Grouping that defines the ACL.
site-bum broadcast-unknown-unicast-multicast Grouping for broadcast, unknown unicast, and multicast.
site-bum broadcast-unknown-unicast-multicast Grouping for BUM.
site-mac-loop-prevention mac-loop-prevention Grouping for MAC loop prevention.
site-mac-loop-prevention mac-loop-prevention Grouping for MAC loop prevention.
site-service-mpls carrierscarrier Grouping for carrierscarrier
site-service-mpls carrierscarrier Grouping for CsC.
site-service-qos-profile qos This grouping defines QoS parameters for a site
site-service-qos-profile qos Grouping that defines QoS parameters for a site.

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
l2vpn-svc container Container for L2VPN service.
l2vpn-svc container Container for L2VPN services.
   sites container Container of site configurations.
   sites container Container of site configurations.
      site list List of sites.
      site list List of sites.
         access-control-list container Container for access control List.
         access-control-list container Container for the ACL.
            mac list List for MAC.
            mac list List of MAC addresses.
               mac-address leaf MAC address.
               mac-address leaf MAC addresses.
         actual-site-start leaf Optional leaf indicating actual date and time when the service at a particular site actually started
         actual-site-start leaf This leaf is optional. It indicates the date and time when the service at a particular site actually started.
         actual-site-stop leaf Optional leaf indicating actual date and time when the service at a particular site actually stopped
         actual-site-stop leaf This leaf is optional. It indicates the date and time when the service at a particular site actually stopped.
         broadcast-unknown-unicast-multicast container Container of broadcast, unknown unicast, and multicast configurations.
         broadcast-unknown-unicast-multicast container Container of BUM configurations.
            bum-overall-rate leaf overall rate for BUM.
            bum-overall-rate leaf Overall rate for BUM.
            bum-rate-per-type list List of rate per type.
            bum-rate-per-type list List of limit rates for the BUM type.
               rate leaf rate for BUM.
               rate leaf Rate for BUM.
               type leaf BUM type.
               type leaf BUM type.
            multicast-gp-address-mapping list List of Port to group mappings.
            multicast-gp-address-mapping list List of port-to-group mappings.
               id leaf Unique identifier for the mapping.
               id leaf Unique identifier for the mapping.
               mac-gp-address leaf the MAC address of the Multicast group.
               mac-gp-address leaf The MAC address of the multicast group.
               port-lag-number leaf the ports/LAGs belonging to the Multicast group.
               port-lag-number leaf The ports/LAGs belonging to the multicast group.
               vlan-id leaf The VLAN ID of the Multicast group. The range of 12 bit VLAN ID is 0 to 1024.
               vlan-id leaf The VLAN ID of the multicast group. The range of the 12-bit VLAN ID is 0 to 1024.
            multicast-site-type leaf Type of multicast site.
            multicast-site-type leaf Type of multicast site.
         bundling-type leaf Bundling type. By default, Each L2VPN can be associated with only one CE-VLAN ,i.e., one to one bundling is used.
         bundling-type leaf Bundling type. By default, each L2VPN can be associated with only one CE-VLAN, i.e., one-to-one bundling is used.
         default-ce-vlan-id leaf Default CE VLAN ID set at site level.
         default-ce-vlan-id leaf Default CE VLAN ID set at the site level.
         devices container Devices configuration
         devices container Device configurations.
            device list List of devices requested by customer.
            device list List of devices requested by the customer.
               device-id leaf Identifier for the device.
               device-id leaf Identifier for the device.
               location leaf Location of the device.
               location leaf Location of the device.
               management container Management configuration. Applicable only for co-managed device.
               management container Management configuration. Applicable only for a co-managed device.
                  address leaf Management address.
                  address leaf Management address.
                  transport leaf Transport protocol or Address family used for management.
                  transport leaf Transport protocol or address family used for management.
         locations container Location of the site.
         locations container Location of the site.
            location list List for location
            location list List of locations.
               address leaf Address (number and street) of the site.
               address leaf Address (number and street) of the site.
               city leaf City of the site.
               city leaf City of the site.
               country-code leaf Country of the site.
               country-code leaf Country of the site. The format of 'country-code' is similar to the 'country' label defined in RFC 4119.
               location-id leaf Location ID
               location-id leaf Location ID.
               postal-code leaf Postal code of the site. The format of 'postal-code' is similar to the 'PC' (postal code) label format defined in RFC 4119.
               state leaf State of the site. This leaf can also be used to describe a region for country who does not have states.
               state leaf State (region) of the site. This leaf can also be used to describe a region of a country that does not have states.
               zip-code leaf ZIP code of the site.
         mac-loop-prevention container Container of MAC loop prevention.
         mac-loop-prevention container Container of MAC loop-prevention parameters.
            frequency leaf The number of times to detect MAC duplication. When duplicate-MAC situation has occurred and the duplicated MAC is added into to a duplicate-MAC list. By default, the number of times is 5.
            frequency leaf The number of times to detect MAC duplication, where a 'duplicate MAC address' situation has occurred and the duplicate MAC address has been added to a list of duplicate MAC addresses. By default, the number of times is 5.
            protection-type leaf Protection type. By default, the protection type is trap protection type.
            protection-type leaf Protection type. By default, the protection type is 'trap'.
            retry-timer leaf The retry timer. When retry timer expires, the duplicated MAC will be flushed from the MAC-VRF.
            retry-timer leaf The retry timer. When the retry timer expires, the duplicate MAC address will be flushed from the MAC-VRF.
         management container Management configuration.
         management container Management configuration.
            type leaf Management type of the connection.
            type leaf Management type of the connection.
         service container Service parameters on the attachment.
         service container Service parameters on the attachment.
            carrierscarrier container Container for carrierscarrier
            carrierscarrier container Container for CsC.
               signaling-type leaf Carrierscarrier. By default,the signaling type is bgp.
               signaling-type leaf CsC. By default, the signaling type is 'bgp'.
            qos container QoS configuration.
            qos container QoS configuration.
               classification-policy container Configuration of the traffic classification policy.
                  rule list List of marking rules.
                     id leaf A description identifying qos classification policy rule.
                     match-type choice Choice for classification
                        match-application case match-application
                           match-application leaf Defines the application to match.
                        match-flow case match-flow
                           match-flow container Describe flow matching criteria.
                              any leaf Allow all.
                              color-type leaf Color Types.
                              dot1q leaf 802.1q matching. It is VLAN Tag added into frame.
                              dscp leaf DSCP value.
                              dst-mac leaf Destination MAC.
                              pcp leaf PCP value.
                              src-mac leaf Source MAC
                              target-sites leaf-list Identify a site as traffic destination.
                              vpn-id leaf Reference to the target VPN.
                     target-class-id leaf Identification of the class of service. This identifier is internal to the administration.
               qos-classification-policy container Configuration of the traffic classification policy.
                  rule list List of marking rules.
                     id leaf A description identifying the QoS classification policy rule.
                     match-type choice Choice for classification.
                        match-application case match-application
                           match-application leaf Defines the application to match.
                        match-flow case match-flow
                           match-flow container Describes flow-matching criteria.
                              any leaf Allow all.
                              color-type leaf Color types.
                              dot1q leaf 802.1Q matching. It is a VLAN tag added into a frame.
                              dscp leaf DSCP value.
                              dst-mac leaf Destination MAC.
                              pcp leaf PCP value.
                              src-mac leaf Source MAC.
                              target-sites leaf-list Identifies a site as a traffic destination.
                              vpn-id leaf Reference to the target VPN.
                     target-class-id leaf Identification of the CoS. This identifier is internal to the administration.
               qos-profile container Qos profile configuration.
               qos-profile container Qos profile configuration.
                  qos-profile choice Choice for QoS profile. Can be standard profile or customized profile.
                  qos-profile choice Choice for the QoS profile. Can be a standard profile or a customized profile.
                     custom case Customized QoS profile.
                     custom case Customized QoS profile.
                        classes container Container for list of class of services.
                        classes container Container for list of CoS entries.
                           class list List of class of services.
                           class list List of CoS entries.
                              bandwidth container Bandwidth constraint on the traffic class.
                              bandwidth container Bandwidth constraint on the traffic class.
                                 end-to-end leaf Used if the bandwidth reservation must be done on the MPLS network too.
                                 end-to-end leaf Used if the bandwidth reservation must be done on the MPLS network too.
                                 guaranteed-bw-percent leaf To be used to define the guaranteed bandwidth as a percentage of the available service bandwidth.
                                 guaranteed-bw-percent leaf Used to define the guaranteed bandwidth as a percentage of the available service bandwidth.
                              byte-offset leaf For not including extra VLAN tags in the QoS calculation.
                              byte-offset leaf Number of bytes in the service frame header that are excluded from the QoS calculation (e.g., extra VLAN tags).
                              class-id leaf Identification of the class of service. This identifier is internal to the administration.
                              class-id leaf Identification of the CoS. This identifier is internal to the administration.
                              direction leaf The direction which QoS profile is applied to. By default,the direction is bidirectional.
                              direction leaf The direction in which the QoS profile is applied. By default, the direction is bidirectional.
                              frame-delay container Delay constraint on the traffic class.
                              frame-delay container Delay constraint on the traffic class.
                                 flavor choice Delay constraint on the traffic class.
                                 flavor choice Delay constraint on the traffic class.
                                    boundary case delay-bound
                                    boundary case delay-bound
                                       delay-bound leaf The traffic class should use a path with a defined maximum delay.
                                       delay-bound leaf The traffic class should use a path with a defined maximum delay.
                                    lowest case use-lowest-latency
                                    lowest case use-lowest-latency
                                       use-lowest-latency leaf The traffic class should use the lowest delay path.
                                       use-lowest-latency leaf The traffic class should use the path with the lowest delay.
                              frame-jitter container Jitter constraint on the traffic class.
                              frame-jitter container Jitter constraint on the traffic class.
                                 flavor choice Jitter constraint on the traffic class.
                                 flavor choice Jitter constraint on the traffic class.
                                    boundary case delay-bound
                                    boundary case delay-bound
                                       delay-bound leaf The traffic class should use a path with a defined maximum jitter.
                                       delay-bound leaf The traffic class should use a path with a defined maximum jitter.
                                    lowest case use-lowest-jitter
                                    lowest case use-lowest-jitter
                                       use-lowest-jitter leaf The traffic class should use the lowest jitter path.
                                       use-lowest-jitter leaf The traffic class should use the path with the lowest jitter.
                              frame-loss container Container for frame loss rate.
                              frame-loss container Container for frame loss rate.
                                 rate leaf Frame Loss rate constraint on the traffic class.
                                 rate leaf Frame loss rate constraint on the traffic class.
                              policing leaf The policing can be either one-rate, two-color (1R2C) or two-rate, three-color (2R3C). By default, the policing is on rate two color.
                              policing leaf The policing type can be either one-rate, two-color (1R2C) or two-rate, three-color (2R3C). By default, the policing type is 'one-rate-two-color'.
                     standard case Standard QoS profile.
                     standard case Standard QoS profile.
                        profile leaf QoS Profile to be used.
                        profile leaf QoS profile to be used.
         site-diversity container Diversity constraint type.
         site-diversity container The type of diversity constraint.
            groups container Groups the site is belonging to. All site network accesses will inherit those group values.
            groups container Groups to which the site belongs. All site network accesses will inherit those group values.
               group list List of group-id
               group list List of group-ids.
                  group-id leaf Group-id the site is belonging to
                  group-id leaf The group-id to which the site belongs.
         site-id leaf Identifier of the site.
         site-id leaf Identifier of the site.
         site-network-accesses container Container of port configurations.
         site-network-accesses container Container of port configurations.
            site-network-access list List of Site Network Accesses.
            site-network-access list List of site network accesses.
               access-control-list container Container for access control List.
               access-control-list container Container for the ACL.
                  mac list List for MAC.
                  mac list List of MAC addresses.
                     mac-address leaf MAC address.
                     mac-address leaf MAC addresses.
               access-diversity container Diversity parameters.
               access-diversity container Diversity parameters.
                  constraints container Constraints for placing this site network access.
                  constraints container Constraints for placing this site network access.
                     constraint list List of constraints.
                     constraint list List of constraints.
                        constraint-type leaf Diversity constraint type.
                        constraint-type leaf The type of diversity constraint.
                        target container The constraint will apply against this list of groups.
                        target container The constraint will apply against this list of groups.
                           target-flavor choice Choice for the group definition.
                           target-flavor choice Choice for the group definition.
                              all-accesses case all-other-accesses
                              all-accesses case all-other-accesses
                                 all-other-accesses leaf The constraint will apply against all other site network access of this site.
                                 all-other-accesses leaf The constraint will apply against all other site network accesses of this site.
                              all-groups case all-other-groups
                              all-groups case all-other-groups
                                 all-other-groups leaf The constraint will apply against all other groups the customer is managing.
                                 all-other-groups leaf The constraint will apply against all other groups the customer is managing.
                              id case group
                              id case group
                                 group list List of groups.
                                 group list List of groups.
                                    group-id leaf The constraint will apply against this particular group-id.
                                    group-id leaf The constraint will apply against this particular group-id.
                  groups container Groups the site or site-network-access is belonging to.
                  groups container Groups to which the site or site-network-access belongs.
                     group list List of group-id
                     group list List of group-ids.
                        group-id leaf Group-id the site is belonging to.
                        group-id leaf Group-id to which the site belongs.
               availability container Container of availability optional configurations.
               availability container Container of available optional configurations.
                  access-priority leaf Access priority. The higher the access-priority value, the higher the preference of the access will be.
                  access-priority leaf Access priority. The higher the access-priority value, the higher the preference will be for the access in question.
                  redundancy-mode choice Redundancy mode choice.
                  redundancy-mode choice Redundancy mode choice.
                     all-active case All active case.
                     all-active case In all-active mode, all nodes can forward traffic.
                        all-active leaf All active.
                        all-active leaf All-active mode.
                     single-active case Single active case.
                     single-active case In single-active mode, only one node forwards traffic to and from the Ethernet segment.
                        single-active leaf Single active.
                        single-active leaf Single-active mode.
               bearer container Bearer specific parameters. To be augmented.
               bearer container Bearer-specific parameters. To be augmented.
                  always-on leaf Request for an always on access type. For example.This could mean no Dial access type.
                  always-on leaf Request for an 'always-on' access type. For example, this could mean no dial-in access type.
                  bearer-reference leaf This is an internal reference for the service provider.
                  bearer-reference leaf An internal reference for the SP.
                  requested-type container Container for requested type.
                  requested-type container Container for requested types.
                     strict leaf Define if the requested-type is a preference or a strict requirement.
                     strict leaf Defines whether the requested type is a preference or a strict requirement.
                     type leaf Type of requested bearer Ethernet, ATM, Frame Relay, IP Layer 2 Transport, Frame Relay DLCI, SONET/SDH,PPP.
                     type leaf Type of requested bearer: Ethernet, ATM, Frame Relay, IP Layer 2 transport, Frame Relay Data Link Connection Identifier (DLCI), SONET/SDH, PPP.
               broadcast-unknown-unicast-multicast container Container of broadcast, unknown unicast, and multicast configurations.
               broadcast-unknown-unicast-multicast container Container of BUM configurations.
                  bum-overall-rate leaf overall rate for BUM.
                  bum-overall-rate leaf Overall rate for BUM.
                  bum-rate-per-type list List of rate per type.
                  bum-rate-per-type list List of limit rates for the BUM type.
                     rate leaf rate for BUM.
                     rate leaf Rate for BUM.
                     type leaf BUM type.
                     type leaf BUM type.
                  multicast-gp-address-mapping list List of Port to group mappings.
                  multicast-gp-address-mapping list List of port-to-group mappings.
                     id leaf Unique identifier for the mapping.
                     id leaf Unique identifier for the mapping.
                     mac-gp-address leaf the MAC address of the Multicast group.
                     mac-gp-address leaf The MAC address of the multicast group.
                     port-lag-number leaf the ports/LAGs belonging to the Multicast group.
                     port-lag-number leaf The ports/LAGs belonging to the multicast group.
                     vlan-id leaf The VLAN ID of the Multicast group. The range of 12 bit VLAN ID is 0 to 1024.
                     vlan-id leaf The VLAN ID of the multicast group. The range of the 12-bit VLAN ID is 0 to 1024.
                  multicast-site-type leaf Type of multicast site.
                  multicast-site-type leaf Type of multicast site.
               connection container Container for bearer
               connection container Container for connection requirements.
                  cvlan-id-to-svc-map list List for cvlan-id to L2VPn Service map configurations
                  cvlan-id-to-svc-map list List of CVLAN-ID-to-L2VPN-service-map configurations.
                     cvlan-id list List of CVLAN-ID to SVC Map configurations
                     cvlan-id list List of CVLAN-ID-to-SVC-map configurations.
                        vid leaf CVLAN ID
                        vid leaf CVLAN ID.
                     svc-id leaf VPN Service identifier
                     svc-id leaf VPN service identifier.
                  encapsulation-type leaf Encapsulation Type. By default,the encapsulation type is set as Ethernet.
                  encapsulation-type leaf Encapsulation type. By default, the encapsulation type is set to 'ethernet'.
                  eth-inf-type leaf Ethernet Interface Type. By default, the Ethernet Interface Type is set as untagged interface.
                  eth-inf-type leaf Ethernet interface type. By default, the Ethernet interface type is set to 'untagged'.
                  l2cp-control container Container of L2CP control configurations
                  l2cp-control container Container of L2CP control configurations.
                     e-lmi leaf E-LMI.
                     e-lmi leaf E-LMI.
                     esmc leaf ESMC.
                     esmc leaf Ethernet Synchronization Messaging Channel (ESMC).
                     garp-mrp leaf GARP/MRP.
                     garp-mrp leaf GARP/MRP.
                     l2cp-802.1x leaf IEEE 802.x.
                     l2cp-802.1x leaf IEEE 802.1x.
                     lacp-lamp leaf LACP/LAMP.
                     lacp-lamp leaf LACP / Link Aggregation Marker Protocol (LAMP).
                     link-oam leaf Link OAM.
                     link-oam leaf Link OAM.
                     lldp leaf LLDP protocol type applicable to all sites.
                     lldp leaf LLDP protocol type applicable to all sites.
                     pause leaf Pause protocol type applicable to all Sites.
                     pause leaf Pause protocol type applicable to all sites.
                     ptp-peer-delay leaf PTP peer delay.
                     ptp-peer-delay leaf Precision Time Protocol (PTP) peer delay.
                     stp-rstp-mstp leaf STP/RSTP/MSTP protocol type applicable to all Sites.
                     stp-rstp-mstp leaf STP / Rapid STP (RSTP) / Multiple STP (MSTP) protocol type applicable to all sites.
                  lag-interfaces container Container of LAG interface attributes configuration
                  lag-interfaces container Container of LAG interface attribute configurations.
                     lag-interface list List of LAG interfaces.
                     lag-interface list List of LAG interfaces.
                        index leaf LAG interface index.
                        index leaf LAG interface index.
                        lacp container LACP.
                        lacp container LACP.
                           bfd container Container for BFD.
                           bfd container Container for BFD.
                              enabled leaf BFD activation. By default, BFD is not activated.
                              enabled leaf BFD activation. By default, BFD is not activated.
                              holdtime choice Choice for hold time flavor.
                              holdtime choice Choice for the hold-time flavor.
                                 fixed case fixed-value
                                 fixed case fixed-value
                                    fixed-value leaf Expected hold time expressed in msec.
                                    fixed-value leaf Expected hold time expressed in milliseconds.
                                 profile case Service provider well known profile.
                                 profile case SP well-known profile.
                                    profile-name leaf Service provider well known profile.
                                    profile-name leaf SP well-known profile.
                           enable leaf LACP on/off.By default, LACP is disabled.
                           enabled leaf LACP on/off. By default, LACP is disabled.
                           flow-control leaf Flow control. Indicate whether flow control is supported.
                           flow-control leaf Flow control. Indicates whether flow control is supported.
                           lldp leaf LLDP. Indicate whether lldp is supported.
                           lldp leaf LLDP. Indicates whether LLDP is supported.
                           member-links container Container of Member link list
                           member-links container Container of the member link list.
                              member-link list Member link
                              member-link list Member link.
                                 link-mtu leaf Link MTU size.
                                 link-mtu leaf Link MTU size.
                                 mode leaf Negotiation mode.
                                 mode leaf Negotiation mode.
                                 name leaf Member link name.
                                 name leaf Member link name.
                                 oam-802.3ah-link container Container for oam 802.3 ah link.
                                 oam-802.3ah-link container Container for OAM 802.3ah links.
                                    enable leaf Indicate whether oam 802.3 ah link is supported.
                                    enabled leaf Indicates whether OAM 802.3ah links are supported.
                                 speed leaf Port speed.
                                 speed leaf Port speed.
                           micro-bfd container Container of Micro-BFD configurations.
                           micro-bfd container Container of micro-BFD configurations.
                              enable leaf Micro BFD ON/OFF. By default, the micro-bfd is set to off.
                              enabled leaf Micro-BFD on/off. By default, micro-BFD is set to 'off'.
                              hold-timer leaf BFD hold timer.
                              hold-timer leaf BFD hold timer.
                              interval leaf BFD interval.
                              interval leaf BFD interval.
                           mini-link-num leaf Defines the minimum number of links that must be active before the aggregating link is put into service.
                           mini-link-num leaf Defines the minimum number of links that must be active before the aggregating link is put into service.
                           mode leaf LACP mode. LACP modes have auto negotiation mode and passive mode (false). Auto negotiation mode means initiating the auto speed negotiation and trying to form Ethernet Channel with other end. Passive mode means not initiating the negotiation, but respond...
                           mode leaf LACP mode. LACP modes have active mode and passive mode ('false'). 'Active mode' means initiating the auto-speed negotiation and trying to form an Ethernet channel with the other end. 'Passive mode' means not initiating the negotiation but responding t...
                           speed leaf LACP speed. By default, the lacp speed is 10Mbps.
                           speed leaf LACP speed. By default, the LACP speed is 10 Mbps.
                           system-priority leaf Indicates the LACP priority for the system. The range is from 0 to 65535. The default is 32768.
                           system-priority leaf Indicates the LACP priority for the system. The range is from 0 to 65535. The default is 32768.
                  oam container Container for Ethernet service OAM.
                  oam container Container for Ethernet Service OAM.
                     cfm-8021-ag list List of 802.1ag CFM attributes
                     cfm-8021-ag list List of 802.1ag CFM attributes.
                        alarm-priority-defect leaf The lowest priority defect that is allowed to generate a Fault Alarm.By default, fault-alarm-defect-type is set to remote-invalid-ccm. The non-existence of this leaf means that no defects are to be reported.
                        alarm-priority-defect leaf The lowest-priority defect that is allowed to generate a fault alarm. By default, 'fault-alarm-defect-type' is set to 'remote-invalid-ccm'. The non-existence of this leaf means that no defects are to be reported.
                        ccm-holdtime leaf CCM hold time. By default ccm hold time is 3.5 times of ccm interval.
                        ccm-holdtime leaf CCM hold time. By default, the CCM hold time is 3.5 times the CCM interval.
                        ccm-interval leaf Continuity Check Message(CCM) interval. By default, ccm-interval is 10 seconds.
                        ccm-interval leaf CCM interval. By default, the CCM interval is 10,000 milliseconds (10 seconds).
                        ccm-p-bits-pri leaf The priority parameter for CCMs transmitted by the MEP. The non-existence of this leaf means that no defects are to be reported.
                        ccm-p-bits-pri leaf The priority parameter for CCMs transmitted by the MEP. The non-existence of this leaf means that no defects are to be reported.
                        cos-for-cfm-pdus leaf COS for CFM PDUs. The non-existence of this leaf means that no defects are to be reported.
                        cos-for-cfm-pdus leaf CoS for CFM PDUs. The non-existence of this leaf means that no defects are to be reported.
                        maid leaf Identify an Maintenance Association (MA).
                        maid leaf Identifies a Maintenance Association (MA).
                        mep-id leaf Local Maintenance End Point (MEP) ID. The non-existence of this leaf means that no defects are to be reported.
                        mep-id leaf Local Maintenance Entity Group End Point (MEP) ID. The non-existence of this leaf means that no defects are to be reported.
                        mep-level leaf Define Maintenance End Point (MEP) level. The non-existence of this leaf means that no defects are to be reported.
                        mep-level leaf Defines the MEP level. The non-existence of this leaf means that no defects are to be reported.
                        mep-up-down leaf MEP up/down. By default, MEP up is used. The non-existence of this leaf means that no defects are to be reported.
                        mep-up-down leaf MEP up/down. By default, MEP up is used. The non-existence of this leaf means that no defects are to be reported.
                        remote-mep-id leaf Remote MEP ID. The non-existence of this leaf means that no defects are to be reported.
                        remote-mep-id leaf Remote MEP ID. The non-existence of this leaf means that no defects are to be reported.
                     md-level leaf Maintenance domain level. The level may be restricted in certain protocols (e.g., protocol in layer 0 to layer 7).
                     md-level leaf Maintenance domain level. The level may be restricted in certain protocols (e.g., protocols in Layer 0 to Layer 7).
                     md-name leaf Maintenance domain name.
                     md-name leaf Maintenance domain name.
                     y-1731 list List for y-1731.
                     y-1731 list List of configured Y-1731 instances.
                        cos leaf Class of service. The non-existence of this leaf means that no measurements are to be reported.
                        cos leaf CoS. The non-existence of this leaf means that no measurements are to be reported.
                        delay-measurement container Container for delay measurement.
                        delay-measurement container Container for delay measurement.
                           enable-dm leaf Whether to enable delay measurement. By defaut, the delay measurement is not enabled.
                           enable-dm leaf Indicates whether or not to enable delay measurement. By default, delay measurement is not enabled.
                           two-way leaf Whether delay measurement is two-way (true) of one- way (false). By default, one way measurement is enabled.
                           two-way leaf Indicates whether delay measurement is two-way ('true') or one-way ('false'). By default, one-way measurement is enabled.
                        frame-size leaf Frame size. The non-existence of this leaf means that no measurements are to be reported.
                        frame-size leaf Frame size. The non-existence of this leaf means that no measurements are to be reported.
                        loss-measurement leaf Whether enable loss measurement. By default, loss measurement is not enabled.
                        loss-measurement leaf Indicates whether or not to enable loss measurement. By default, loss measurement is not enabled.
                        maid leaf Identify an Maintenance Association (MA).
                        maid leaf Identifies an MA.
                        measurement-interval leaf Specifies the measurement interval for statistics. The measurement interval is expressed in seconds.
                        measurement-interval leaf Specifies the measurement interval for statistics. The measurement interval is expressed in seconds.
                        mep-id leaf Local Maintenance End Point(MEP) ID. The non-existence of this leaf means that no measurements are to be reported.
                        mep-id leaf Local MEP ID. The non-existence of this leaf means that no measurements are to be reported.
                        message-period leaf Defines the interval between Y.1731 performance monitoring messages. The message period is expressed in milliseconds.
                        message-period leaf Defines the interval between Y.1731 performance-monitoring messages. The message period is expressed in milliseconds.
                        remote-mep-id leaf Remote MEP ID. The non-existence of this leaf means that no measurements are to be reported.
                        remote-mep-id leaf Remote MEP ID. The non-existence of this leaf means that no measurements are to be reported.
                        session-type leaf Session type. By default, the session type is on demand mode. The non-existence of this leaf means that no measurements are to be reported.
                        session-type leaf Session type. By default, the session type is 'on-demand'. The non-existence of this leaf means that no measurements are to be reported.
                        synthethic-loss-measurement leaf Indicate whether enable synthetic loss measurement.By default, synthethic loss measurement is not enabled.
                        synthetic-loss-measurement leaf Indicates whether or not to enable synthetic loss measurement. By default, synthetic loss measurement is not enabled.
                        type leaf Performance monitor types. By default, the performance monitoring type is set to delay. The non-existence of this leaf means that no measurements are to be reported.
                        type leaf Performance-monitoring types. By default, the performance-monitoring type is set to 'delay'. The non-existence of this leaf means that no measurements are to be reported.
                  tagged-interface container Container for tagged Interface.
                  tagged-interface container Container for tagged interfaces.
                     dot1q-vlan-tagged container Tagged interface.
                     dot1q-vlan-tagged container Tagged interface.
                        cvlan-id leaf VLAN identifier.
                        cvlan-id leaf VLAN identifier.
                        tg-type leaf TAG type.By default, Tag type is Customer-VLAN tag.
                        tg-type leaf Tag type. By default, the tag type is 'c-vlan'.
                     priority-tagged container Priority tagged.
                     priority-tagged container Priority tagged.
                        tag-type leaf TAG type.By default, the TAG type is Customer-VLAN tag.
                        tag-type leaf Tag type. By default, the tag type is 'c-vlan'.
                     qinany container Container for Qin Any.
                     qinany container Container for QinAny.
                        svlan-id leaf S-Vlan ID.
                        svlan-id leaf SVLAN ID.
                        tag-type leaf Tag type.By default, the Tag type is Service-VLAN tag.
                        tag-type leaf Tag type. By default, the tag type is 's-vlan'.
                     qinq container QinQ.
                     qinq container QinQ.
                        cvlan-id leaf C-VLAN Identifier
                        cvlan-id leaf CVLAN identifier.
                        svlan-id leaf S-VLAN Identifier.
                        svlan-id leaf SVLAN identifier.
                        tag-type leaf Tag type. By default, the Tag type is c-s-vlan.
                        tag-type leaf Tag type. By default, the tag type is 'c-s-vlan'.
                     type leaf Tagged interface type. By default, the Tagged interface type is priority tagged interface.
                     type leaf Tagged interface type. By default, the type of the tagged interface is 'priority-tagged'.
                     vxlan container QinQ.
                     vxlan container QinQ.
                        peer-list list List for peer IP.
                        peer-list list List of peer IP addresses.
                           peer-ip leaf Peer IP.
                           peer-ip leaf Peer IP.
                        peer-mode leaf specify the vxlan access mode. By default the peer mode is Set as static mode.
                        peer-mode leaf Specifies the VXLAN access mode. By default, the peer mode is set to 'static-mode'.
                        vni-id leaf VNI Identifier.
                        vni-id leaf VXLAN Network Identifier (VNI).
                  untagged-interface container Container of Untagged Interface Attributes configurations.
                  untagged-interface container Container of untagged interface attribute configurations.
                     lldp leaf LLDP. Indicate LLDP is supported.
                     lldp leaf LLDP. Indicates that LLDP is supported.
                     mode leaf Negotiation mode.
                     mode leaf Negotiation mode.
                     oam-802.3ah-link container Container for oam 802.3 ah link.
                     oam-802.3ah-link container Container for OAM 802.3ah links.
                        enable leaf Indicate whether support oam 802.3 ah link
                        enabled leaf Indicates whether or not to support OAM 802.3ah links.
                     phy-mtu leaf PHY MTU.
                     phy-mtu leaf PHY MTU.
                     speed leaf Port speed.
                     speed leaf Port speed.
                     uni-loop-prevention leaf If this leaf set to truth that the port automatically goes down when a physical loopback is detect.
                     uni-loop-prevention leaf If this leaf is set to 'true', then the port automatically goes down when a physical loopback is detected.
               location-flavor choice Choice of how to describe the site's location.
               location-flavor choice Choice of how to describe the site's location.
                  device case device-reference
                  device case device-reference
                     device-reference leaf Identifier of CE to use.
                     device-reference leaf Identifier of the CE to use.
                  location case location-reference
                  location case location-reference
                     location-reference leaf Location of the site-network-access.
                     location-reference leaf Location of the site-network-access.
               mac-addr-limit container Container of MAC-Addr limit configurations
               mac-addr-limit container Container of MAC address limit configurations.
                  action leaf specify the action when the upper limit is exceeded: drop the packet, flood the packet, or simply send a warning log message. By default, action is set to warning.
                  action leaf Specifies the action taken when the upper limit is exceeded: drop the packet, flood the packet, or simply send a warning log message. By default, the action is set to 'warning'.
                  limit-number leaf maximum number of MAC addresses learned from the subscriber for a single service instance. The default allowed maximum number of MAC addresses is 2.
                  limit-number leaf Maximum number of MAC addresses learned from the subscriber for a single service instance. The default allowed maximum number of MAC addresses is 2.
                  time-interval leaf The aging time of the mac address. By default, the aging time is set 300 seconds.
                  time-interval leaf The aging time of the MAC address. By default, the aging time is set to 300 seconds.
               mac-loop-prevention container Container of MAC loop prevention.
               mac-loop-prevention container Container of MAC loop-prevention parameters.
                  frequency leaf The number of times to detect MAC duplication. When duplicate-MAC situation has occurred and the duplicated MAC is added into to a duplicate-MAC list. By default, the number of times is 5.
                  frequency leaf The number of times to detect MAC duplication, where a 'duplicate MAC address' situation has occurred and the duplicate MAC address has been added to a list of duplicate MAC addresses. By default, the number of times is 5.
                  protection-type leaf Protection type. By default, the protection type is trap protection type.
                  protection-type leaf Protection type. By default, the protection type is 'trap'.
                  retry-timer leaf The retry timer. When retry timer expires, the duplicated MAC will be flushed from the MAC-VRF.
                  retry-timer leaf The retry timer. When the retry timer expires, the duplicate MAC address will be flushed from the MAC-VRF.
               network-access-id leaf Identifier of network access
               network-access-id leaf Identifier of network access.
               remote-carrier-name leaf Remote carrier name. The remote-carrier-name must be configured only when site-vpn-flavor is set to site vpn-flavor-nni. If it is not set,it indicates customer does not know remote carrier name beforehand.
               remote-carrier-name leaf Remote carrier name. The 'remote-carrier-name' parameter must be configured only when 'site-vpn-flavor' is set to 'site-vpn-flavor-nni'. If it is not set, it indicates that the customer does not know the remote carrier's name beforehand.
               service container Container for service
               service container Container for services.
                  carrierscarrier container Container for carrierscarrier
                  carrierscarrier container Container for CsC.
                     signaling-type leaf Carrierscarrier. By default,the signaling type is bgp.
                     signaling-type leaf CsC. By default, the signaling type is 'bgp'.
                  qos container QoS configuration.
                  qos container QoS configuration.
                     classification-policy container Configuration of the traffic classification policy.
                        rule list List of marking rules.
                           id leaf A description identifying qos classification policy rule.
                           match-type choice Choice for classification
                              match-application case match-application
                                 match-application leaf Defines the application to match.
                              match-flow case match-flow
                                 match-flow container Describe flow matching criteria.
                                    any leaf Allow all.
                                    color-type leaf Color Types.
                                    dot1q leaf 802.1q matching. It is VLAN Tag added into frame.
                                    dscp leaf DSCP value.
                                    dst-mac leaf Destination MAC.
                                    pcp leaf PCP value.
                                    src-mac leaf Source MAC
                                    target-sites leaf-list Identify a site as traffic destination.
                                    vpn-id leaf Reference to the target VPN.
                           target-class-id leaf Identification of the class of service. This identifier is internal to the administration.
                     qos-classification-policy container Configuration of the traffic classification policy.
                        rule list List of marking rules.
                           id leaf A description identifying the QoS classification policy rule.
                           match-type choice Choice for classification.
                              match-application case match-application
                                 match-application leaf Defines the application to match.
                              match-flow case match-flow
                                 match-flow container Describes flow-matching criteria.
                                    any leaf Allow all.
                                    color-type leaf Color types.
                                    dot1q leaf 802.1Q matching. It is a VLAN tag added into a frame.
                                    dscp leaf DSCP value.
                                    dst-mac leaf Destination MAC.
                                    pcp leaf PCP value.
                                    src-mac leaf Source MAC.
                                    target-sites leaf-list Identifies a site as a traffic destination.
                                    vpn-id leaf Reference to the target VPN.
                           target-class-id leaf Identification of the CoS. This identifier is internal to the administration.
                     qos-profile container Qos profile configuration.
                     qos-profile container Qos profile configuration.
                        qos-profile choice Choice for QoS profile. Can be standard profile or customized profile.
                        qos-profile choice Choice for the QoS profile. Can be a standard profile or a customized profile.
                           custom case Customized QoS profile.
                           custom case Customized QoS profile.
                              classes container Container for list of class of services.
                              classes container Container for list of CoS entries.
                                 class list List of class of services.
                                 class list List of CoS entries.
                                    bandwidth container Bandwidth constraint on the traffic class.
                                    bandwidth container Bandwidth constraint on the traffic class.
                                       end-to-end leaf Used if the bandwidth reservation must be done on the MPLS network too.
                                       end-to-end leaf Used if the bandwidth reservation must be done on the MPLS network too.
                                       guaranteed-bw-percent leaf To be used to define the guaranteed bandwidth as a percentage of the available service bandwidth.
                                       guaranteed-bw-percent leaf Used to define the guaranteed bandwidth as a percentage of the available service bandwidth.
                                    byte-offset leaf For not including extra VLAN tags in the QoS calculation.
                                    byte-offset leaf Number of bytes in the service frame header that are excluded from the QoS calculation (e.g., extra VLAN tags).
                                    class-id leaf Identification of the class of service. This identifier is internal to the administration.
                                    class-id leaf Identification of the CoS. This identifier is internal to the administration.
                                    direction leaf The direction which QoS profile is applied to. By default,the direction is bidirectional.
                                    direction leaf The direction in which the QoS profile is applied. By default, the direction is bidirectional.
                                    frame-delay container Delay constraint on the traffic class.
                                    frame-delay container Delay constraint on the traffic class.
                                       flavor choice Delay constraint on the traffic class.
                                       flavor choice Delay constraint on the traffic class.
                                          boundary case delay-bound
                                          boundary case delay-bound
                                             delay-bound leaf The traffic class should use a path with a defined maximum delay.
                                             delay-bound leaf The traffic class should use a path with a defined maximum delay.
                                          lowest case use-lowest-latency
                                          lowest case use-lowest-latency
                                             use-lowest-latency leaf The traffic class should use the lowest delay path.
                                             use-lowest-latency leaf The traffic class should use the path with the lowest delay.
                                    frame-jitter container Jitter constraint on the traffic class.
                                    frame-jitter container Jitter constraint on the traffic class.
                                       flavor choice Jitter constraint on the traffic class.
                                       flavor choice Jitter constraint on the traffic class.
                                          boundary case delay-bound
                                          boundary case delay-bound
                                             delay-bound leaf The traffic class should use a path with a defined maximum jitter.
                                             delay-bound leaf The traffic class should use a path with a defined maximum jitter.
                                          lowest case use-lowest-jitter
                                          lowest case use-lowest-jitter
                                             use-lowest-jitter leaf The traffic class should use the lowest jitter path.
                                             use-lowest-jitter leaf The traffic class should use the path with the lowest jitter.
                                    frame-loss container Container for frame loss rate.
                                    frame-loss container Container for frame loss rate.
                                       rate leaf Frame Loss rate constraint on the traffic class.
                                       rate leaf Frame loss rate constraint on the traffic class.
                                    policing leaf The policing can be either one-rate, two-color (1R2C) or two-rate, three-color (2R3C). By default, the policing is on rate two color.
                                    policing leaf The policing type can be either one-rate, two-color (1R2C) or two-rate, three-color (2R3C). By default, the policing type is 'one-rate-two-color'.
                           standard case Standard QoS profile.
                           standard case Standard QoS profile.
                              profile leaf QoS Profile to be used.
                              profile leaf QoS profile to be used.
                  svc-bandwidth container From the customer site's perspective, the service input/out bandwidth of the connection or download/upload bandwidth from the SP/site to the site/SP.
                  svc-bandwidth container From the customer site's perspective, the service input/output bandwidth of the connection or download/upload bandwidth from the SP/site to the site/SP.
                     bandwidth list List for bandwidth.
                     bandwidth list List of bandwidth values (e.g., per CoS, per vpn-id).
                        cbs leaf Committed Burst Size.CBS controls the bursty nature of the traffic. Traffic that does not use the configured CIR accumulates credits until the credits reach the configured CBS.
                        cbs leaf Committed Burst Size (CBS). Controls the bursty nature of the traffic. Traffic that does not use the configured Committed Information Rate (CIR) accumulates credits until the credits reach the configured CBS.
                        cir leaf Committed Information Rate. The maximum number of bits that a port can receive or send during one-second over an interface.
                        cir leaf Committed Information Rate. The maximum number of bits that a port can receive or send over an interface in one second.
                        cos-id leaf Identifier of Class of Service , indicated by DSCP or a CE-CLAN CoS(802.1p)value in the service frame. If bandwidth type is set as bandwidth per cos, cos-id MUST be specified.
                        cos-id leaf Identifier of the CoS, indicated by DSCP or a CE-VLAN CoS (802.1p) value in the service frame. If the bandwidth type is set to 'bw-per-cos', the CoS ID MUST also be specified.
                        direction leaf Indicate the bandwidth direction. It can be bandwidth download direction from the SP to the site or bandwidth upload direction from the site to the SP.
                        direction leaf Indicates the bandwidth direction. It can be the bandwidth download direction from the SP to the site or the bandwidth upload direction from the site to the SP.
                        ebs leaf Excess Burst Size. The bandwidth available for burst traffic from the EBS is subject to the amount of bandwidth that is accumulated during periods when traffic allocated by the EIR policy is not used.
                        ebs leaf Excess Burst Size (EBS). The bandwidth available for burst traffic from the EBS is subject to the amount of bandwidth that is accumulated during periods when traffic allocated by the EIR policy is not used.
                        eir leaf Excess Information Rate,i.e.,Excess frame delivery allowed not subject to SLA.The traffic rate can be limited by eir.
                        eir leaf Excess Information Rate (EIR), i.e., excess frame delivery allowed that is not subject to an SLA. The traffic rate can be limited by the EIR.
                        pbs leaf Peak Burst Size. It is measured in bytes per second.
                        pbs leaf Peak Burst Size. It is measured in bytes per second.
                        pir leaf Peak Information Rate, i.e., maixmum frame delivery allowed.It is equal to or less than sum of cir and eir.
                        pir leaf Peak Information Rate, i.e., maximum frame delivery allowed. It is equal to or less than the sum of the CIR and the EIR.
                        type leaf Bandwidth Type. By default, the bandwidth type is set as bandwidth per cos.
                        type leaf Bandwidth type. By default, the bandwidth type is set to 'bw-per-cos'.
                        vpn-id leaf Identifies the target VPN. If bandwidth type is set as bandwidth per VPN service, vpn-id MUST be specified.
                        vpn-id leaf Identifies the target VPN. If the bandwidth type is set as bandwidth per VPN service, the vpn-id MUST be specified.
                  svc-mtu leaf SVC MTU, it is also known as the maximum transmission unit or maximum frame size,When a frame is larger than the MTU, it is broken down, or fragmented, into smaller pieces by the network protocol to accommodate the MTU of the network. If CsC is enabled,th...
                  svc-mtu leaf SVC MTU. It is also known as the maximum transmission unit or maximum frame size. When a frame is larger than the MTU, it is broken down, or fragmented, into smaller pieces by the network protocol to accommodate the MTU of the network. If CsC is enable...
               type leaf Describes the type of connection, e.g., point-to-point or multipoint.
               type leaf Describes the type of connection, e.g., point-to-point or multipoint.
               vpn-attachment container Defines VPN attachment of a site.
               vpn-attachment container Defines the VPN attachment of a site.
                  attachment-flavor choice Choice for VPN attachment flavor.
                  attachment-flavor choice Choice for the VPN attachment flavor.
                     vpn-id case vpn-id site-role
                     vpn-id case vpn-id site-role
                        site-role leaf Role of the site in the L2VPN. When referencing a vpn-id, the site-role setting must be added to express the role of the site in the target VPN service topology.
                        site-role leaf Role of the site in the L2VPN. When referencing a vpn-id, the site-role setting must be added to express the role of the site in the target VPN service topology.
                        vpn-id leaf Reference to a L2VPN. Referencing a vpn-id provides an easy way to attach a particular logical access to a VPN. In this case, vpn-id must be configured.
                        vpn-id leaf Reference to an L2VPN. Referencing a vpn-id provides an easy way to attach a particular logical access to a VPN. In this case, the vpn-id must be configured.
                     vpn-policy-id case vpn-policy-id
                     vpn-policy-id case vpn-policy-id
                        vpn-policy-id leaf Reference to a vpn policy.
                        vpn-policy-id leaf Reference to a VPN policy.
         site-vpn-flavor leaf Defines the way the VPN multiplexing is done ,e.g.,whether the site belongs to a single VPN site or a multiVPN; By default, the site belongs to a single VPN.
         site-vpn-flavor leaf Defines the way that the VPN multiplexing is done, e.g., whether the site belongs to a single VPN site or a multi-VPN site. By default, the site belongs to a single VPN.
         vpn-policies container VPN policy.
         vpn-policies container VPN policy.
            vpn-policy list List of VPN policies.
            vpn-policy list List of VPN policies.
               entries list List of entries for export policy.
               entries list List of entries for an export policy.
                  filters container If a more-granular VPN attachment is necessary, filtering can be used. If used, it permits the splitting of site LANs among multiple VPNs. The Site LAN can be split based on either LAN-tag or LAN prefix. If no filter is used, all the LANs will be part of ...
                  filters container If a more granular VPN attachment is necessary, filtering can be used. If used, it permits the splitting of site LANs among multiple VPNs. The site LAN can be split based on either the LAN tag or the LAN prefix. If no filter is used, all the LANs will ...
                     filter list List of filters used on the site. This list can be augmented.
                     filter list List of filters used on the site. This list can be augmented.
                        lan-tag leaf-list List of Ethernet LAN Tag to be matched. Ethernet LAN Tag identifies a particular broadcast domain in a VPN.
                        lan-tag leaf-list List of Ethernet LAN tags to be matched. An Ethernet LAN tag identifies a particular broadcast domain in a VPN.
                        type leaf Type of VPN Policy filter.
                        type leaf Type of VPN policy filter.
                  id leaf Unique identifier for the policy entry.
                  id leaf Unique identifier for the policy entry.
                  vpn list List of VPNs the LAN is associated with.
                  vpn list List of VPNs with which the LAN is associated.
                     site-role leaf Role of the site in the L2VPN.
                     site-role leaf Role of the site in the L2VPN.
                     vpn-id leaf Reference to L2VPN.
                     vpn-id leaf Reference to an L2VPN.
               vpn-policy-id leaf Unique identifier for the VPN policy.
               vpn-policy-id leaf Unique identifier for the VPN policy.
   vpn-profiles container Container for VPN Profiles.
   vpn-profiles container Container for VPN profiles.
      valid-provider-identifiers container Container for Valid Provider Identifies.
      valid-provider-identifiers container Container for valid provider identifiers.
         bfd-profile-identifier leaf-list Identification of the SP BFD Profile to be used. Local administration meaning.
         bfd-profile-identifier leaf-list Identification of the SP BFD profile to be used. Local to each administration.
         cloud-identifier leaf-list Identification of public cloud service or internet service. Local administration meaning.
         cloud-identifier leaf-list Identification of the public cloud service or Internet service. Local to each administration.
         qos-profile-identifier leaf-list Identification of the QoS Profile to be used. Local administration meaning.
         qos-profile-identifier leaf-list Identification of the QoS profile to be used. Local to each administration.
         remote-carrier-identifier leaf-list Identification of the remote carrier name to be used. It can be L2VPN partner, Data center service provider or private cloud service provider. Local administration meaning.
         remote-carrier-identifier leaf-list Identification of the remote carrier name to be used. It can be an L2VPN partner, data-center SP, or private CSP. Local to each administration.
   vpn-services container Container for VPN services.
   vpn-services container Container for VPN services.
      vpn-service list List of vpn services.
      vpn-service list List of VPN services.
         carrierscarrier leaf The VPN is using CsC, and so MPLS is required.
         carrierscarrier leaf The VPN is using CsC, and so MPLS is required.
         ce-vlan-cos-perservation leaf CE vlan CoS preservation. PCP bits in the CE-VLAN tag of the egress frame are identical to those of the ingress frame that yielded this egress service frame.
         ce-vlan-cos-preservation leaf CE VLAN CoS preservation. The PCP bits in the CE-VLAN tag of the egress frame are identical to those of the ingress frame that yielded this egress service frame.
         ce-vlan-preservation leaf Preserve the CE-VLAN ID from ingress to egress,i.e., CE-VLAN tag of the egress frame are identical to those of the ingress frame that yielded this egress service frame. If All-to-One bundling within a site is Enabled, then preservation applies to all Ingr...
         ce-vlan-preservation leaf Preserves the CE-VLAN ID from ingress to egress, i.e., the CE-VLAN tag of the egress frame is identical to that of the ingress frame that yielded this egress service frame. If all-to-one bundling within a site is enabled, then preservation applies to all...
         cloud-accesses container Container for cloud access configurations
         cloud-accesses container Container for cloud access configurations.
            cloud-access list Cloud access configuration.
            cloud-access list Cloud access configuration.
               cloud-identifier leaf Identification of cloud service. Local administration meaning.
               cloud-identifier leaf Identification of the cloud service. Local to each administration.
               list-flavor choice Choice for cloud access policy. By default, all sites in the L2VPN MUST be authorized to access the cloud.
               list-flavor choice Choice for cloud access policy. By default, all sites in the L2VPN MUST be authorized to access the cloud.
                  deny-any-except case permit-site
                  deny-any-except case permit-site
                     permit-site leaf-list Site ID to be authorized.
                     permit-site leaf-list Site ID to be authorized.
                  permit-any case permit-any
                  permit-any case permit-any
                  permit-any-except case deny-site
                  permit-any-except case deny-site
                     deny-site leaf-list Site ID to be denied.
                     deny-site leaf-list Site ID to be denied.
                     permit-any leaf Allow all sites.
                     permit-any leaf Allow all sites.
         customer-name leaf Customer name.
         customer-name leaf Customer name.
         extranet-vpns container Container for extranet VPN configuration.
         extranet-vpns container Container for extranet VPN configurations.
            extranet-vpn list List of extranet VPNs the local VPN is attached to.
            extranet-vpn list List of extranet VPNs to which the local VPN is attached.
               local-sites-role leaf This describes the role of the local sites in the target VPN topology. In the any-to-any VPN service topology, the local sites must have the same role, which will be 'any-to-any-role '. In the Hub-and-Spoke VPN service topology or the Hub and Spoke disjoi...
               local-sites-role leaf Describes the role of the local sites in the target VPN topology. In the any-to-any VPN service topology, the local sites must have the same role, which will be 'any-to-any-role'. In the Hub-and-Spoke VPN service topology or the Hub-and-Spoke-Disjoint V...
               vpn-id leaf Identifies the target VPN the local VPN want to access.
               vpn-id leaf Identifies the target VPN that the local VPN wants to access.
         frame-delivery container Multicast global parameters for the VPN service.
         frame-delivery container Multicast global parameters for the VPN service.
            bum-deliveries container Define frame delivery type and mode.
            bum-deliveries container Defines the frame delivery types and modes.
               bum-delivery list List of frame delivery type and mode.
               bum-delivery list List of frame delivery types and modes.
                  delivery-mode leaf Define Frame Delivery Mode (unconditional[default], conditional, or discard). By default, Service Frames are unconditionally delivered to the destination.
                  delivery-mode leaf Defines the frame delivery mode ('unconditional' (default), 'conditional', or 'discard'). By default, service frames are unconditionally delivered to the destination site.
                  frame-type leaf Type of frame delivery. It support unicast frame delivery, multicast frame delivery and broadcast frame delivery.
                  frame-type leaf Type of frame delivery. It supports unicast frame delivery, multicast frame delivery, and broadcast frame delivery.
            customer-tree-flavors container Type of trees used by customer.
            customer-tree-flavors container Types of trees used by the customer.
               tree-flavor leaf-list Type of tree to be used.
               tree-flavor leaf-list Type of tree to be used.
            multicast-gp-port-mapping leaf Describe the way in which each interface is associated with the Multicast group
            multicast-gp-port-mapping leaf Describes the way in which each interface is associated with the multicast group.
         svc-topo leaf Defining service topology, such as any-to-any,hub-spoke, etc.
         svc-topo leaf Defines the service topology, e.g., 'any-to-any', 'hub-spoke'.
         vpn-id leaf Defining a service id.
         vpn-id leaf Defines a service identifier.
         vpn-svc-type leaf Service type. By default, the service type is VPWS.
         vpn-svc-type leaf Service type. By default, the service type is 'vpws'.