netconfcentral logo

ietf-l3vpn-svc

HTML

ietf-l3vpn-svc@2017-01-27



  module ietf-l3vpn-svc {

    yang-version 1;

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

    prefix l3vpn-svc;

    import ietf-inet-types {
      prefix inet;
    }
    import ietf-yang-types {
      prefix yang;
    }

    organization "IETF L3SM Working Group";

    contact
      "WG List: <mailto:l3sm@ietf.org>

  Editor:
   L3SM WG

  Chairs:
   Adrian Farrel, Qin Wu
  ";

    description
      "This YANG module defines a generic service configuration
  model for Layer 3 VPNs.  This model is common across all
  vendor implementations.";

    revision "2017-01-27" {
      description "Initial document.";
      reference
        "RFC 8049.";

    }


    feature cloud-access {
      description
        "Allows the VPN to connect to a CSP.";
    }

    feature multicast {
      description
        "Enables multicast capabilities in a VPN.";
    }

    feature ipv4 {
      description
        "Enables IPv4 support in a VPN.";
    }

    feature ipv6 {
      description
        "Enables IPv6 support in a VPN.";
    }

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

    feature extranet-vpn {
      description
        "Enables support of extranet VPNs.";
    }

    feature site-diversity {
      description
        "Enables support of site diversity constraints.";
    }

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

    feature qos {
      description
        "Enables support of classes of services.";
    }

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

    feature rtg-bgp {
      description
        "Enables support of the BGP routing protocol.";
    }

    feature rtg-rip {
      description
        "Enables support of the RIP routing protocol.";
    }

    feature rtg-ospf {
      description
        "Enables support of the OSPF routing protocol.";
    }

    feature rtg-ospf-sham-link {
      description
        "Enables support of OSPF sham links.";
    }

    feature rtg-vrrp {
      description
        "Enables support of the VRRP routing protocol.";
    }

    feature fast-reroute {
      description
        "Enables support of Fast Reroute.";
    }

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

    feature always-on {
      description
        "Enables support of the 'always-on' access constraint.";
    }

    feature requested-type {
      description
        "Enables support of the 'requested-type' access constraint.";
    }

    feature bearer-reference {
      description
        "Enables support of the 'bearer-reference' access constraint.";
    }

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

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

    typedef address-family {
      type enumeration {
        enum "ipv4" {
          value 0;
          description "IPv4 address family.";
        }
        enum "ipv6" {
          value 1;
          description "IPv6 address family.";
        }
      }
      description
        "Defines a type for the address family.";
    }

    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 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 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 site-vpn-flavor {
      base 
      description
        "Base identity for the site VPN service flavor.";
    }

    identity site-vpn-flavor-single {
      base site-vpn-flavor;
      description
        "Base 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
        "Base identity for the site VPN service flavor.
   Used when a logical connection of a site
   belongs to multiple VPNs.";
    }

    identity site-vpn-flavor-sub {
      base site-vpn-flavor;
      description
        "Base identity for the site VPN service flavor.
   Used when a site has multiple logical connections.
   Each connection may belong to different multiple VPNs.";
    }

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

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

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

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

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

    identity address-allocation-type {
      base 
      description
        "Base identity for address-allocation-type for PE-CE link.";
    }

    identity provider-dhcp {
      base address-allocation-type;
      description
        "Provider network provides DHCP service to customer.";
    }

    identity provider-dhcp-relay {
      base address-allocation-type;
      description
        "Provider network provides DHCP relay service to customer.";
    }

    identity provider-dhcp-slaac {
      base address-allocation-type;
      description
        "Provider network provides DHCP service to customer,
   as well as SLAAC.";
    }

    identity static-address {
      base address-allocation-type;
      description
        "Provider-to-customer addressing is static.";
    }

    identity slaac {
      base address-allocation-type;
      description "Use IPv6 SLAAC.";
    }

    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 IP VPN.";
    }

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

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

    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-and-Spoke VPN topology.";
    }

    identity hub-spoke-disjoint {
      base vpn-topology;
      description
        "Identity for Hub-and-Spoke VPN topology
   where Hubs cannot communicate with each other.";
    }

    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 multicast-rp-discovery-type {
      base 
      description
        "Base identity for RP discovery type.";
    }

    identity auto-rp {
      base multicast-rp-discovery-type;
      description
        "Base identity for Auto-RP discovery type.";
    }

    identity static-rp {
      base multicast-rp-discovery-type;
      description
        "Base identity for static type.";
    }

    identity bsr-rp {
      base multicast-rp-discovery-type;
      description
        "Base identity for BSR discovery type.";
    }

    identity routing-protocol-type {
      base 
      description
        "Base identity for routing protocol type.";
    }

    identity ospf {
      base routing-protocol-type;
      description
        "Identity for OSPF protocol type.";
    }

    identity bgp {
      base routing-protocol-type;
      description
        "Identity for BGP protocol type.";
    }

    identity static {
      base routing-protocol-type;
      description
        "Identity for static routing protocol type.";
    }

    identity rip {
      base routing-protocol-type;
      description
        "Identity for RIP protocol type.";
    }

    identity vrrp {
      base routing-protocol-type;
      description
        "Identity for VRRP protocol type.
   This is to be used when LANs are directly connected
   to PE routers.";
    }

    identity direct {
      base routing-protocol-type;
      description
        "Identity for direct protocol type.";
    }

    identity protocol-type {
      base 
      description
        "Base identity for protocol field type.";
    }

    identity tcp {
      base protocol-type;
      description "TCP protocol type.";
    }

    identity udp {
      base protocol-type;
      description "UDP protocol type.";
    }

    identity icmp {
      base protocol-type;
      description "ICMP protocol type.";
    }

    identity icmp6 {
      base protocol-type;
      description "ICMPv6 protocol type.";
    }

    identity gre {
      base protocol-type;
      description "GRE protocol type.";
    }

    identity ipip {
      base protocol-type;
      description "IP-in-IP protocol type.";
    }

    identity hop-by-hop {
      base protocol-type;
      description
        "Hop-by-Hop IPv6 header type.";
    }

    identity routing {
      base protocol-type;
      description
        "Routing IPv6 header type.";
    }

    identity esp {
      base protocol-type;
      description "ESP header type.";
    }

    identity ah {
      base protocol-type;
      description "AH header type.";
    }

    grouping vpn-service-cloud-access {
      description
        "Grouping for VPN cloud definition.";
      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 string;
            description
              "Identification of cloud service.
     Local administration meaning.";
          }

          choice list-flavor {
            description
              "Choice for cloud access policy.";
            leaf permit-any {
              type empty;
              description
                "Allows all sites.";
            }
            leaf-list permit-site {
              type leafref {
                path
                  "/l3vpn-svc/sites/site/site-id";
              }
              description
                "Site ID to be authorized.";
            }
            leaf-list deny-site {
              type leafref {
                path
                  "/l3vpn-svc/sites/site/site-id";
              }
              description
                "Site ID to be denied.";
            }
          }  // choice list-flavor

          container authorized-sites {
            description
              "Configuration of authorized sites.";
            list authorized-site {
              key "site-id";
              description
                "List of authorized sites.";
              leaf site-id {
                type leafref {
                  path
                    "/l3vpn-svc/sites/site/site-id";
                }
                description "Site ID.";
              }
            }  // list authorized-site
          }  // container authorized-sites

          container denied-sites {
            description
              "Configuration of denied sites.";
            list denied-site {
              key "site-id";
              description
                "List of denied sites.";
              leaf site-id {
                type leafref {
                  path
                    "/l3vpn-svc/sites/site/site-id";
                }
                description "Site ID.";
              }
            }  // list denied-site
          }  // container denied-sites

          container address-translation {
            description "Container for NAT.";
            container nat44 {
              description
                "IPv4-to-IPv4 translation.";
              leaf enabled {
                type boolean;
                default 'false';
                description
                  "Controls whether or not address translation is required.";
              }

              leaf nat44-customer-address {
                type inet:ipv4-address;
                must "../enabled = 'true'" {
                  description
                    "Applicable only if address translation is enabled.";
                }
                description
                  "Address to be used for translation.
       This is to be used if the customer is
       providing the address.";
              }
            }  // container nat44
          }  // container address-translation
        }  // list cloud-access
      }  // container cloud-accesses
    }  // grouping vpn-service-cloud-access

    grouping multicast-rp-group-cfg {
      description
        "Definition of groups for RP-to-group mapping.";
      choice group-format {
        description
          "Choice for group format.";
        case startend {
          leaf group-start {
            type inet:ip-address;
            description
              "First group address.";
          }

          leaf group-end {
            type inet:ip-address;
            description
              "Last group address.";
          }
        }  // case startend
        leaf group-address {
          type inet:ip-address;
          description "Group address.";
        }
      }  // choice group-format
    }  // grouping multicast-rp-group-cfg

    grouping vpn-service-multicast {
      description
        "Grouping for multicast VPN definition.";
      container multicast {
        if-feature multicast;
        description
          "Multicast global parameters for the VPN service.";
        leaf enabled {
          type boolean;
          default 'false';
          description "Enables multicast.";
        }

        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 rp {
          description "RP parameters.";
          container rp-group-mappings {
            description
              "RP-to-group mappings.";
            list rp-group-mapping {
              key "id";
              description
                "List of RP-to-group mappings.";
              leaf id {
                type uint16;
                description
                  "Unique identifier for the mapping.";
              }

              container provider-managed {
                description
                  "Parameters for a provider-managed RP.";
                leaf enabled {
                  type boolean;
                  default 'false';
                  description
                    "Set to true if the RP must be a provider-managed node.
         Set to false if it is a customer-managed node.";
                }

                leaf rp-redundancy {
                  when "../enabled = 'true'" {
                    description
                      "Relevant when the RP is provider-managed.";
                  }
                  type boolean;
                  default 'false';
                  description
                    "If true, a redundancy mechanism for the RP is required.";
                }

                leaf optimal-traffic-delivery {
                  when "../enabled = 'true'" {
                    description
                      "Relevant when the RP is provider-managed.";
                  }
                  type boolean;
                  default 'false';
                  description
                    "If true, the SP must ensure that
         traffic uses an optimal path.";
                }
              }  // container provider-managed

              leaf rp-address {
                when
                  "../provider-managed/enabled = 'false'" {
                  description
                    "Relevant when the RP is provider-managed.";
                }
                type inet:ip-address;
                description
                  "Defines the address of the RP.
        Used if the RP is customer-managed.";
              }

              container groups {
                description
                  "Multicast groups associated with the RP.";
                list group {
                  key "id";
                  description
                    "List of groups.";
                  leaf id {
                    type uint16;
                    description
                      "Identifier for the group.";
                  }

                  uses multicast-rp-group-cfg;
                }  // list group
              }  // container groups
            }  // list rp-group-mapping
          }  // container rp-group-mappings

          container rp-discovery {
            description
              "RP discovery parameters.";
            leaf rp-discovery-type {
              type identityref {
                base multicast-rp-discovery-type;
              }
              default 'static-rp';
              description
                "Type of RP discovery used.";
            }

            container bsr-candidates {
              when
                "../rp-discovery-type = 'bsr-rp'" {
                description
                  "Only applicable if discovery type is BSR-RP.";
              }
              description
                "Customer BSR candidate's address.";
              leaf-list bsr-candidate-address {
                type inet:ip-address;
                description
                  "Address of BSR candidate.";
              }
            }  // container bsr-candidates
          }  // container rp-discovery
        }  // container rp
      }  // container multicast
    }  // grouping vpn-service-multicast

    grouping vpn-service-mpls {
      description
        "Grouping for MPLS CsC definition.";
      leaf carrierscarrier {
        if-feature carrierscarrier;
        type boolean;
        default 'false';
        description
          "The VPN is using CsC, and so MPLS is required.";
      }
    }  // grouping vpn-service-mpls

    grouping customer-location-info {
      description
        "This grouping defines customer location parameters.";
      container locations {
        description
          "List of locations for the site.";
        list location {
          key "location-id";
          description
            "Location of the site.";
          leaf location-id {
            type svc-id;
            description
              "Identifier for a particular location.";
          }

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

          leaf postal-code {
            type string;
            description
              "Postal code of the site.";
          }

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

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

          leaf country-code {
            type string {
              pattern '[A-Z]{2}';
            }
            description
              "Country of the site.
      Expressed as ISO ALPHA-2 code.";
          }
        }  // list location
      }  // container locations
    }  // grouping customer-location-info

    grouping site-group {
      description
        "Grouping definition to assign
   group-ids to site or site-network-access.";
      container groups {
        description
          "Groups the site or site-network-access belongs to.";
        list group {
          key "group-id";
          description "List of group-ids.";
          leaf group-id {
            type string;
            description
              "Group-id the site belongs to.";
          }
        }  // list group
      }  // container groups
    }  // grouping site-group

    grouping site-diversity {
      description
        "This grouping defines site diversity parameters.";
      container site-diversity {
        if-feature site-diversity;
        description
          "Diversity constraint type.
     All site-network-accesses will inherit the group values
     defined here.";
        uses site-group;
      }  // container site-diversity
    }  // grouping site-diversity

    grouping access-diversity {
      description
        "This grouping defines access diversity parameters.";
      container access-diversity {
        if-feature site-diversity;
        description "Diversity parameters.";
        uses site-group;

        container constraints {
          description
            "Placement constraints for 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 be applied against
        this list of groups.";
              choice target-flavor {
                description
                  "Choice for the group definition.";
                list group {
                  key "group-id";
                  description
                    "List of groups.";
                  leaf group-id {
                    type string;
                    description
                      "The constraint will be applied against
            this particular group-id.";
                  }
                }  // list group
                leaf all-other-accesses {
                  type empty;
                  description
                    "The constraint will be applied against
           all other site network accesses of this site.";
                }
                leaf all-other-groups {
                  type empty;
                  description
                    "The constraint will be applied against
           all other groups managed by the customer.";
                }
              }  // choice target-flavor
            }  // container target
          }  // list constraint
        }  // container constraints
      }  // container access-diversity
    }  // grouping access-diversity

    grouping operational-requirements {
      description
        "This grouping defines some operational parameters.";
      leaf requested-site-start {
        type yang:date-and-time;
        description
          "Optional leaf indicating requested date and time when the
       service at a particular site is expected to start.";
      }

      leaf requested-site-stop {
        type yang:date-and-time;
        description
          "Optional leaf indicating requested date and time when the
       service at a particular site is expected to stop.";
      }
    }  // grouping operational-requirements

    grouping operational-requirements-ops {
      description
        "This grouping defines some operational parameters.";
      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.";
      }
    }  // grouping operational-requirements-ops

    grouping flow-definition {
      description
        "Flow definition based on criteria.";
      container match-flow {
        description
          "Describes flow-matching criteria.";
        leaf dscp {
          type inet:dscp;
          description "DSCP value.";
        }

        leaf dot1p {
          type uint8 {
            range "0..7";
          }
          description "802.1p matching.";
        }

        leaf ipv4-src-prefix {
          type inet:ipv4-prefix;
          description
            "Match on IPv4 src address.";
        }

        leaf ipv6-src-prefix {
          type inet:ipv6-prefix;
          description
            "Match on IPv6 src address.";
        }

        leaf ipv4-dst-prefix {
          type inet:ipv4-prefix;
          description
            "Match on IPv4 dst address.";
        }

        leaf ipv6-dst-prefix {
          type inet:ipv6-prefix;
          description
            "Match on IPv6 dst address.";
        }

        leaf l4-src-port {
          type inet:port-number;
          description
            "Match on Layer 4 src port.";
        }

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

        container l4-src-port-range {
          description
            "Match on Layer 4 src port range.";
          leaf lower-port {
            type inet:port-number;
            description
              "Lower boundary for port.";
          }

          leaf upper-port {
            type inet:port-number;
            must ". >= ../lower-port" {
              description
                "Upper boundary must be higher than lower boundary.";
            }
            description
              "Upper boundary for port.";
          }
        }  // container l4-src-port-range

        leaf l4-dst-port {
          type inet:port-number;
          description
            "Match on Layer 4 dst port.";
        }

        container l4-dst-port-range {
          description
            "Match on Layer 4 dst port range.";
          leaf lower-port {
            type inet:port-number;
            description
              "Lower boundary for port.";
          }

          leaf upper-port {
            type inet:port-number;
            must ". >= ../lower-port" {
              description
                "Upper boundary must be higher than lower boundary.";
            }
            description
              "Upper boundary for port.";
          }
        }  // container l4-dst-port-range

        leaf protocol-field {
          type union {
            type uint8;
            type identityref {
              base protocol-type;
            }
          }
          description
            "Match on IPv4 protocol or IPv6 Next Header field.";
        }
      }  // container match-flow
    }  // grouping flow-definition

    grouping site-service-basic {
      description
        "Defines basic service parameters for a site.";
      leaf svc-input-bandwidth {
        type uint32;
        units "bps";
        description
          "From the PE's perspective, the service input
       bandwidth of the connection.";
      }

      leaf svc-output-bandwidth {
        type uint32;
        units "bps";
        description
          "From the PE's perspective, the service output
      bandwidth of the connection.";
      }

      leaf svc-mtu {
        type uint16;
        units "bytes";
        description
          "MTU at service level.  If the service is IP,
    it refers to the IP MTU.";
      }
    }  // grouping site-service-basic

    grouping site-protection {
      description
        "Defines protection service parameters for a site.";
      container traffic-protection {
        if-feature fast-reroute;
        description
          "Fast Reroute service parameters for the site.";
        leaf enabled {
          type boolean;
          default 'false';
          description
            "Enables traffic protection of access link.";
        }
      }  // container traffic-protection
    }  // grouping site-protection

    grouping site-service-mpls {
      description
        "Defines MPLS service parameters for a site.";
      container carrierscarrier {
        if-feature carrierscarrier;
        description
          "This container is used when the customer provides
    MPLS-based services.  This is used in the case of CsC.";
        leaf signalling-type {
          type enumeration {
            enum "ldp" {
              value 0;
              description
                "Use LDP as the signalling protocol
       between the PE and the CE.";
            }
            enum "bgp" {
              value 1;
              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.";
            }
          }
          description
            "MPLS signalling type.";
        }
      }  // container carrierscarrier
    }  // grouping site-service-mpls

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

            choice match-type {
              description
                "Choice for classification.";
              case match-flow {
                uses flow-definition;
              }  // case 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 qos-classification-policy

        container qos-profile {
          description
            "QoS profile configuration.";
          choice qos-profile {
            description
              "Choice for QoS profile.
      Can be standard profile or custom.";
            leaf profile {
              type string;
              description
                "QoS profile to be used.";
            }
            container classes {
              if-feature qos-custom;
              description
                "Container for list of classes of services.";
              list class {
                key "class-id";
                description
                  "List of classes of services.";
                leaf class-id {
                  type string;
                  description
                    "Identification of the class of service.
          This identifier is internal to the administration.";
                }

                leaf rate-limit {
                  type uint8;
                  units "percent";
                  description
                    "To be used if the class must be rate-limited.
          Expressed as percentage of the service bandwidth.";
                }

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

                container 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 path with the
             lowest jitter.";
                    }
                    leaf latency-boundary {
                      type uint32;
                      units "usec";
                      description
                        "The traffic class should use a path with a
             defined maximum jitter.";
                    }
                  }  // choice flavor
                }  // container jitter

                container bandwidth {
                  description
                    "Bandwidth constraint on the traffic class.";
                  leaf guaranteed-bw-percent {
                    type uint8;
                    units "percent";
                    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
          }  // choice qos-profile
        }  // container qos-profile
      }  // container qos
    }  // grouping site-service-qos-profile

    grouping site-security-authentication {
      description
        "This grouping defines authentication parameters for a site.";
      container authentication {
        description
          "Authentication parameters.";
      }  // container authentication
    }  // grouping site-security-authentication

    grouping site-security-encryption {
      description
        "This grouping defines encryption parameters for a site.";
      container encryption {
        if-feature encryption;
        description "Encryption parameters.";
        leaf enabled {
          type boolean;
          default 'false';
          description
            "If true, access encryption is required.";
        }

        leaf layer {
          type enumeration {
            enum "layer2" {
              value 0;
              description
                "Encryption will occur at Layer 2.";
            }
            enum "layer3" {
              value 1;
              description
                "Encryption will occur at Layer 3.
       For example, IPsec may be used.";
            }
          }
          mandatory true;
          description
            "Layer on which encryption is applied.";
        }

        container encryption-profile {
          description
            "Profile of encryption to be applied.";
          choice profile {
            description "Choice of profile.";
            leaf profile-name {
              type string;
              description
                "Name of the SP profile to be applied.";
            }

            case customer-profile {
              leaf algorithm {
                type string;
                description
                  "Encryption algorithm to be used.";
              }

              choice key-type {
                description
                  "Type of keys to be used.";
                leaf preshared-key {
                  type string;
                  description
                    "Key coming from customer.";
                }

                case pki {
                }  // case pki
              }  // choice key-type
            }  // case customer-profile
          }  // choice profile
        }  // container encryption-profile
      }  // container encryption
    }  // grouping site-security-encryption

    grouping site-attachment-bearer {
      description
        "Defines physical properties of a site attachment.";
      container bearer {
        description
          "Bearer-specific parameters.
    To be augmented.";
        container requested-type {
          if-feature requested-type;
          description
            "Container for requested-type.";
          leaf requested-type {
            type string;
            description
              "Type of requested bearer: Ethernet, DSL,
      Wireless, etc.  Operator specific.";
          }

          leaf strict {
            type boolean;
            default 'false';
            description
              "Defines whether 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 SP.";
        }
      }  // container bearer
    }  // grouping site-attachment-bearer

    grouping site-routing {
      description
        "Grouping for routing protocols.";
      container routing-protocols {
        description
          "Defines routing protocols.";
        list routing-protocol {
          key "type";
          description
            "List of routing protocols used on
     the site.  This list can be augmented.";
          leaf type {
            type identityref {
              base routing-protocol-type;
            }
            description
              "Type of routing protocol.";
          }

          container ospf {
            when "../type = 'ospf'" {
              description
                "Only applies when protocol is OSPF.";
            }
            if-feature rtg-ospf;
            description
              "OSPF-specific configuration.";
            leaf-list address-family {
              type address-family;
              description
                "Address family to be activated.";
            }

            leaf area-address {
              type yang:dotted-quad;
              description "Area address.";
            }

            leaf metric {
              type uint16;
              description
                "Metric of the PE-CE link.";
            }

            container sham-links {
              if-feature rtg-ospf-sham-link;
              description
                "List of sham links.";
              list sham-link {
                key "target-site";
                description
                  "Creates a sham link with another site.";
                leaf target-site {
                  type svc-id;
                  description
                    "Target site for the sham link connection.
         The site is referred to by its ID.";
                }

                leaf metric {
                  type uint16;
                  description
                    "Metric of the sham link.";
                }
              }  // list sham-link
            }  // container sham-links
          }  // container ospf

          container bgp {
            when "../type = 'bgp'" {
              description
                "Only applies when protocol is BGP.";
            }
            if-feature rtg-bgp;
            description
              "BGP-specific configuration.";
            leaf autonomous-system {
              type uint32;
              description "AS number.";
            }

            leaf-list address-family {
              type address-family;
              description
                "Address family to be activated.";
            }
          }  // container bgp

          container static {
            when "../type = 'static'" {
              description
                "Only applies when protocol is static.";
            }
            description
              "Configuration specific to static routing.";
            container cascaded-lan-prefixes {
              description
                "LAN prefixes from the customer.";
              list ipv4-lan-prefixes {
                if-feature ipv4;
                key "lan next-hop";
                description
                  "List of LAN prefixes for the site.";
                leaf lan {
                  type inet:ipv4-prefix;
                  description
                    "LAN prefixes.";
                }

                leaf lan-tag {
                  type string;
                  description
                    "Internal tag to be used in VPN policies.";
                }

                leaf next-hop {
                  type inet:ipv4-address;
                  description
                    "Next-hop address to use on the customer side.";
                }
              }  // list ipv4-lan-prefixes

              list ipv6-lan-prefixes {
                if-feature ipv6;
                key "lan next-hop";
                description
                  "List of LAN prefixes for the site.";
                leaf lan {
                  type inet:ipv6-prefix;
                  description
                    "LAN prefixes.";
                }

                leaf lan-tag {
                  type string;
                  description
                    "Internal tag to be used in VPN policies.";
                }

                leaf next-hop {
                  type inet:ipv6-address;
                  description
                    "Next-hop address to use on the customer side.";
                }
              }  // list ipv6-lan-prefixes
            }  // container cascaded-lan-prefixes
          }  // container static

          container rip {
            when "../type = 'rip'" {
              description
                "Only applies when protocol is RIP.";
            }
            if-feature rtg-rip;
            description
              "Configuration specific to RIP routing.";
            leaf-list address-family {
              type address-family;
              description
                "Address family to be activated.";
            }
          }  // container rip

          container vrrp {
            when "../type = 'vrrp'" {
              description
                "Only applies when protocol is VRRP.";
            }
            if-feature rtg-vrrp;
            description
              "Configuration specific to VRRP routing.";
            leaf-list address-family {
              type address-family;
              description
                "Address family to be activated.";
            }
          }  // container vrrp
        }  // list routing-protocol
      }  // container routing-protocols
    }  // grouping site-routing

    grouping site-attachment-ip-connection {
      description
        "This grouping defines IP connection parameters.";
      container ip-connection {
        description
          "Defines connection parameters.";
        container ipv4 {
          if-feature ipv4;
          description
            "IPv4-specific parameters.";
          leaf address-allocation-type {
            type identityref {
              base address-allocation-type;
            }
            default "static-address";
            description
              "Defines how addresses are allocated.";
          }

          leaf number-of-dynamic-address {
            when
              "../address-allocation-type = 'provider-dhcp'" {
              description
                "Only applies when addresses are allocated by DHCP.";
            }
            type uint8;
            default '1';
            description
              "Describes the number of IP addresses the customer requires.";
          }

          container dhcp-relay {
            when
              "../address-allocation-type = 'provider-dhcp-relay'" {
              description
                "Only applies when provider is required to implement
       DHCP relay function.";
            }
            description
              "DHCP relay provided by operator.";
            container customer-dhcp-servers {
              description
                "Container for list of customer DHCP servers.";
              leaf-list server-ip-address {
                type inet:ipv4-address;
                description
                  "IP address of customer DHCP server.";
              }
            }  // container customer-dhcp-servers
          }  // container dhcp-relay

          container addresses {
            when
              "../address-allocation-type = 'static-address'" {
              description
                "Only applies when protocol allocation type is static.";
            }
            description
              "Describes IP addresses used.";
            leaf provider-address {
              type inet:ipv4-address;
              description
                "Address of provider side.";
            }

            leaf customer-address {
              type inet:ipv4-address;
              description
                "Address of customer side.";
            }

            leaf mask {
              type uint8 {
                range "0..31";
              }
              description
                "Subnet mask expressed in bits.";
            }
          }  // container addresses
        }  // container ipv4

        container ipv6 {
          if-feature ipv6;
          description
            "IPv6-specific parameters.";
          leaf address-allocation-type {
            type identityref {
              base address-allocation-type;
            }
            default "static-address";
            description
              "Defines how addresses are allocated.";
          }

          leaf number-of-dynamic-address {
            when
              "../address-allocation-type = 'provider-dhcp' "
                + "or ../address-allocation-type "
                + "= 'provider-dhcp-slaac'" {
              description
                "Only applies when addresses are allocated by DHCP.";
            }
            type uint8;
            default '1';
            description
              "Describes the number of IP addresses the customer requires.";
          }

          container dhcp-relay {
            when
              "../address-allocation-type = 'provider-dhcp-relay'" {
              description
                "Only applies when provider is required to implement
       DHCP relay function.";
            }
            description
              "DHCP relay provided by operator.";
            container customer-dhcp-servers {
              description
                "Container for list of customer DHCP servers.";
              leaf-list server-ip-address {
                type inet:ipv6-address;
                description
                  "IP address of customer DHCP server.";
              }
            }  // container customer-dhcp-servers
          }  // container dhcp-relay

          container addresses {
            when
              "../address-allocation-type = 'static-address'" {
              description
                "Only applies when protocol allocation type is static.";
            }
            description
              "Describes IP addresses used.";
            leaf provider-address {
              type inet:ipv6-address;
              description
                "Address of provider side.";
            }

            leaf customer-address {
              type inet:ipv6-address;
              description
                "Address of customer side.";
            }

            leaf mask {
              type uint8 {
                range "0..127";
              }
              description
                "Subnet mask expressed in bits.";
            }
          }  // container addresses
        }  // container ipv6

        container oam {
          description
            "Defines the OAM mechanisms used on the connection.";
          container bfd {
            if-feature bfd;
            description "Container for BFD.";
            leaf enabled {
              type boolean;
              default 'false';
              description "BFD activation.";
            }

            choice holdtime {
              description
                "Choice for holdtime flavor.";
              case profile {
                description
                  "Well-known SP profile.";
                leaf profile-name {
                  type string;
                  description
                    "Well-known SP profile.";
                }
              }  // case profile
              leaf fixed-value {
                type uint32;
                units "msec";
                description
                  "Expected holdtime expressed in msec.";
              }
            }  // choice holdtime
          }  // container bfd
        }  // container oam
      }  // container ip-connection
    }  // grouping site-attachment-ip-connection

    grouping site-service-multicast {
      description
        "Multicast parameters for the site.";
      container multicast {
        if-feature multicast;
        description
          "Multicast parameters for the site.";
        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.";
        }

        container multicast-address-family {
          description
            "Defines protocol to carry multicast.";
          leaf ipv4 {
            if-feature ipv4;
            type boolean;
            default 'true';
            description
              "Enables IPv4 multicast.";
          }

          leaf ipv6 {
            if-feature ipv6;
            type boolean;
            default 'false';
            description
              "Enables IPv6 multicast.";
          }
        }  // container multicast-address-family

        leaf protocol-type {
          type enumeration {
            enum "host" {
              value 0;
              description
                "Hosts are directly connected to the provider network.
       Host protocols such as IGMP or MLD are required.";
            }
            enum "router" {
              value 1;
              description
                "Hosts are behind a customer router.
       PIM will be implemented.";
            }
            enum "both" {
              value 2;
              description
                "Some hosts are behind a customer router, and some others
       are directly connected to the provider network.
       Both host and routing protocols must be used.
       Typically, IGMP and PIM will be implemented.";
            }
          }
          default "both";
          description
            "Multicast protocol type to be used with the customer site.";
        }
      }  // container multicast
    }  // grouping site-service-multicast

    grouping site-management {
      description
        "Management parameters for the site.";
      container management {
        description
          "Management configuration.";
        leaf type {
          type identityref {
            base management;
          }
          description
            "Management type of the connection.";
        }
      }  // container management
    }  // grouping site-management

    grouping site-devices {
      description
        "Grouping for device allocation.";
      container devices {
        must
          "/l3vpn-svc/sites/site/management/type = "
            + "'provider-managed' or "
            + "/l3vpn-svc/sites/site/management/type = "
            + "'co-managed'" {
          description
            "Applicable only for provider-managed or co-managed device.";
        }
        description
          "List of devices requested by customer.";
        list device {
          key "device-id";
          description
            "Device configuration.";
          leaf device-id {
            type svc-id;
            description
              "Identifier for the device.";
          }

          leaf location {
            type leafref {
              path
                "/l3vpn-svc/sites/site/locations/"
                  + "location/location-id";
            }
            description
              "Location of the device.";
          }

          container management {
            must
              "/l3vpn-svc/sites/site/management/type"
                + "= 'co-managed'" {
              description
                "Applicable only for co-managed device.";
            }
            description
              "Management configuration.  Applicable only for
      co-managed device.";
            leaf address-family {
              type address-family;
              description
                "Address family used for management.";
            }

            leaf address {
              type inet:ip-address;
              description
                "Management address.";
            }
          }  // container management
        }  // list device
      }  // container devices
    }  // grouping site-devices

    grouping site-vpn-flavor {
      description
        "Grouping for site VPN flavor.";
      leaf site-vpn-flavor {
        type identityref {
          base site-vpn-flavor;
        }
        default 'site-vpn-flavor-single';
        description
          "Defines whether the site is, for example,
    a single VPN site or a multiVPN.";
      }
    }  // grouping site-vpn-flavor

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

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

            container filter {
              description
                "If used, it permits the splitting of
       site LANs among multiple VPNs.
       If no filter is used, all the LANs will be
       part of the same VPNs with the same role.";
              choice lan {
                description
                  "Choice of ways to do LAN matching.";
                case prefixes {
                  leaf-list ipv4-lan-prefix {
                    if-feature ipv4;
                    type inet:ipv4-prefix;
                    description
                      "List of IPv4 prefixes to be matched.";
                  }

                  leaf-list ipv6-lan-prefix {
                    if-feature ipv6;
                    type inet:ipv6-prefix;
                    description
                      "List of IPv6 prefixes to be matched.";
                  }
                }  // case prefixes
                leaf-list lan-tag {
                  type string;
                  description
                    "List of 'lan-tag' items to be matched.";
                }
              }  // choice lan
            }  // container filter

            container vpn {
              description
                "List of VPNs the LAN is associated with.";
              leaf vpn-id {
                type leafref {
                  path
                    "/l3vpn-svc/vpn-services/"
                      + "vpn-service/vpn-id";
                }
                mandatory true;
                description
                  "Reference to an IP VPN.";
              }

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

    grouping site-maximum-routes {
      description
        "Defines 'maximum-routes' for the site.";
      container maximum-routes {
        description
          "Defines 'maximum-routes' for the VRF.";
        list address-family {
          key "af";
          description
            "List of address families.";
          leaf af {
            type address-family;
            description "Address family.";
          }

          leaf maximum-routes {
            type uint32;
            description
              "Maximum prefixes the VRF can accept for this address family.";
          }
        }  // list address-family
      }  // container maximum-routes
    }  // grouping site-maximum-routes

    grouping site-security {
      description
        "Grouping for security parameters.";
      container security {
        description
          "Site-specific security parameters.";
        uses site-security-authentication;

        uses site-security-encryption;
      }  // container security
    }  // grouping site-security

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

        uses site-service-mpls;

        uses site-service-multicast;
      }  // container service
    }  // grouping site-service

    grouping site-network-access-service {
      description
        "Grouping for service parameters.";
      container service {
        description
          "Service parameters on the attachment.";
        uses site-service-basic;

        uses site-service-qos-profile;

        uses site-service-mpls;

        uses site-service-multicast;
      }  // container service
    }  // grouping site-network-access-service

    grouping vpn-extranet {
      description
        "Grouping for extranet VPN configuration.
   This provides an easy way to interconnect
   all sites from two VPNs.";
      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.";
          }

          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.";
          }
        }  // list extranet-vpn
      }  // container extranet-vpns
    }  // grouping vpn-extranet

    grouping site-attachment-availability {
      description
        "Defines availability parameters for a site.";
      container availability {
        description
          "Availability parameters (used for multihoming).";
        leaf access-priority {
          type uint32;
          default '1';
          description
            "Defines the priority for the access.
     The higher the access-priority value,
     the higher the preference of the access will be.";
        }
      }  // container availability
    }  // grouping site-attachment-availability

    grouping access-vpn-policy {
      description
        "Defines the VPN attachment rules for a site's logical access.";
      container vpn-attachment {
        description
          "Defines VPN attachment of a site.";
        choice attachment-flavor {
          mandatory true;
          description
            "Choice for VPN attachment flavor.";
          leaf vpn-policy-id {
            type leafref {
              path
                "/l3vpn-svc/sites/site/"
                  + "vpn-policies/vpn-policy/"
                  + "vpn-policy-id";
            }
            description
              "Reference to a VPN policy.";
          }

          case vpn-id {
            leaf vpn-id {
              type leafref {
                path
                  "/l3vpn-svc/vpn-services"
                    + "/vpn-service/vpn-id";
              }
              description
                "Reference to a VPN.";
            }

            leaf site-role {
              type identityref {
                base site-role;
              }
              default 'any-to-any-role';
              description
                "Role of the site in the IP VPN.";
            }
          }  // case vpn-id
        }  // choice attachment-flavor
      }  // container vpn-attachment
    }  // grouping access-vpn-policy

    grouping vpn-svc-cfg {
      description
        "Grouping for VPN service configuration.";
      leaf vpn-id {
        type svc-id;
        description
          "VPN identifier.  Local administration meaning.";
      }

      leaf customer-name {
        type string;
        description "Name of the customer.";
      }

      leaf vpn-service-topology {
        type identityref {
          base vpn-topology;
        }
        default "any-to-any";
        description "VPN service topology.";
      }

      uses vpn-service-cloud-access;

      uses vpn-service-multicast;

      uses vpn-service-mpls;

      uses vpn-extranet;
    }  // grouping vpn-svc-cfg

    grouping site-top-level-cfg {
      description
        "Grouping for site top-level configuration.";
      uses operational-requirements;

      uses customer-location-info;

      uses site-devices;

      uses site-diversity;

      uses site-management;

      uses site-vpn-policy;

      uses site-vpn-flavor;

      uses site-maximum-routes;

      uses site-security;

      uses site-service;

      uses site-protection;

      uses site-routing;
    }  // grouping site-top-level-cfg

    grouping site-network-access-top-level-cfg {
      description
        "Grouping for site network access top-level configuration.";
      leaf site-network-access-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
            "/l3vpn-svc/sites/site/management/type = "
              + "'customer-managed'" {
            description
              "Applicable only for customer-managed device.";
          }
          leaf location-reference {
            type leafref {
              path
                "/l3vpn-svc/sites/site/locations/"
                  + "location/location-id";
            }
            description
              "Location of the site-network-access.";
          }
        }  // case location

        case device {
          when
            "/l3vpn-svc/sites/site/management/type = "
              + "'provider-managed' or "
              + "/l3vpn-svc/sites/site/management/type = "
              + "'co-managed'" {
            description
              "Applicable only for provider-managed or co-managed device.";
          }
          leaf device-reference {
            type leafref {
              path
                "/l3vpn-svc/sites/site/devices/"
                  + "device/device-id";
            }
            description
              "Identifier of CE to use.";
          }
        }  // case device
      }  // choice location-flavor

      uses access-diversity;

      uses site-attachment-bearer;

      uses site-attachment-ip-connection;

      uses site-security;

      uses site-network-access-service;

      uses site-routing;

      uses site-attachment-availability;

      uses access-vpn-policy;
    }  // grouping site-network-access-top-level-cfg

    container l3vpn-svc {
      description
        "Main container for L3VPN service configuration.";
      container vpn-services {
        description
          "Top-level container for the VPN services.";
        list vpn-service {
          key "vpn-id";
          description
            "List of VPN services.";
          uses vpn-svc-cfg;
        }  // list vpn-service
      }  // container vpn-services

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

          uses site-top-level-cfg;

          uses operational-requirements-ops;

          container site-network-accesses {
            description
              "List of accesses for a site.";
            list site-network-access {
              key "site-network-access-id";
              description
                "List of accesses for a site.";
              leaf site-network-access-id {
                type svc-id;
                description
                  "Identifier for the access.";
              }

              uses site-network-access-top-level-cfg;
            }  // list site-network-access
          }  // container site-network-accesses
        }  // list site
      }  // container sites
    }  // container l3vpn-svc
  }  // module ietf-l3vpn-svc

