diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-16 12:30:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 12:30:27 +0100 |
commit | c1754c4c0610824d54d03b5408ade26112bd643f (patch) | |
tree | ed92428021732ca56024fdd630313f19934350b5 /op-mode-definitions | |
parent | 7b0eaba2d365e5bdf28d74e5b6cca629ff03c5da (diff) | |
parent | dc80f64212a746fe8ad8fdb989e89bd8fbb27386 (diff) | |
download | vyos-1x-c1754c4c0610824d54d03b5408ade26112bd643f.tar.gz vyos-1x-c1754c4c0610824d54d03b5408ade26112bd643f.zip |
Merge pull request #2493 from vyos/mergify/bp/sagitta/pr-2490
op-mode: vrf: T5150: add "show vrf vni" and "show vrf <name> vni" commands (backport #2490)
Diffstat (limited to 'op-mode-definitions')
-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> |