diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-13 13:03:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 13:03:40 +0100 |
commit | 8434cc7c7a6eaec754d7873e4f61551143cd26b2 (patch) | |
tree | b09832ffe46b5b1d6427f004d8079f11d2ef635e /interface-definitions/include/bgp/protocol-common-config.xml.i | |
parent | 790c028557230c525045c0d83abb60140aad9a8a (diff) | |
parent | ca301cdd4746187f96ff84e411fda6a84e33f237 (diff) | |
download | vyos-1x-8434cc7c7a6eaec754d7873e4f61551143cd26b2.tar.gz vyos-1x-8434cc7c7a6eaec754d7873e4f61551143cd26b2.zip |
Merge pull request #2606 from c-po/srv6
SRv6: T591: initial implementation to support locator definition
Diffstat (limited to 'interface-definitions/include/bgp/protocol-common-config.xml.i')
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index 4e43298bc..c379ba95c 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -1639,6 +1639,66 @@ #include <include/port-number.xml.i> </children> </tagNode> +<node name="srv6"> + <properties> + <help>Segment-Routing SRv6 configuration</help> + </properties> + <children> + <leafNode name="locator"> + <properties> + <help>Specify SRv6 locator</help> + <valueHelp> + <format>txt</format> + <description>SRv6 locator name</description> + </valueHelp> + <constraint> + #include <include/constraint/alpha-numeric-hyphen-underscore.xml.i> + </constraint> + </properties> + </leafNode> + </children> +</node> +<node name="sid"> + <properties> + <help>SID value for VRF</help> + </properties> + <children> + <node name="vpn"> + <properties> + <help>Between current VRF and VPN</help> + </properties> + <children> + <node name="per-vrf"> + <properties> + <help>SID per-VRF (both IPv4 and IPv6 address families)</help> + </properties> + <children> + <leafNode name="export"> + <properties> + <help>For routes leaked from current VRF to VPN</help> + <completionHelp> + <list>auto</list> + </completionHelp> + <valueHelp> + <format>u32:1-1048575</format> + <description>SID allocation index</description> + </valueHelp> + <valueHelp> + <format>auto</format> + <description>Automatically assign a label</description> + </valueHelp> + <constraint> + <regex>auto</regex> + <validator name="numeric" argument="--range 1-1048575"/> + </constraint> + </properties> + </leafNode> + </children> + </node> + </children> + </node> + </children> +</node> <node name="timers"> <properties> <help>BGP protocol timers</help> |