Summary

  
ietf-l3vpn-svc  
  
Organization IETF L3SM Working Group
  
Module ietf-l3vpn-svc
Version 2018-01-19
File ietf-l3vpn-svc@2018-01-19.yang
  
Prefix l3vpn-svc
Namespace urn:ietf:params:xml:ns:yang:ietf-l3vpn-svc
  
Cooked /cookedmodules/ietf-l3vpn-svc/2018-01-19
YANG /src/ietf-l3vpn-svc@2018-01-19.yang
XSD /xsd/ietf-l3vpn-svc@2018-01-19.xsd
  
Abstract This YANG module defines a generic service configuration model for Layer 3 VPNs. This model is common across all vendor implemen...
  
Contact
WG List: <mailto:l3sm@ietf.org>
Editor:
 L3SM WG
Chairs:
 Adrian Farrel, Qin Wu
  
ietf-l3vpn-svc  
  
Organization IETF L3SM Working Group
  
Module ietf-l3vpn-svc
Version 2017-01-27
File ietf-l3vpn-svc@2017-01-27.yang
  
Prefix l3vpn-svc
Namespace urn:ietf:params:xml:ns:yang:ietf-l3vpn-svc
  
Cooked /cookedmodules/ietf-l3vpn-svc/2017-01-27
YANG /src/ietf-l3vpn-svc@2017-01-27.yang
XSD /xsd/ietf-l3vpn-svc@2017-01-27.xsd
  
