huawei-mpls-static

Specifies the multi-protocol label switching protocol.

  • Version: 2020-02-26

    huawei-mpls-static@2020-02-26


    
      module huawei-mpls-static {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-mpls-static";
    
        prefix mpls-static;
    
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-mpls {
          prefix mpls;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-pub-type {
          prefix pub-type;
        }
        import huawei-ifm {
          prefix ifm;
        }
    
        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
          "Specifies the multi-protocol label switching protocol.";
    
        revision "2020-02-26" {
          description
            "Added an extension of one node.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-11-20" {
          description
            "Modify the static lsp model.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-03-27" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "mpls-ldp";
    
        typedef lsr-role-type {
          type enumeration {
            enum "ingress" {
              value 1;
              description
                "The role of the current LSR is ingress.";
            }
            enum "transit" {
              value 2;
              description
                "The role of the current LSR is transit.";
            }
            enum "egress" {
              value 3;
              description
                "The role of the current LSR is egress.";
            }
          }
          description "LSR role type.";
        }
    
        typedef lsp-status-type {
          type enumeration {
            enum "down" {
              value 0;
              description
                "The status of the LSP is down.";
            }
            enum "up" {
              value 1;
              description
                "The status of the LSP is up.";
            }
          }
          description "LSP status type.";
        }
      }  // module huawei-mpls-static
    

© 2023 YumaWorks, Inc. All rights reserved.