summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-sid.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-14 12:33:07 +0100
committerGitHub <noreply@github.com>2024-01-14 12:33:07 +0100
commit2db98a47a066e53972c3c7727a4618ef72a91951 (patch)
treee5ccd4336c67d9a37c599785d71bc72e705a14bd /interface-definitions/include/bgp/afi-sid.xml.i
parent9b866fdb970aae782cf0a5d55d7117450e0c37eb (diff)
parent7349927908206fa83a7295d643f56950309efb4f (diff)
downloadvyos-1x-2db98a47a066e53972c3c7727a4618ef72a91951.tar.gz
vyos-1x-2db98a47a066e53972c3c7727a4618ef72a91951.zip
Merge pull request #2819 from c-po/T591-srv6-bgp-improvements
bgp: T591: SRv6 improvements
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 -->