Configuration for MPLS with segment routing-based LSPs, including global parameters, and LSP-specific configuration for both con...
Version: 2016-12-15
module openconfig-mpls-sr { yang-version 1; namespace "http://openconfig.net/yang/mpls-sr"; prefix oc-mpls-sr; import openconfig-extensions { prefix oc-ext; } organization "OpenConfig working group"; contact "OpenConfig working group netopenconfig@googlegroups.com"; description "Configuration for MPLS with segment routing-based LSPs, including global parameters, and LSP-specific configuration for both constrained-path and IGP-congruent LSPs"; revision "2016-12-15" { description "Add additional MPLS parameters"; reference "2.1.0"; } revision "2016-09-01" { description "Revisions based on implementation feedback"; reference "2.0.0"; } revision "2016-08-08" { description "Public release of MPLS models"; reference "1.0.1"; } oc-ext:openconfig-version "2.1.0"; grouping sr-path-attributes_config { description "Configuration parameters relating to SR-TE LSPs"; leaf sid-selection-mode { type enumeration { enum "ADJ_SID_ONLY" { value 0; description "The SR-TE tunnel should only use adjacency SIDs to build the SID stack to be pushed for the LSP"; } enum "MIXED_MODE" { value 1; description "The SR-TE tunnel can use a mix of adjacency and prefix SIDs to build the SID stack to be pushed to the LSP"; } } default 'MIXED_MODE'; description "The restrictions placed on the SIDs to be selected by the calculation method for the explicit path when it is instantiated for a SR-TE LSP"; } leaf sid-protection-required { type boolean; default "false"; description "When this value is set to true, only SIDs that are protected are to be selected by the calculating method when the explicit path is instantiated by a SR-TE LSP."; } } // grouping sr-path-attributes_config } // module openconfig-mpls-sr
© 2023 YumaWorks, Inc. All rights reserved.