summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-sid.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-14 13:26:40 +0100
committerGitHub <noreply@github.com>2024-01-14 13:26:40 +0100
commit06eabd239da20945b20900b6e91ee9be9b446c1d (patch)
tree74627b0ca159e8158af161d0ae30c57a5fe480f7 /interface-definitions/include/bgp/afi-sid.xml.i
parent945b645eb32d40d83bd09f5b418dd969880f3fd4 (diff)
parent42d6a8cd500b2a92e9dbe0e868b84f4b55b1e02b (diff)
downloadvyos-1x-06eabd239da20945b20900b6e91ee9be9b446c1d.tar.gz
vyos-1x-06eabd239da20945b20900b6e91ee9be9b446c1d.zip
Merge pull request #2820 from vyos/mergify/bp/sagitta/pr-2819
bgp: T591: SRv6 improvements (backport #2819)
Diffstat (limited to 'interface-definitions/include/bgp/afi-sid.xml.i')
-rw-r--r--interface-definitions/include/bgp/afi-sid.xml.i36
1 files changed, 36 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/afi-sid.xml.i b/interface-definitions/include/bgp/afi-sid.xml.i
new file mode 100644
index 000000000..38a3dcf9b
--- /dev/null
+++ b/interface-definitions/include/bgp/afi-sid.xml.i
@@ -0,0 +1,36 @@
+<!-- include start from bgp/sid.xml.i -->
+<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>
+ <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>
+ <!-- include end -->