Abstract This YANG module defines a generic service configuration model for Layer 3 VPNs. This model is common across all vendor impleme...
  
Contact
WG List: <mailto:l3sm@ietf.org>

Editor:
L3SM WG

Chairs:
Adrian Farrel, Qin Wu

Description

 
ietf-l3vpn-svc
This YANG module defines a generic service configuration
model for Layer 3 VPNs. This model is 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 8299; see
the RFC itself for full legal notices.
 
ietf-l3vpn-svc
This YANG module defines a generic service configuration
model for Layer 3 VPNs.  This model is common across all
vendor implementations.

Typedefs

Typedef Base type Abstract
address-family enumeration Defines a type for the address family.
address-family enumeration Defines a type for the address family.
svc-id string Defines a type of service component identifier.
svc-id string Defines a type of service component identifier.
template-id string Defines a type of service template identifier.
template-id string Defines a type of service template identifier.

Groupings

Grouping Objects Abstract
access-diversity access-diversity This grouping defines access diversity parameters.
access-diversity access-diversity This grouping defines access diversity parameters.
access-vpn-policy vpn-attachment Defines the VPN attachment rules for a site's logical access.
access-vpn-policy vpn-attachment Defines the VPN attachment rules for a site's logical access.
customer-location-info locations This grouping defines customer location parameters.
customer-location-info locations This grouping defines customer location parameters.
flow-definition match-flow Flow definition based on criteria.
flow-definition match-flow Flow definition based on criteria.
multicast-rp-group-cfg group-format Definition of groups for RP-to-group mapping.
multicast-rp-group-cfg group-format This grouping defines multicast group or multicast groups for RP-to-group mapping.
operational-requirements requested-site-start requested-site-stop This grouping defines some operational parameters.
operational-requirements requested-site-start requested-site-stop This grouping defines some operational parameters.
operational-requirements-ops actual-site-start actual-site-stop This grouping defines some operational parameters.
operational-requirements-ops actual-site-start actual-site-stop This grouping defines some operational parameters.
site-attachment-availability availability Defines availability parameters for a site.
site-attachment-availability availability Defines availability parameters for a site.
site-attachment-bearer bearer Defines physical properties of a site attachment.
site-attachment-bearer bearer Defines physical properties of a site attachment.
site-attachment-ip-connection ip-connection This grouping defines IP connection parameters.
site-attachment-ip-connection ip-connection This grouping defines IP connection parameters.
site-devices devices Grouping for device allocation.
site-devices devices Grouping for device allocation.
site-diversity site-diversity This grouping defines site diversity parameters.
site-diversity site-diversity This grouping defines site diversity parameters.
site-group groups Grouping definition to assign group-ids to site or site-network-access.
site-group groups Grouping definition to assign group-ids to site or site-network-access.
site-management management Management parameters for the site.
site-management management Management parameters for the site.
site-maximum-routes maximum-routes Defines 'maximum-routes' for the site.
site-maximum-routes maximum-routes Defines 'maximum-routes' for the site.
site-network-access-service service Grouping for service parameters.
site-network-access-service service Grouping for service parameters.
site-network-access-top-level-cfg site-network-access-type location-flavor access-diversitybearerip-connectionsecurityservicerouting-protocolsavailabilityvpn-attachment Grouping for site network access top-level configuration.
site-network-access-top-level-cfg site-network-access-type location-flavor access-diversitybearerip-connectionsecurityservicerouting-protocolsavailabilityvpn-attachment Grouping for site network access top-level configuration.
site-protection traffic-protection Defines protection service parameters for a site.
site-protection traffic-protection Defines protection service parameters for a site.
site-routing routing-protocols Grouping for routing protocols.
site-routing routing-protocols Grouping for routing protocols.
site-security security Grouping for security parameters.
site-security security Grouping for security parameters.
site-security-authentication authentication This grouping defines authentication parameters for a site.
site-security-authentication authentication This grouping defines authentication parameters for a site.
site-security-encryption encryption This grouping defines encryption parameters for a site.
site-security-encryption encryption This grouping defines encryption parameters for a site.
site-service service Grouping for service parameters.
site-service service Grouping for service parameters.
site-service-basic svc-input-bandwidth svc-output-bandwidth svc-mtu Defines basic service parameters for a site.
site-service-basic svc-input-bandwidth svc-output-bandwidth svc-mtu Defines basic service parameters for a site.
site-service-mpls carrierscarrier Defines MPLS service parameters for a site.
site-service-mpls carrierscarrier Defines MPLS service parameters for a site.
site-service-multicast multicast Multicast parameters for the site.
site-service-multicast multicast Multicast parameters for the site.
site-service-qos-profile qos This grouping defines QoS parameters for a site.
site-service-qos-profile qos This grouping defines QoS parameters for a site.
site-top-level-cfg requested-site-start requested-site-stoplocationsdevicessite-diversitymanagementvpn-policiessite-vpn-flavormaximum-routessecurityservicetraffic-protectionrouting-protocols Grouping for site top-level configuration.
site-top-level-cfg requested-site-start requested-site-stoplocationsdevicessite-diversitymanagementvpn-policiessite-vpn-flavormaximum-routessecurityservicetraffic-protectionrouting-protocols Grouping for site top-level configuration.
site-vpn-flavor site-vpn-flavor Grouping for site VPN flavor.
site-vpn-flavor site-vpn-flavor Grouping for site VPN flavor.
site-vpn-policy vpn-policies VPN policy parameters for the site.
site-vpn-policy vpn-policies VPN policy parameters for the site.
vpn-extranet extranet-vpns Grouping for extranet VPN configuration. This provides an easy way to interconnect all sites from two VPNs.
vpn-extranet extranet-vpns Grouping for extranet VPN configuration. This provides an easy way to interconnect all sites from two VPNs.
vpn-profile-cfg valid-provider-identifiers Grouping for VPN Profile configuration.
vpn-service-cloud-access cloud-accesses Grouping for VPN cloud definition.
vpn-service-cloud-access cloud-accesses Grouping for VPN cloud definition.
vpn-service-mpls carrierscarrier Grouping for MPLS CsC definition.
vpn-service-mpls carrierscarrier Grouping for MPLS CsC definition.
vpn-service-multicast multicast Grouping for multicast VPN definition.
vpn-service-multicast multicast Grouping for multicast VPN definition.
vpn-svc-cfg vpn-id customer-name vpn-service-topology cloud-accessesmulticastcarrierscarrierextranet-vpns Grouping for VPN service configuration.
vpn-svc-cfg vpn-id customer-name vpn-service-topology cloud-accessesmulticastcarrierscarrierextranet-vpns Grouping for VPN service configuration.

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
l3vpn-svc container Main container for L3VPN service configuration.
l3vpn-svc container Main container for L3VPN service configuration.
   sites container Container for sites.
   sites container Container for sites.
      site list List of sites.
      site list List of sites.
         actual-site-start leaf Optional leaf indicating actual date and time when the service at a particular site actually started.
         actual-site-start leaf Optional leaf indicating actual 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 Optional leaf indicating actual date and time when the service at a particular site actually stopped.
         devices container List of devices requested by customer.
         devices container Device configuration.
            device list Device configuration.
            device list List of devices requested by 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 co-managed device.
                  address leaf Management address.
                  address leaf Management address.
                  address-family leaf Address family used for management.
                  address-family leaf Address family used for management.
         locations container List of locations for the site.
         locations container List of locations for the site.
            location list Location of the site.
            location list Location of the site.
               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. Expressed as ISO ALPHA-2 code.
               country-code leaf Country of the site. Expressed as ISO ALPHA-2 code.
               location-id leaf Identifier for a particular location.
               location-id leaf Identifier for a particular location.
               postal-code leaf Postal code of the site.
               postal-code leaf Postal code of the site.
               state leaf State of the site. This leaf can also be used to describe a region for a country that does not have states.
               state leaf State of the site. This leaf can also be used to describe a region for a country that does not have states.
         management container Management configuration.
         management container Management configuration.
            type leaf Management type of the connection.
            type leaf Management type of the connection.
         maximum-routes container Defines 'maximum-routes' for the VRF.
         maximum-routes container Defines 'maximum-routes' for the VRF.
            address-family list List of address families.
            address-family list List of address families.
               af leaf Address family.
               af leaf Address family.
               maximum-routes leaf Maximum prefixes the VRF can accept for this address family.
               maximum-routes leaf Maximum prefixes the VRF can accept for this address family.
         requested-site-start leaf Optional leaf indicating requested date and time when the service at a particular site is expected to start.
         requested-site-start leaf Optional leaf indicating requested date and time when the service at a particular site is expected to start.
         requested-site-stop leaf Optional leaf indicating requested date and time when the service at a particular site is expected to stop.
         requested-site-stop leaf Optional leaf indicating requested date and time when the service at a particular site is expected to stop.
         routing-protocols container Defines routing protocols.
         routing-protocols container Defines routing protocols.
            routing-protocol list List of routing protocols used on the site. This list can be augmented.
            routing-protocol list List of routing protocols used on the site. This list can be augmented.
               bgp container BGP-specific configuration.
               bgp container BGP-specific configuration.
                  address-family leaf-list Address family to be activated.
                  address-family leaf-list If BGP is used on this site, this node contains a configured value. This node contains at least one address family to be activated.
                  autonomous-system leaf AS number.
                  autonomous-system leaf Customer AS number in case the customer requests BGP routing.
               ospf container OSPF-specific configuration.
               ospf container OSPF-specific configuration.
                  address-family leaf-list Address family to be activated.
                  address-family leaf-list If OSPF is used on this site, this node contains a configured value. This node contains at least one address family to be activated.
                  area-address leaf Area address.
                  area-address leaf Area address.
                  metric leaf Metric of the PE-CE link.
                  metric leaf Metric of the PE-CE link. It is used in the routing state calculation and path selection.
                  sham-links container List of sham links.
                  sham-links container List of sham links.
                     sham-link list Creates a sham link with another site.
                     sham-link list Creates a sham link with another site.
                        metric leaf Metric of the sham link.
                        metric leaf Metric of the sham link. It is used in the routing state calculation and path selection. The default value is set to 1.
                        target-site leaf Target site for the sham link connection. The site is referred to by its ID.
                        target-site leaf Target site for the sham link connection. The site is referred to by its ID.
               rip container Configuration specific to RIP routing.
               rip container Configuration specific to RIP routing.
                  address-family leaf-list Address family to be activated.
                  address-family leaf-list If RIP is used on this site, this node contains a configured value. This node contains at least one address family to be activated.
               static container Configuration specific to static routing.
               static container Configuration specific to static routing.
                  cascaded-lan-prefixes container LAN prefixes from the customer.
                  cascaded-lan-prefixes container LAN prefixes from the customer.
                     ipv4-lan-prefixes list List of LAN prefixes for the site.
                     ipv4-lan-prefixes list List of LAN prefixes for the site.
                        lan leaf LAN prefixes.
                        lan leaf LAN prefixes.
                        lan-tag leaf Internal tag to be used in VPN policies.
                        lan-tag leaf Internal tag to be used in VPN policies.
                        next-hop leaf Next-hop address to use on the customer side.
                        next-hop leaf Next-hop address to use on the customer side.
                     ipv6-lan-prefixes list List of LAN prefixes for the site.
                     ipv6-lan-prefixes list List of LAN prefixes for the site.
                        lan leaf LAN prefixes.
                        lan leaf LAN prefixes.
                        lan-tag leaf Internal tag to be used in VPN policies.
                        lan-tag leaf Internal tag to be used in VPN policies.
                        next-hop leaf Next-hop address to use on the customer side.
                        next-hop leaf Next-hop address to use on the customer side.
               type leaf Type of routing protocol.
               type leaf Type of routing protocol.
               vrrp container Configuration specific to VRRP routing.
               vrrp container Configuration specific to VRRP routing.
                  address-family leaf-list Address family to be activated.
                  address-family leaf-list If VRRP is used on this site, this node contains a configured value. This node contains at least one address family to be activated.
         security container Site-specific security parameters.
         security container Site-specific security parameters.
            authentication container Authentication parameters.
            authentication container Authentication parameters.
            encryption container Encryption parameters.
            encryption container Encryption parameters.
               enabled leaf If true, access encryption is required.
               enabled leaf If true, traffic encryption on the connection is required.
               encryption-profile container Profile of encryption to be applied.
               encryption-profile container Profile of encryption to be applied.
                  profile choice Choice of profile.
                  profile choice Choice of encryption profile. The encryption profile can be the provider profile or customer profile.
                     customer-profile case algorithm key-type
                     customer-profile case algorithm key-type
                        algorithm leaf Encryption algorithm to be used.
                        algorithm leaf Encryption algorithm to be used.
                        key-type choice Type of keys to be used.
                        key-type choice Type of keys to be used.
                           pki case OID: /l3vpn-svc/sites/site/security/encryption/encryption-profile/profile/customer-profile/key-type/pki
                           psk case preshared-key
                           psk case preshared-key
                              preshared-key leaf Key coming from customer.
                              preshared-key leaf Pre-Shared Key (PSK) coming from the customer.
                     provider-profile case profile-name
                     provider-profile case profile-name
                        profile-name leaf Name of the SP profile to be applied.
                        profile-name leaf Name of the SP profile to be applied.
               layer leaf Layer on which encryption is applied.
               layer leaf Layer on which encryption is applied.
         service container Service parameters on the attachment.
         service container Service parameters on the attachment.
            carrierscarrier container This container is used when the customer provides MPLS-based services. This is used in the case of CsC.
            carrierscarrier container This container is used when the customer provides MPLS-based services. This is only used in the case of CsC (i.e., a customer builds an MPLS service using an IP VPN to carry its traffic).
               signalling-type leaf MPLS signalling type.
               signalling-type leaf MPLS signalling type.
            multicast container Multicast parameters for the site.
            multicast container Multicast parameters for the site.
               multicast-address-family container Defines protocol to carry multicast.
               multicast-address-family container Defines protocol to carry multicast.
                  ipv4 leaf Enables IPv4 multicast.
                  ipv4 leaf Enables IPv4 multicast.
                  ipv6 leaf Enables IPv6 multicast.
                  ipv6 leaf Enables IPv6 multicast.
               multicast-site-type leaf Type of multicast site.
               multicast-site-type leaf Type of multicast site.
               protocol-type leaf Multicast protocol type to be used with the customer site.
               protocol-type leaf Multicast protocol type to be used with the customer site.
            qos container QoS configuration.
            qos container QoS configuration.
               qos-classification-policy container Configuration of the traffic classification policy.
               qos-classification-policy container Configuration of the traffic classification policy.
                  rule list List of marking rules.
                  rule list List of marking rules.
                     id leaf ID of the rule.
                     id leaf A description identifying the qos-classification-policy rule.
                     match-type choice Choice for classification.
                     match-type choice Choice for classification.
                        match-application case match-application
                        match-application case match-application
                           match-application leaf Defines the application to match.
                           match-application leaf Defines the application to match.
                        match-flow case match-flow
                        match-flow case match-flow
                           match-flow container Describes flow-matching criteria.
                           match-flow container Describes flow-matching criteria.
                              dot1p leaf 802.1p matching.
                              dot1p leaf 802.1p matching.
                              dscp leaf DSCP value.
                              dscp leaf DSCP value.
                              ipv4-dst-prefix leaf Match on IPv4 dst address.
                              ipv4-dst-prefix leaf Match on IPv4 dst address.
                              ipv4-src-prefix leaf Match on IPv4 src address.
                              ipv4-src-prefix leaf Match on IPv4 src address.
                              ipv6-dst-prefix leaf Match on IPv6 dst address.
                              ipv6-dst-prefix leaf Match on IPv6 dst address.
                              ipv6-src-prefix leaf Match on IPv6 src address.
                              ipv6-src-prefix leaf Match on IPv6 src address.
                              l4-dst-port leaf Match on Layer 4 dst port.
                              l4-dst-port leaf Match on Layer 4 dst port.
                              l4-dst-port-range container Match on Layer 4 dst port range.
                              l4-dst-port-range container Match on Layer 4 dst port range. When only lower-port is present, it represents a single port. When both lower-port and upper-port are specified, it implies a range inclusive of both values.
                                 lower-port leaf Lower boundary for port.
                                 lower-port leaf Lower boundary for port.
                                 upper-port leaf Upper boundary for port.
                                 upper-port leaf Upper boundary for port. If it exists, upper boundary must be higher than lower boundary.
                              l4-src-port leaf Match on Layer 4 src port.
                              l4-src-port leaf Match on Layer 4 src port.
                              l4-src-port-range container Match on Layer 4 src port range.
                              l4-src-port-range container Match on Layer 4 src port range. When only the lower-port is present, it represents a single port. When both the lower-port and upper-port are specified, it implies a range inclusive of both values.
                                 lower-port leaf Lower boundary for port.
                                 lower-port leaf Lower boundary for port.
                                 upper-port leaf Upper boundary for port.
                                 upper-port leaf Upper boundary for port.
                              protocol-field leaf Match on IPv4 protocol or IPv6 Next Header field.
                              protocol-field leaf Match on IPv4 protocol or IPv6 Next Header field.
                              target-sites leaf-list Identify a site as traffic destination.
                              target-sites leaf-list Identify a site as traffic destination.
                     target-class-id leaf Identification of the class of service. This identifier is internal to the administration.
                     target-class-id leaf Identification of the class of service. 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 custom.
                  qos-profile choice Choice for QoS profile. Can be standard profile or customized profile.
                     custom case classes
                     custom case Customized QoS profile.
                        classes container Container for list of classes of services.
                        classes container Container for list of classes of services.
                           class list List of classes of services.
                           class list List of classes of services.
                              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 To be used to define the guaranteed bandwidth as a percentage of the available service bandwidth.
                              class-id leaf Identification of the class of service. This identifier is internal to the administration.
                              class-id leaf Identification of the class of service. This identifier is internal to the administration.
                              direction leaf The direction to which the QoS profile is applied.
                              jitter container Jitter constraint on the traffic class.
                              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 latency-boundary
                                    boundary case latency-boundary
                                       latency-boundary leaf The traffic class should use a path with a defined maximum jitter.
                                       latency-boundary 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 path with the lowest jitter.
                                       use-lowest-jitter leaf The traffic class should use the path with the lowest jitter.
                              latency container Latency constraint on the traffic class.
                              latency container Latency constraint on the traffic class.
                                 flavor choice Latency constraint on the traffic class.
                                 flavor choice Latency constraint on the traffic class.
                                    boundary case latency-boundary
                                    boundary case latency-boundary
                                       latency-boundary leaf The traffic class should use a path with a defined maximum latency.
                                       latency-boundary leaf The traffic class should use a path with a defined maximum latency.
                                    lowest case use-lowest-latency
                                    lowest case use-lowest-latency
                                       use-lowest-latency leaf The traffic class should use the path with the lowest latency.
                                       use-lowest-latency leaf The traffic class should use the path with the lowest latency.
                              rate-limit leaf To be used if the class must be rate-limited. Expressed as percentage of the service bandwidth.
                              rate-limit leaf To be used if the class must be rate-limited. Expressed as percentage of the service bandwidth.
                     standard case 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. All site-network-accesses will inherit the group values defined here.
         site-diversity container Diversity constraint type. All site-network-accesses will inherit the group values defined here.
            groups container Groups the site or site-network-access belongs to.
            groups container Groups the site or site-network-access belongs to.
               group list List of group-ids.
               group list List of group-ids.
                  group-id leaf Group-id the site belongs to.
                  group-id leaf Group-id the site belongs to.
         site-id leaf Identifier of the site.
         site-id leaf Identifier of the site.
         site-network-accesses container List of accesses for a site.
         site-network-accesses container List of accesses for a site.
            site-network-access list List of accesses for a site.
            site-network-access list List of accesses for a site.
               access-diversity container Diversity parameters.
               access-diversity container Diversity parameters.
                  constraints container Placement constraints for this site network access.
                  constraints container Placement constraints for this site network access.
                     constraint list List of constraints.
                     constraint list List of constraints.
                        constraint-type leaf Diversity constraint type.
                        constraint-type leaf Diversity constraint type.
                        target container The constraint will be applied against this list of groups.
                        target container The constraint will be applied against a Specific target, and the target can be a list of group-ids,all other site network accesses of this site, or all other groups managed by the customer.
                           target-flavor choice Choice for the group definition.
                           target-flavor choice Choice for the target flavor definition.
                              all-accesses case all-other-accesses
                              all-accesses case all-other-accesses
                                 all-other-accesses leaf The constraint will be applied against all other site network accesses of this site.
                                 all-other-accesses leaf The constraint will be applied 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 be applied against all other groups managed by the customer.
                                 all-other-groups leaf The constraint will be applied against all other groups managed by the customer.
                              id case group
                              id case group
                                 group list List of groups.
                                 group list List of group-ids associated with one specific constraint for this site network access level.
                                    group-id leaf The constraint will be applied against this particular group-id.
                                    group-id leaf The constraint will be applied against this particular group-id for this site network access level.
                  groups container Groups the site or site-network-access belongs to.
                  groups container Groups the site or site-network-access belongs to.
                     group list List of group-ids.
                     group list List of group-ids.
                        group-id leaf Group-id the site belongs to.
                        group-id leaf Group-id the site belongs to.
               availability container Availability parameters (used for multihoming).
               availability container Availability parameters (used for multihoming).
                  access-priority leaf Defines the priority for the access. The higher the access-priority value, the higher the preference of the access will be.
                  access-priority leaf Defines the priority for the access. The higher the access-priority value, the higher the preference of the access will be.
               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 access type.
                  bearer-reference leaf This is an internal reference for the SP.
                  bearer-reference leaf This is an internal reference for the SP.
                  requested-type container Container for requested-type.
                  requested-type container Container for requested-type.
                     requested-type leaf Type of requested bearer: Ethernet, DSL, Wireless, etc. Operator specific.
                     requested-type leaf Type of requested bearer: Ethernet, DSL, Wireless, etc. Operator specific.
                     strict leaf Defines whether requested-type is a preference or a strict requirement.
                     strict leaf Defines whether requested-type is a preference or a strict requirement.
               ip-connection container Defines connection parameters.
               ip-connection container Defines connection parameters.
                  ipv4 container IPv4-specific parameters.
                  ipv4 container IPv4-specific parameters.
                     address-allocation-type leaf Defines how addresses are allocated.
                     address-allocation-type leaf Defines how addresses are allocated. If there is no value for the address allocation type, then IPv4 is not enabled.
                     addresses container Describes IP addresses used.
                     addresses container Describes IPv4 addresses used.
                        customer-address leaf Address of customer side.
                        customer-address leaf IPv4 Address of customer side.
                        mask leaf Subnet mask expressed in bits.
                        prefix-length leaf Subnet prefix length expressed in bits. It is applied to both provider-address and customer-address.
                        provider-address leaf Address of provider side.
                        provider-address leaf IPv4 Address List of the provider side. When the protocol allocation type is static, the provider address must be configured.
                     dhcp-relay container DHCP relay provided by operator.
                     dhcp-relay container DHCP relay provided by operator.
                        customer-dhcp-servers container Container for list of customer DHCP servers.
                        customer-dhcp-servers container Container for list of customer DHCP servers.
                           server-ip-address leaf-list IP address of customer DHCP server.
                           server-ip-address leaf-list IP address of customer DHCP server.
                        prefix-length leaf Subnet prefix length expressed in bits. If not specified, or specified as zero, this means the customer leaves the actual prefix length value to the provider.
                        provider-address leaf Address of provider side. If provider-address is not specified, then prefix length should not be specified either. It also implies provider-dhcp allocation is not enabled. If provider-address is specified, then prefix length may or may not be specified...
                     number-of-dynamic-address leaf Describes the number of IP addresses the customer requires.
                     provider-dhcp container DHCP allocated addresses related parameters.
                        address-assign choice Choice for the way to assign addresses.
                           explicit case customer-addresses
                              customer-addresses container Container for customer addresses is allocated by DHCP.
                                 address-group list Describes IP addresses allocated by DHCP. When only start-address or only end-address is present, it represents a single address. When both start-address and end-address are specified, it implies a range inclusive of both addresses. If no address is spec...
                                    end-address leaf Last address.
                                    group-id leaf Group-id for the address range from start-address to end-address.
                                    start-address leaf First address.
                           number case number-of-dynamic-address
                              number-of-dynamic-address leaf Describes the number of IP addresses the customer requires.
                        prefix-length leaf Subnet prefix length expressed in bits. If not specified, or specified as zero, this means the customer leaves the actual prefix length value to the provider.
                        provider-address leaf Address of provider side. If provider-address is not specified, then prefix length should not be specified either. It also implies provider-dhcp allocation is not enabled. If provider-address is specified, then the prefix length may or may not be speci...
                  ipv6 container IPv6-specific parameters.
                  ipv6 container IPv6-specific parameters.
                     address-allocation-type leaf Defines how addresses are allocated.
                     address-allocation-type leaf Defines how addresses are allocated. If there is no value for the address allocation type, then IPv6 is not enabled.
                     addresses container Describes IP addresses used.
                     addresses container Describes IPv6 addresses used.
                        customer-address leaf Address of customer side.
                        customer-address leaf The IPv6 Address of the customer side.
                        mask leaf Subnet mask expressed in bits.
                        prefix-length leaf Subnet prefix length expressed in bits. It is applied to both provider-address and customer-address.
                        provider-address leaf Address of provider side.
                        provider-address leaf IPv6 Address of the provider side. When the protocol allocation type is static, the provider address must be configured.
                     dhcp-relay container DHCP relay provided by operator.
                     dhcp-relay container DHCP relay provided by operator.
                        customer-dhcp-servers container Container for list of customer DHCP servers.
                        customer-dhcp-servers container Container for list of customer DHCP servers.
                           server-ip-address leaf-list IP address of customer DHCP server.
                           server-ip-address leaf-list This node contains the IP address of the customer DHCP server. If the DHCP relay function is implemented by the provider, this node contains the configured value.
                        prefix-length leaf Subnet prefix length expressed in bits. If not specified, or specified as zero, this means the customer leaves the actual prefix length value to the provider.
                        provider-address leaf Address of the provider side. If provider-address is not specified, then prefix length should not be specified either. It also implies provider-dhcp allocation is not enabled. If provider address is specified, then prefix length may or may not be speci...
                     number-of-dynamic-address leaf Describes the number of IP addresses the customer requires.
                     provider-dhcp container DHCP allocated addresses related parameters.
                        address-assign choice Choice for the way to assign addresses.
                           explicit case customer-addresses
                              customer-addresses container Container for customer addresses allocated by DHCP.
                                 address-group list Describes IP addresses allocated by DHCP. When only start-address or only end-address is present, it represents a single address. When both start-address and end-address are specified, it implies a range inclusive of both addresses. If no address is sp...
                                    end-address leaf Last address.
                                    group-id leaf Group-id for the address range from start-address to end-address.
                                    start-address leaf First address.
                           number case number-of-dynamic-address
                              number-of-dynamic-address leaf Describes the number of IP addresses the customer requires.
                        prefix-length leaf Subnet prefix length expressed in bits. If not specified, or specified as zero, this means the customer leaves the actual prefix length value to the provider.
                        provider-address leaf Address of the provider side. If provider-address is not specified, then prefix length should not be specified either. It also implies provider-dhcp allocation is not enabled. If provider-address is specified, then prefix length may or may not be speci...
                  oam container Defines the OAM mechanisms used on the connection.
                  oam container Defines the Operations, Administration, and Maintenance (OAM) mechanisms used on the connection. BFD is set as a fault detection mechanism, but the 'oam' container can easily be augmented by other mechanisms
                     bfd container Container for BFD.
                     bfd container Container for BFD.
                        enabled leaf BFD activation.
                        enabled leaf If true, BFD activation is required.
                        holdtime choice Choice for holdtime flavor.
                        holdtime choice Choice for holdtime flavor.
                           fixed case fixed-value
                           fixed case fixed-value
                              fixed-value leaf Expected holdtime expressed in msec.
                              fixed-value leaf Expected BFD holdtime expressed in msec. The customer may impose some fixed values for the holdtime period if the provider allows the customer use this function. If the provider doesn't allow the customer to use this function, the fixed-value will not be...
                           profile case Well-known SP profile.
                           profile case Well-known SP profile.
                              profile-name leaf Well-known SP profile.
                              profile-name leaf Well-known SP profile name. The provider can propose some profiles to the customer, depending on the service level the customer wants to achieve. Profile names must be communicated to the customer.
               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 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.
               routing-protocols container Defines routing protocols.
               routing-protocols container Defines routing protocols.
                  routing-protocol list List of routing protocols used on the site. This list can be augmented.
                  routing-protocol list List of routing protocols used on the site. This list can be augmented.
                     bgp container BGP-specific configuration.
                     bgp container BGP-specific configuration.
                        address-family leaf-list Address family to be activated.
                        address-family leaf-list If BGP is used on this site, this node contains a configured value. This node contains at least one address family to be activated.
                        autonomous-system leaf AS number.
                        autonomous-system leaf Customer AS number in case the customer requests BGP routing.
                     ospf container OSPF-specific configuration.
                     ospf container OSPF-specific configuration.
                        address-family leaf-list Address family to be activated.
                        address-family leaf-list If OSPF is used on this site, this node contains a configured value. This node contains at least one address family to be activated.
                        area-address leaf Area address.
                        area-address leaf Area address.
                        metric leaf Metric of the PE-CE link.
                        metric leaf Metric of the PE-CE link. It is used in the routing state calculation and path selection.
                        sham-links container List of sham links.
                        sham-links container List of sham links.
                           sham-link list Creates a sham link with another site.
                           sham-link list Creates a sham link with another site.
                              metric leaf Metric of the sham link.
                              metric leaf Metric of the sham link. It is used in the routing state calculation and path selection. The default value is set to 1.
                              target-site leaf Target site for the sham link connection. The site is referred to by its ID.
                              target-site leaf Target site for the sham link connection. The site is referred to by its ID.
                     rip container Configuration specific to RIP routing.
                     rip container Configuration specific to RIP routing.
                        address-family leaf-list Address family to be activated.
                        address-family leaf-list If RIP is used on this site, this node contains a configured value. This node contains at least one address family to be activated.
                     static container Configuration specific to static routing.
                     static container Configuration specific to static routing.
                        cascaded-lan-prefixes container LAN prefixes from the customer.
                        cascaded-lan-prefixes container LAN prefixes from the customer.
                           ipv4-lan-prefixes list List of LAN prefixes for the site.
                           ipv4-lan-prefixes list List of LAN prefixes for the site.
                              lan leaf LAN prefixes.
                              lan leaf LAN prefixes.
                              lan-tag leaf Internal tag to be used in VPN policies.
                              lan-tag leaf Internal tag to be used in VPN policies.
                              next-hop leaf Next-hop address to use on the customer side.
                              next-hop leaf Next-hop address to use on the customer side.
                           ipv6-lan-prefixes list List of LAN prefixes for the site.
                           ipv6-lan-prefixes list List of LAN prefixes for the site.
                              lan leaf LAN prefixes.
                              lan leaf LAN prefixes.
                              lan-tag leaf Internal tag to be used in VPN policies.
                              lan-tag leaf Internal tag to be used in VPN policies.
                              next-hop leaf Next-hop address to use on the customer side.
                              next-hop leaf Next-hop address to use on the customer side.
                     type leaf Type of routing protocol.
                     type leaf Type of routing protocol.
                     vrrp container Configuration specific to VRRP routing.
                     vrrp container Configuration specific to VRRP routing.
                        address-family leaf-list Address family to be activated.
                        address-family leaf-list If VRRP is used on this site, this node contains a configured value. This node contains at least one address family to be activated.
               security container Site-specific security parameters.
               security container Site-specific security parameters.
                  authentication container Authentication parameters.
                  authentication container Authentication parameters.
                  encryption container Encryption parameters.
                  encryption container Encryption parameters.
                     enabled leaf If true, access encryption is required.
                     enabled leaf If true, traffic encryption on the connection is required.
                     encryption-profile container Profile of encryption to be applied.
                     encryption-profile container Profile of encryption to be applied.
                        profile choice Choice of profile.
                        profile choice Choice of encryption profile. The encryption profile can be the provider profile or customer profile.
                           customer-profile case algorithm key-type
                           customer-profile case algorithm key-type
                              algorithm leaf Encryption algorithm to be used.
                              algorithm leaf Encryption algorithm to be used.
                              key-type choice Type of keys to be used.
                              key-type choice Type of keys to be used.
                                 pki case OID: /l3vpn-svc/sites/site/site-network-accesses/site-network-access/security/encryption/encryption-profile/profile/customer-profile/key-type/pki
                                 psk case preshared-key
                                 psk case preshared-key
                                    preshared-key leaf Key coming from customer.
                                    preshared-key leaf Pre-Shared Key (PSK) coming from the customer.
                           provider-profile case profile-name
                           provider-profile case profile-name
                              profile-name leaf Name of the SP profile to be applied.
                              profile-name leaf Name of the SP profile to be applied.
                     layer leaf Layer on which encryption is applied.
                     layer leaf Layer on which encryption is applied.
               service container Service parameters on the attachment.
               service container Service parameters on the attachment.
                  carrierscarrier container This container is used when the customer provides MPLS-based services. This is used in the case of CsC.
                  carrierscarrier container This container is used when the customer provides MPLS-based services. This is only used in the case of CsC (i.e., a customer builds an MPLS service using an IP VPN to carry its traffic).
                     signalling-type leaf MPLS signalling type.
                     signalling-type leaf MPLS signalling type.
                  multicast container Multicast parameters for the site.
                  multicast container Multicast parameters for the site.
                     multicast-address-family container Defines protocol to carry multicast.
                     multicast-address-family container Defines protocol to carry multicast.
                        ipv4 leaf Enables IPv4 multicast.
                        ipv4 leaf Enables IPv4 multicast.
                        ipv6 leaf Enables IPv6 multicast.
                        ipv6 leaf Enables IPv6 multicast.
                     multicast-site-type leaf Type of multicast site.
                     multicast-site-type leaf Type of multicast site.
                     protocol-type leaf Multicast protocol type to be used with the customer site.
                     protocol-type leaf Multicast protocol type to be used with the customer site.
                  qos container QoS configuration.
                  qos container QoS configuration.
                     qos-classification-policy container Configuration of the traffic classification policy.
                     qos-classification-policy container Configuration of the traffic classification policy.
                        rule list List of marking rules.
                        rule list List of marking rules.
                           id leaf ID of the rule.
                           id leaf A description identifying the qos-classification-policy rule.
                           match-type choice Choice for classification.
                           match-type choice Choice for classification.
                              match-application case match-application
                              match-application case match-application
                                 match-application leaf Defines the application to match.
                                 match-application leaf Defines the application to match.
                              match-flow case match-flow
                              match-flow case match-flow
                                 match-flow container Describes flow-matching criteria.
                                 match-flow container Describes flow-matching criteria.
                                    dot1p leaf 802.1p matching.
                                    dot1p leaf 802.1p matching.
                                    dscp leaf DSCP value.
                                    dscp leaf DSCP value.
                                    ipv4-dst-prefix leaf Match on IPv4 dst address.
                                    ipv4-dst-prefix leaf Match on IPv4 dst address.
                                    ipv4-src-prefix leaf Match on IPv4 src address.
                                    ipv4-src-prefix leaf Match on IPv4 src address.
                                    ipv6-dst-prefix leaf Match on IPv6 dst address.
                                    ipv6-dst-prefix leaf Match on IPv6 dst address.
                                    ipv6-src-prefix leaf Match on IPv6 src address.
                                    ipv6-src-prefix leaf Match on IPv6 src address.
                                    l4-dst-port leaf Match on Layer 4 dst port.
                                    l4-dst-port leaf Match on Layer 4 dst port.
                                    l4-dst-port-range container Match on Layer 4 dst port range.
                                    l4-dst-port-range container Match on Layer 4 dst port range. When only lower-port is present, it represents a single port. When both lower-port and upper-port are specified, it implies a range inclusive of both values.
                                       lower-port leaf Lower boundary for port.
                                       lower-port leaf Lower boundary for port.
                                       upper-port leaf Upper boundary for port.
                                       upper-port leaf Upper boundary for port. If it exists, upper boundary must be higher than lower boundary.
                                    l4-src-port leaf Match on Layer 4 src port.
                                    l4-src-port leaf Match on Layer 4 src port.
                                    l4-src-port-range container Match on Layer 4 src port range.
                                    l4-src-port-range container Match on Layer 4 src port range. When only the lower-port is present, it represents a single port. When both the lower-port and upper-port are specified, it implies a range inclusive of both values.
                                       lower-port leaf Lower boundary for port.
                                       lower-port leaf Lower boundary for port.
                                       upper-port leaf Upper boundary for port.
                                       upper-port leaf Upper boundary for port.
                                    protocol-field leaf Match on IPv4 protocol or IPv6 Next Header field.
                                    protocol-field leaf Match on IPv4 protocol or IPv6 Next Header field.
                                    target-sites leaf-list Identify a site as traffic destination.
                                    target-sites leaf-list Identify a site as traffic destination.
                           target-class-id leaf Identification of the class of service. This identifier is internal to the administration.
                           target-class-id leaf Identification of the class of service. 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 custom.
                        qos-profile choice Choice for QoS profile. Can be standard profile or customized profile.
                           custom case classes
                           custom case Customized QoS profile.
                              classes container Container for list of classes of services.
                              classes container Container for list of classes of services.
                                 class list List of classes of services.
                                 class list List of classes of services.
                                    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 To be used to define the guaranteed bandwidth as a percentage of the available service bandwidth.
                                    class-id leaf Identification of the class of service. This identifier is internal to the administration.
                                    class-id leaf Identification of the class of service. This identifier is internal to the administration.
                                    direction leaf The direction to which the QoS profile is applied.
                                    jitter container Jitter constraint on the traffic class.
                                    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 latency-boundary
                                          boundary case latency-boundary
                                             latency-boundary leaf The traffic class should use a path with a defined maximum jitter.
                                             latency-boundary 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 path with the lowest jitter.
                                             use-lowest-jitter leaf The traffic class should use the path with the lowest jitter.
                                    latency container Latency constraint on the traffic class.
                                    latency container Latency constraint on the traffic class.
                                       flavor choice Latency constraint on the traffic class.
                                       flavor choice Latency constraint on the traffic class.
                                          boundary case latency-boundary
                                          boundary case latency-boundary
                                             latency-boundary leaf The traffic class should use a path with a defined maximum latency.
                                             latency-boundary leaf The traffic class should use a path with a defined maximum latency.
                                          lowest case use-lowest-latency
                                          lowest case use-lowest-latency
                                             use-lowest-latency leaf The traffic class should use the path with the lowest latency.
                                             use-lowest-latency leaf The traffic class should use the path with the lowest latency.
                                    rate-limit leaf To be used if the class must be rate-limited. Expressed as percentage of the service bandwidth.
                                    rate-limit leaf To be used if the class must be rate-limited. Expressed as percentage of the service bandwidth.
                           standard case profile
                           standard case Standard QoS profile.
                              profile leaf QoS profile to be used.
                              profile leaf QoS profile to be used.
                  svc-input-bandwidth leaf From the PE's perspective, the service input bandwidth of the connection.
                  svc-input-bandwidth leaf From the customer site's perspective, the service input bandwidth of the connection or download bandwidth from the SP to the site.
                  svc-mtu leaf MTU at service level. If the service is IP, it refers to the IP MTU.
                  svc-mtu leaf MTU at service level. If the service is IP, it refers to the IP MTU. If CsC is enabled, the requested 'svc-mtu' leaf will refer to the MPLS MTU and not to the IP MTU.
                  svc-output-bandwidth leaf From the PE's perspective, the service output bandwidth of the connection.
                  svc-output-bandwidth leaf From the customer site's perspective, the service output bandwidth of the connection or upload bandwidth from the site to the SP.
               site-network-access-id leaf Identifier for the access.
               site-network-access-id leaf Identifier for the access.
               site-network-access-type leaf Describes the type of connection, e.g., point-to-point or multipoint.
               site-network-access-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 VPN attachment of a site.
                  attachment-flavor choice Choice for VPN attachment flavor.
                  attachment-flavor choice Choice for VPN attachment flavor. A choice is implemented to allow the user to choose the flavor that provides the best fit.
                     vpn-id case vpn-id site-role
                     vpn-id case vpn-id site-role
                        site-role leaf Role of the site in the IP VPN.
                        site-role leaf Role of the site in the IP VPN. 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 VPN.
                        vpn-id leaf Reference to an IP VPN. 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-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. When referencing VPN policy for attachment, the vpn-policy-id must be configured.
         site-vpn-flavor leaf Defines whether the site is, for example, a single VPN site or a multiVPN.
         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; or, in the case of a multiVPN, whether the logical accesses of the sites belong to the same set of VPNs or each logical access maps to differe...
         traffic-protection container Fast Reroute service parameters for the site.
         traffic-protection container Fast Reroute service parameters for the site.
            enabled leaf Enables traffic protection of access link.
            enabled leaf Enables traffic protection of access link.
         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 export policy.
                  filter container If used, it permits the splitting of site LANs among multiple VPNs. If no filter is used, all the LANs will be part of the same VPNs with the same role.
                     lan choice Choice of ways to do LAN matching.
                        lan-tag case lan-tag
                           lan-tag leaf-list List of 'lan-tag' items to be matched.
                        prefixes case ipv4-lan-prefix ipv6-lan-prefix
                           ipv4-lan-prefix leaf-list List of IPv4 prefixes to be matched.
                           ipv6-lan-prefix leaf-list List of IPv6 prefixes to be matched.
                  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 ...
                     filter list List of filters used on the site. This list can be augmented.
                        ipv4-lan-prefix leaf-list List of IPv4 prefixes as LAN Prefixes to be matched.
                        ipv6-lan-prefix leaf-list List of IPv6 prefixes as LAN prefixes to be matched.
                        lan-tag leaf-list List of 'lan-tag' items to be matched. LAN Tag is an Internal tag to be used in VPN policies
                        type leaf Type of VPN Policy filter.
                  id leaf Unique identifier for the policy entry.
                  id leaf Unique identifier for the policy entry.
                  vpn container List of VPNs the LAN is associated with.
                  vpn list List of VPNs the LAN is associated with.
                     site-role leaf Role of the site in the IP VPN.
                     site-role leaf Role of the site in the IP VPN.
                     vpn-id leaf Reference to an IP VPN.
                     vpn-id leaf Reference to an IP VPN.
               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.
      valid-provider-identifiers container Container for Valid Provider Identifies.
         bfd-profile-identifier list List for BFD Profile identifiers.
            id leaf Identification of the SP BFD Profile to be used. Local administration meaning.
         cloud-identifier list List for Cloud Identifiers.
            id leaf Identification of cloud service. Local administration meaning.
         encryption-profile-identifier list List for encryption profile identifiers.
            id leaf Identification of the SP encryption profile to be used. Local administration meaning.
         qos-profile-identifier list List for QoS Profile Identifiers.
            id leaf Identification of the QoS Profile to be used. Local administration meaning.
   vpn-services container Top-level container for the VPN services.
   vpn-services container Top-level container for the 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.
         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.
               address-translation container Container for NAT.
               address-translation container Container for NAT.
                  nat44 container IPv4-to-IPv4 translation.
                  nat44 container IPv4-to-IPv4 translation.
                     enabled leaf Controls whether or not address translation is required.
                     enabled leaf Controls whether or not Network address translation from IPv4 to IPv4 (NAT44) [RFC3022] is required.
                     nat44-customer-address leaf Address to be used for translation. This is to be used if the customer is providing the address.
                     nat44-customer-address leaf Address to be used for network address translation from IPv4 to IPv4. This is to be used if the customer is providing the IPv4 address. If the customer address is not set, the model assumes that the provider will allocate the address.
               authorized-sites container Configuration of authorized sites.
                  authorized-site list List of authorized sites.
                     site-id leaf Site ID.
               cloud-identifier leaf Identification of cloud service. Local administration meaning.
               cloud-identifier leaf Identification of cloud service. Local administration meaning.
               denied-sites container Configuration of denied sites.
                  denied-site list List of denied sites.
                     site-id leaf Site ID.
               list-flavor choice Choice for cloud access policy.
               list-flavor choice Choice for cloud access policy. By default, all sites in the IP VPN 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 Allows all sites.
                     permit-any leaf Allows all sites.
         customer-name leaf Name of the customer.
         customer-name leaf Name of the customer that actually uses the VPN service. In the case that any intermediary (e.g., Tier-2 provider or partner) sells the VPN service to their end user on behalf of the original service provider (e.g., Tier-1 provider), the original service ...
         extranet-vpns container Container for extranet VPN configuration.
         extranet-vpns container Container for extranet VPN configuration.
            extranet-vpn list List of extranet VPNs the local VPN is attached to.
            extranet-vpn list List of extranet VPNs or target VPNs the local VPN is attached to.
               local-sites-role leaf This describes the role of the local sites in the target VPN topology.
               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 disjo...
               vpn-id leaf Identifies the target VPN.
               vpn-id leaf Identifies the target VPN the local VPN want to access.
         multicast container Multicast global parameters for the VPN service.
         multicast container Multicast global parameters for the VPN service.
            customer-tree-flavors container Type of trees used by customer.
            customer-tree-flavors container Type of trees used by customer.
               tree-flavor leaf-list Type of tree to be used.
               tree-flavor leaf-list Type of tree to be used.
            enabled leaf Enables multicast.
            enabled leaf Enables multicast.
            rp container RP parameters.
            rp container RP parameters.
               rp-discovery container RP discovery parameters.
               rp-discovery container RP discovery parameters.
                  bsr-candidates container Customer BSR candidate's address.
                  bsr-candidates container Container for List of Customer BSR candidate's addresses.
                     bsr-candidate-address leaf-list Address of BSR candidate.
                     bsr-candidate-address leaf-list Address of BSR candidate.
                  rp-discovery-type leaf Type of RP discovery used.
                  rp-discovery-type leaf Type of RP discovery used.
               rp-group-mappings container RP-to-group mappings.
               rp-group-mappings container RP-to-group mappings parameters.
                  rp-group-mapping list List of RP-to-group mappings.
                  rp-group-mapping list List of RP-to-group mappings.
                     groups container Multicast groups associated with the RP.
                     groups container Multicast groups associated with the RP.
                        group list List of groups.
                        group list List of multicast groups.
                           group-format choice Choice for group format.
                           group-format choice Choice for multicast group format.
                              singleaddress case group-address
                              singleaddress case group-address
                                 group-address leaf Group address.
                                 group-address leaf A single multicast group address.
                              startend case group-start group-end
                              startend case group-start group-end
                                 group-end leaf Last group address.
                                 group-end leaf The last multicast group address in the multicast group address range.
                                 group-start leaf First group address.
                                 group-start leaf The first multicast group address in the multicast group address range.
                           id leaf Identifier for the group.
                           id leaf Identifier for the group.
                     id leaf Unique identifier for the mapping.
                     id leaf Unique identifier for the mapping.
                     provider-managed container Parameters for a provider-managed RP.
                     provider-managed container Parameters for a provider-managed RP.
                        enabled leaf Set to true if the RP must be a provider-managed node. Set to false if it is a customer-managed node.
                        enabled leaf Set to true if the Rendezvous Point (RP) must be a provider-managed node. Set to false if it is a customer-managed node.
                        optimal-traffic-delivery leaf If true, the SP must ensure that traffic uses an optimal path.
                        optimal-traffic-delivery leaf If true, the SP must ensure that traffic uses an optimal path. An SP may use Anycast RP or RP-tree-to-SPT switchover architectures.
                        rp-redundancy leaf If true, a redundancy mechanism for the RP is required.
                        rp-redundancy leaf If true, a redundancy mechanism for the RP is required.
                     rp-address leaf Defines the address of the RP. Used if the RP is customer-managed.
                     rp-address leaf Defines the address of the RP. Used if the RP is customer-managed.
         vpn-id leaf VPN identifier. Local administration meaning.
         vpn-id leaf VPN identifier. Local administration meaning.
         vpn-service-topology leaf VPN service topology.
         vpn-service-topology leaf VPN service topology.