summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols_segment-routing.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/protocols_segment-routing.xml.in')
-rw-r--r--interface-definitions/protocols_segment-routing.xml.in214
1 files changed, 211 insertions, 3 deletions
diff --git a/interface-definitions/protocols_segment-routing.xml.in b/interface-definitions/protocols_segment-routing.xml.in
index 688b253b6..cab1e6945 100644
--- a/interface-definitions/protocols_segment-routing.xml.in
+++ b/interface-definitions/protocols_segment-routing.xml.in
@@ -4,13 +4,13 @@
<children>
<node name="segment-routing" owner="${vyos_conf_scripts_dir}/protocols_segment-routing.py">
<properties>
- <help>Segment Routing</help>
+ <help>Segment-Routing (SR) parameters</help>
<priority>900</priority>
</properties>
<children>
<tagNode name="interface">
<properties>
- <help>Interface specific Segment Routing options</help>
+ <help>Interface specific Segment-Routing options</help>
<completionHelp>
<script>${vyos_completion_dir}/list_interfaces</script>
</completionHelp>
@@ -61,9 +61,17 @@
<help>Segment-Routing SRv6 configuration</help>
</properties>
<children>
+ <node name="encapsulation">
+ <properties>
+ <help>Segment Routing SRv6 encapsulation</help>
+ </properties>
+ <children>
+ #include <include/source-address-ipv6.xml.i>
+ </children>
+ </node>
<tagNode name="locator">
<properties>
- <help>Segment Routing SRv6 locator</help>
+ <help>Segment-Routing SRv6 locators configuration</help>
<constraint>
#include <include/constraint/alpha-numeric-hyphen-underscore.xml.i>
</constraint>
@@ -149,6 +157,206 @@
</tagNode>
</children>
</node>
+ <node name="traffic-engineering">
+ <properties>
+ <help>SR Traffic Engineering (TE) configuration</help>
+ </properties>
+ <children>
+ <node name="database-import-protocol">
+ <properties>
+ <help>Traffic Engineering Database (TED) IGP import protocol</help>
+ </properties>
+ <children>
+ <leafNode name="isis">
+ <properties>
+ <help>IS-IS originated Traffic Engineering (TE) database</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="ospf">
+ <properties>
+ <help>OSPF originated Traffic Engineering (TE) database</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <tagNode name="segment-list">
+ <properties>
+ <help>Segment List</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Segment List Name</description>
+ </valueHelp>
+ <constraint>
+ #include <include/constraint/alpha-numeric-hyphen-underscore.xml.i>
+ </constraint>
+ </properties>
+ <children>
+ <tagNode name="index">
+ <properties>
+ <help>Traffic engineering index value for segment list</help>
+ <valueHelp>
+ <format>u32</format>
+ <description>Segment list index value</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-4294967295"/>
+ </constraint>
+ </properties>
+ <children>
+ <node name="mpls">
+ <properties>
+ <help>MPLS label for index</help>
+ </properties>
+ <children>
+ <leafNode name="label">
+ <properties>
+ <help>MPLS label value for index</help>
+ <valueHelp>
+ <format>u32:16-1048575</format>
+ <description>MPLS label value for index</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 16-1048575"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="nai">
+ <properties>
+ <help>Node or Adjacency identifier (NAI) for index</help>
+ </properties>
+ <children>
+ <node name="adjacency">
+ <properties>
+ <help>Adjacency identifier for index</help>
+ </properties>
+ <children>
+ <node name="ipv4">
+ <properties>
+ <help>IPv4 address</help>
+ </properties>
+ <children>
+ <leafNode name="source-identifier">
+ <properties>
+ <help>Adjacency source address identifier for index</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 adjacency source address identifier</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="destination-identifier">
+ <properties>
+ <help>Adjacency destination address identifier for index</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 adjacency destination address identifier</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="ipv6">
+ <properties>
+ <help>IPv6 address</help>
+ </properties>
+ <children>
+ <leafNode name="source-identifier">
+ <properties>
+ <help>Adjacency source address identifier for index</help>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 adjacency source address identifier</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="destination-identifier">
+ <properties>
+ <help>Adjacency destination address identifier for index</help>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 adjacency destination address identifier</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="prefix">
+ <properties>
+ <help>IGP prefix identifier for index</help>
+ </properties>
+ <children>
+ <node name="ipv4">
+ <properties>
+ <help>IPv4 address</help>
+ </properties>
+ <children>
+ <tagNode name="prefix-identifier">
+ <properties>
+ <help>IPv4 IGP prefix address identifier for index</help>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>IPv4 adjacency source address identifier</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-prefix"/>
+ </constraint>
+ </properties>
+ <children>
+ #include <include/segment-routing/algorithm.xml.i>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+ <node name="ipv6">
+ <properties>
+ <help>IPv6 address</help>
+ </properties>
+ <children>
+ <tagNode name="prefix-identifier">
+ <properties>
+ <help>IPv6 IGP prefix address identifier for index</help>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 adjacency source address identifier</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-prefix"/>
+ </constraint>
+ </properties>
+ <children>
+ #include <include/segment-routing/algorithm.xml.i>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </tagNode>
+ </children>
+ </tagNode>
+ </children>
+ </node>
</children>
</node>
</children>