huawei-mvpn-forward

Multicast virtual private network.

  • Version: 2019-03-26

    huawei-mvpn-forward@2019-03-26


    
      module huawei-mvpn-forward {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-mvpn-forward";
    
        prefix mvpn-forward;
    
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-l3vpn {
          prefix l3vpn;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-mvpn {
          prefix mvpn;
        }
    
        organization
          "Huawei Technologies Co., Ltd.";
    
        contact
          "Huawei Industrial Base
    Bantian, Longgang
    Shenzhen 518129
    People's Republic of China
    Website: http://www.huawei.com
    Email: support@huawei.com";
    
        description
          "Multicast virtual private network.";
    
        revision "2019-03-26" {
          description "Init revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "mvpn";
    
        typedef service-class {
          type enumeration {
            enum "be" {
              value 0;
              description "Service type of BE.";
            }
            enum "af1" {
              value 1;
              description "Service type of AF1.";
            }
            enum "af2" {
              value 2;
              description "Service type of AF2.";
            }
            enum "af3" {
              value 3;
              description "Service type of AF3.";
            }
            enum "af4" {
              value 4;
              description "Service type of AF4.";
            }
            enum "ef" {
              value 5;
              description "Service type of EF.";
            }
            enum "cs6" {
              value 6;
              description "Service type of CS6.";
            }
            enum "cs7" {
              value 7;
              description "Service type of CS7.";
            }
          }
          description "Service type.";
        }
    
        typedef color {
          type enumeration {
            enum "green" {
              value 0;
              description "Green.";
            }
            enum "yellow" {
              value 1;
              description "Yellow.";
            }
            enum "red" {
              value 2;
              description "Red.";
            }
          }
          description "Color type.";
        }
    
        typedef enableflag {
          type enumeration {
            enum "true" {
              value 1;
              description
                "Multicast-vpn TTL propagate is enabled.";
            }
            enum "false" {
              value 0;
              description
                "Multicast-vpn TTL propagate is disabled.";
            }
          }
          description "Enable flag type.";
        }
    
        container mvpn-forward {
          description
            "Multicast forwarding table.";
          container global {
            description
              "Configure MVPN global configuration.";
            container ttl-propagate {
              description
                "Configure MVPN TTL value.";
              leaf enable {
                type enableflag;
                default "false";
                description
                  "Propagate the TTL value used by the private network to the public network.";
              }
            }  // container ttl-propagate
    
            container multicast-vpn-slots {
              description
                "List of MVPN integrated boards.";
              list multicast-vpn-slot {
                key "slot";
                description
                  "Configure MVPN integrated board.";
                leaf slot {
                  type string {
                    length "1..15";
                  }
                  description
                    "Slot number of the board on which MVPN is to be enabled.";
                }
              }  // list multicast-vpn-slot
            }  // container multicast-vpn-slots
    
            container ng-mvpn-forward-mode {
              description
                "Configure the NGMVPN forwarding mode. You can modify the configuration five minutes after the configuration takes effect.";
              leaf propagate-enable {
                type enableflag;
                default "false";
                description
                  "Config loopback mode.";
              }
            }  // container ng-mvpn-forward-mode
          }  // container global
        }  // container mvpn-forward
      }  // module huawei-mvpn-forward
    

© 2023 YumaWorks, Inc. All rights reserved.