huawei-bier-fwd

Bier forward.

  • Version: 2020-02-13

    huawei-bier-fwd@2020-02-13


    
      module huawei-bier-fwd {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-bier-fwd";
    
        prefix bier-fwd;
    
        import huawei-bier {
          prefix bier;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-devm {
          prefix devm;
        }
    
        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 "Bier forward.";
    
        revision "2020-02-13" {
          description "Init revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "bier";
    
        container bier-fwd {
          description
            "Global configuration of bier-fwd.";
          container select-boards {
            description
              "Configure boards selected for bier.";
            leaf-list slot {
              type leafref {
                path "/devm:devm/devm:lpu-boards/devm:lpu-board/devm:position";
              }
              max-elements 20;
              description "Configure slot ID.";
            }
          }  // container select-boards
        }  // container bier-fwd
    
        augment /bier:bier {
          description
            "Configure global attributes to the BIER.";
          container forward {
            description
              "Configure global attributes to the BIER.";
            container reserve-interface-enhancement {
              description
                "Configure reserve-interface enhancement.";
              leaf enable {
                type boolean;
                default "false";
                description
                  "Enable/disable reserve-interface enhancement.";
              }
            }  // container reserve-interface-enhancement
          }  // container forward
        }
    
        augment /bier:bier/bier:sub-domains/bier:sub-domain {
          description
            "Configure pipe mode ttl value.";
          container pipe-mode-ttl {
            description
              "Configure pipe mode ttl value.";
            leaf ttl-value {
              type uint8 {
                range "1..255";
              }
              default "255";
              description
                "Bier pipe mode ttl value.";
            }
          }  // container pipe-mode-ttl
    
          container load-balance-enhance-factor {
            when
              "../bier:address-family = 'ipv6-unicast'";
            description
              "Configure load-balance enhance factor.";
            leaf factor-value {
              type uint8 {
                range "1..64";
              }
              must
                "(../bier-fwd:factor-value * ../../bier:load-balance-num) <= 64";
              description
                "Configure load-balance enhance factor.";
            }
          }  // container load-balance-enhance-factor
        }
      }  // module huawei-bier-fwd
    

© 2023 YumaWorks, Inc. All rights reserved.