summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-10 21:12:55 +0100
committerChristian Breunig <christian@breunig.cc>2023-12-11 18:21:26 +0100
commitaf46fe54e56cf85d13b62ee771bec3d80f225ac5 (patch)
treebc2ed06230616dc60fa8a343311d85582e95617c /op-mode-definitions
parentfedb2ee0c677dca23de24d9e70ff239e7556da28 (diff)
downloadvyos-1x-af46fe54e56cf85d13b62ee771bec3d80f225ac5.tar.gz
vyos-1x-af46fe54e56cf85d13b62ee771bec3d80f225ac5.zip
bgp: T591: add SRv6 support from FRR
set protocols bgp sid vpn per-vrf export '99' set protocols bgp srv6 locator 'foo' set protocols bgp system-as '100' Will generate in FRR config router bgp 100 no bgp ebgp-requires-policy no bgp default ipv4-unicast no bgp network import-check ! segment-routing srv6 locator foo exit sid vpn per-vrf export 99 exit
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-bgp.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/show-bgp.xml.in b/op-mode-definitions/show-bgp.xml.in
index 3c212614c..8b1992432 100644
--- a/op-mode-definitions/show-bgp.xml.in
+++ b/op-mode-definitions/show-bgp.xml.in
@@ -100,6 +100,19 @@
</children>
</tagNode>
#include <include/vtysh-generic-wide.xml.i>
+ <node name="segment-routing">
+ <properties>
+ <help>BGP Segment Routing</help>
+ </properties>
+ <children>
+ <leafNode name="srv6">
+ <properties>
+ <help>BGP Segment Routing SRv6</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
</children>