diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-16 08:34:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 08:34:40 +0100 |
commit | c3d96163b3e674c20e4c856a18f8765626663f21 (patch) | |
tree | 44dc5fab8d04cb7ae0abaa85987c3d1e8fd0126b | |
parent | e085f3e6c21a41beee2c23d8525c2029a8e0b250 (diff) | |
parent | 2fb763ffbc5c5babe552ec97c06570c54ea4aad8 (diff) | |
download | vyos-1x-c3d96163b3e674c20e4c856a18f8765626663f21.tar.gz vyos-1x-c3d96163b3e674c20e4c856a18f8765626663f21.zip |
Merge pull request #2490 from c-po/op-mode-vni-t5150
op-mode: vrf: T5150: add "show vrf vni" and "show vrf <name> vni" commands
-rw-r--r-- | op-mode-definitions/show-vrf.xml.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/op-mode-definitions/show-vrf.xml.in b/op-mode-definitions/show-vrf.xml.in index 9728eb1fa..c18649844 100644 --- a/op-mode-definitions/show-vrf.xml.in +++ b/op-mode-definitions/show-vrf.xml.in @@ -7,6 +7,14 @@ <help>Show VRF (Virtual Routing and Forwarding) information</help> </properties> <command>${vyos_op_scripts_dir}/vrf.py show</command> + <children> + <leafNode name="vni"> + <properties> + <help>Show information on VRF/VXLAN VNI mapping</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </leafNode> + </children> </node> <tagNode name="vrf"> <properties> @@ -23,6 +31,12 @@ </properties> <command>ip vrf pids "$3"</command> </leafNode> + <leafNode name="vni"> + <properties> + <help>Show VXLAN VNI association</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </leafNode> </children> </tagNode> </children> |