diff options
Diffstat (limited to 'interface-definitions/include')
| -rw-r--r-- | interface-definitions/include/ospf/high-low-label-value.xml.i | 26 | ||||
| -rw-r--r-- | interface-definitions/include/ospf/protocol-common-config.xml.i | 80 | 
2 files changed, 106 insertions, 0 deletions
| diff --git a/interface-definitions/include/ospf/high-low-label-value.xml.i b/interface-definitions/include/ospf/high-low-label-value.xml.i new file mode 100644 index 000000000..4b6779922 --- /dev/null +++ b/interface-definitions/include/ospf/high-low-label-value.xml.i @@ -0,0 +1,26 @@ +<!-- include start from ospf/high-low-label-value.xml.i --> +<leafNode name="low-label-value"> +  <properties> +    <help>MPLS label lower bound</help> +    <valueHelp> +      <format>u32:100-1048575</format> +      <description>Label value</description> +    </valueHelp> +    <constraint> +      <validator name="numeric" argument="--range 16-1048575"/> +    </constraint> +  </properties> +</leafNode> +<leafNode name="high-label-value"> +  <properties> +    <help>MPLS label upper bound</help> +    <valueHelp> +      <format>u32:100-1048575</format> +      <description>Label value</description> +    </valueHelp> +    <constraint> +      <validator name="numeric" argument="--range 16-1048575"/> +    </constraint> +  </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/include/ospf/protocol-common-config.xml.i b/interface-definitions/include/ospf/protocol-common-config.xml.i index 791bbc0f8..78c168641 100644 --- a/interface-definitions/include/ospf/protocol-common-config.xml.i +++ b/interface-definitions/include/ospf/protocol-common-config.xml.i @@ -621,6 +621,86 @@      </constraint>    </properties>  </leafNode> +<node name="segment-routing"> +  <properties> +    <help>Segment-Routing (SPRING) settings</help> +  </properties> +  <children> +    <node name="global-block"> +      <properties> +        <help>Segment Routing Global Block label range</help> +      </properties> +      <children> +        #include <include/ospf/high-low-label-value.xml.i> +      </children> +    </node> +    <node name="local-block"> +      <properties> +        <help>Segment Routing Local Block label range</help> +      </properties> +      <children> +        #include <include/ospf/high-low-label-value.xml.i> +      </children> +    </node> +    <leafNode name="maximum-label-depth"> +      <properties> +        <help>Maximum MPLS labels allowed for this router</help> +        <valueHelp> +          <format>u32:1-16</format> +            <description>MPLS label depth</description> +        </valueHelp> +        <constraint> +          <validator name="numeric" argument="--range 1-16"/> +        </constraint> +      </properties> +    </leafNode> +    <tagNode name="prefix"> +      <properties> +        <help>Static IPv4 prefix segment/label mapping</help> +        <valueHelp> +          <format>ipv4net</format> +          <description>IPv4 prefix segment</description> +        </valueHelp> +        <constraint> +          <validator name="ipv4-prefix"/> +        </constraint> +      </properties> +      <children> +        <node name="index"> +          <properties> +            <help>Specify the index value of prefix segment/label ID</help> +          </properties> +          <children> +            <leafNode name="value"> +              <properties> +                <help>Specify the index value of prefix segment/label ID</help> +                <valueHelp> +                  <format>u32:0-65535</format> +                    <description>The index segment/label ID value</description> +                </valueHelp> +                <constraint> +                  <validator name="numeric" argument="--range 0-65535"/> +                </constraint> +              </properties> +            </leafNode> +            <leafNode name="explicit-null"> +              <properties> +                <help>Request upstream neighbor to replace segment/label with explicit null label</help> +                <valueless/> +              </properties> +            </leafNode> +            <leafNode name="no-php-flag"> +              <properties> +                <help>Do not request penultimate hop popping for segment/label</help> +                <valueless/> +              </properties> +            </leafNode> +          </children> +        </node> +      </children> +    </tagNode> +  </children> +</node>  <node name="redistribute">    <properties>      <help>Redistribute information from another routing protocol</help> | 
