diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-13 13:07:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 13:07:16 +0100 |
commit | fd74eb2e388308b9bd50ccc4236d53baa53a8da2 (patch) | |
tree | 4f3be6ea2a1d80f3795bec344af85e680ced2545 /op-mode-definitions | |
parent | 6b18f0d0bd6d688b84d54aec8f5a46687c7317f6 (diff) | |
parent | 5904a4163d004561b8cb51ad76212a841ce85832 (diff) | |
download | vyos-1x-fd74eb2e388308b9bd50ccc4236d53baa53a8da2.tar.gz vyos-1x-fd74eb2e388308b9bd50ccc4236d53baa53a8da2.zip |
Merge pull request #2626 from vyos/mergify/bp/sagitta/pr-2606
SRv6: T591: initial implementation to support locator definition (backport #2606)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-bgp.xml.in | 13 | ||||
-rw-r--r-- | op-mode-definitions/show-segment-routing.xml.in | 27 |
2 files changed, 40 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> diff --git a/op-mode-definitions/show-segment-routing.xml.in b/op-mode-definitions/show-segment-routing.xml.in new file mode 100644 index 000000000..ebdb51a61 --- /dev/null +++ b/op-mode-definitions/show-segment-routing.xml.in @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="segment-routing"> + <properties> + <help>Show Segment Routing</help> + </properties> + <children> + <node name="srv6"> + <properties> + <help>Segment Routing SRv6</help> + </properties> + <children> + <node name="locator"> + <properties> + <help>Locator Information</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </node> + </children> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition> |