summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-sid.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-14 11:35:24 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-14 11:36:20 +0100
commitd7e248ba514108461ca9d5875c0be077c80ceca7 (patch)
tree0a2ef4facf9d425aad748944822220bf876d977c /interface-definitions/include/bgp/afi-sid.xml.i
parent9b866fdb970aae782cf0a5d55d7117450e0c37eb (diff)
downloadvyos-1x-d7e248ba514108461ca9d5875c0be077c80ceca7.tar.gz
vyos-1x-d7e248ba514108461ca9d5875c0be077c80ceca7.zip
bgp: T591: add SRv6 per address-family SID support
set protocols bgp address-family ipv4-unicast sid vpn export <auto|1-1048575> set protocols bgp address-family ipv6-unicast sid vpn export <auto|1-1048575>
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 -->