Specifies the multi-protocol label switching protocol.
Version: 2020-03-17
submodule huawei-mpls-type { yang-version 1; belongs-to huawei-mpls { prefix mpls; } 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-03-17" { description "Modified some description."; reference "Huawei private."; } revision "2020-02-12" { description "Added the sr-exp-mode-type."; reference "Huawei private."; } revision "2019-03-30" { description "Initial revision."; reference "Huawei private."; } typedef label-advertise { type enumeration { enum "explicit-null" { value 0; description "Allocates the label 0 to the penultimate hop by the end node."; } enum "implicit-null" { value 1; description "Allocates the label 3 to the penultimate hop by the end node."; } enum "non-null" { value 2; description "Indicates that the end node does not allocate a null label to the penultimate hop."; } } description "Label Advertise."; } typedef mpls-ttl-mode-type { type enumeration { enum "uniform" { value 1; description "Uniform Mode."; } enum "pipe" { value 2; description "Pipe Mode."; } } description "MPLS TTL Mode Type."; } typedef diff-serv-mode-type { type enumeration { enum "uniform" { value 2; description "Uniform Mode."; } enum "pipe" { value 1; description "Pipe Mode."; } } description "MPLS DiffServ Mode Type."; } typedef sr-exp-mode-type { type enumeration { enum "uniform" { value 3; description "Uniform Mode."; } enum "pipe" { value 1; description "Pipe Mode."; } } description "MPLS SR EXP Mode Type."; } typedef mpls-lsp-type { type enumeration { enum "static-lsp" { value 0; description "Static LSP."; } enum "static-crlsp" { value 1; description "Static CR-LSP."; } enum "ldp-lsp" { value 2; description "Label Distribution Protocol (LDP) label switched path (LSP)."; } enum "rsvp-crlsp" { value 3; description "RSVP CR-LSP."; } enum "bgp-lsp" { value 4; description "Border Gateway Protocol (BGP) label switched path (LSP)."; } enum "asbr-lsp" { value 5; description "Autonomous system boundary router (ASBR) label switched path (LSP)."; } enum "bgp-ipv6-lsp" { value 6; description "Border Gateway Protocol (BGP) IPv6label switched path (LSP)."; } enum "l3vpn-ipv6-lsp" { value 7; description "Layer 3 virtual private network (L3VPN) IPv6 label switched path (LSP)."; } enum "lsp" { value 8; description "Label switched path (LSP)."; } enum "crlsp" { value 9; description "Constraint-based routed label switched path (CR-LSP)."; } enum "evpn-lsp" { value 10; description "Ethernet Virtual Private Network (EVPN) label switched path (LSP)."; } } description "MPLS LSP Type."; } typedef outgoing-tunnel-type { type enumeration { enum "bgp" { value 2; description "BGP Tunnel."; } enum "srbe" { value 41; description "SRBE Tunnel."; } } description "Stick Tunnel Type."; } } // submodule huawei-mpls-type
© 2023 YumaWorks, Inc. All rights reserved.