huawei-bgp-link-state

Inter-AS routing protocol that exchanges Network Layer Reachability Information (NLRI) with other BGP systems.

  • Version: 2020-08-18

    huawei-bgp-link-state@2020-08-18


    
      module huawei-bgp-link-state {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-bgp-link-state";
    
        prefix bgp-ls;
    
        import huawei-extension {
          prefix ext;
        }
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-bgp {
          prefix bgp;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-routing-policy {
          prefix rtp;
        }
        import huawei-bgp-routing-table {
          prefix bgp-rt;
        }
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-pub-type {
          prefix pub-type;
        }
    
        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
          "Inter-AS routing protocol that exchanges Network Layer Reachability Information (NLRI) with other BGP systems.";
    
        revision "2020-08-18" {
          description
            "The YANG descriptions are modified according to new standards.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-02-05" {
          description
            "The modifications in the code are synchronized to the YANG file.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-03-22" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "bgp";
    
        typedef ls-route-type {
          type enumeration {
            enum "node" {
              value 1;
              description "NODE.";
            }
            enum "link" {
              value 2;
              description "LINK.";
            }
            enum "ipv4-prefix-route" {
              value 3;
              description "IPv4 prefix route.";
            }
            enum "ipv6-prefix-route" {
              value 4;
              description "IPv6 prefix route.";
            }
            enum "srv6-sid-route" {
              value 6;
              description "SRv6 sid route.";
            }
          }
          description
            "The type of the bgpcommLsRoute.";
        }
    
        typedef protocol-type {
          type enumeration {
            enum "is-is-level-1" {
              value 1;
              description
                "Isis level 1 protocol.";
            }
            enum "is-is-level-2" {
              value 2;
              description
                "Isis level 2 protocol.";
            }
            enum "ospf" {
              value 3;
              description "OSPF.";
            }
            enum "direct" {
              value 4;
              description "Direct.";
            }
            enum "static" {
              value 5;
              description "Static.";
            }
            enum "ospfv3" {
              value 6;
              description "OSPFv3.";
            }
            enum "bgp" {
              value 7;
              description "BGP protocol.";
            }
            enum "segment-routing" {
              value 9;
              description "Segment routing.";
            }
          }
          description
            "The type of the bgpcommLsp protocol.";
        }
      }  // module huawei-bgp-link-state
    

© 2023 YumaWorks, Inc. All rights reserved.