huawei-bgp-srv6

BGP SRv6 configuration.

  • Version: 2020-03-13

    huawei-bgp-srv6@2020-03-13


    
      module huawei-bgp-srv6 {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-bgp-srv6";
    
        prefix bgp-srv6;
    
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-bgp {
          prefix bgp;
        }
        import huawei-srv6 {
          prefix srv6;
        }
    
        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 "BGP SRv6 configuration.";
    
        revision "2020-03-13" {
          description
            "The modifications about srv6-be are synchronized to the YANG file.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-02-25" {
          description
            "The YANG descriptions are modified according to new standards.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-03-22" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "bgp";
    
        typedef apply-sid-mode {
          type enumeration {
            enum "per-instance" {
              value 0;
              description
                "Allocate a SID per VPN instance.";
            }
            enum "per-nexthop" {
              value 1;
              description
                "Allocate a SID per next hop.";
            }
          }
          description
            "SID allocation mode of SRv6 for BGP.";
        }
      }  // module huawei-bgp-srv6
    

© 2023 YumaWorks, Inc. All rights reserved.