From d93efd69083c153c1586dd08d65f1d10769820b7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 4 Mar 2020 19:10:49 +0100 Subject: vrf: T31: make 'show vrf' command behave like other 'show interface commands' - remove the additional depth for querying discrete VRF names - retrieve available VRF names from via from CLI rather then invoking an external script --- op-mode-definitions/show-vrf.xml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-vrf.xml b/op-mode-definitions/show-vrf.xml index fb2fddd49..360153d8e 100644 --- a/op-mode-definitions/show-vrf.xml +++ b/op-mode-definitions/show-vrf.xml @@ -6,19 +6,17 @@ Show VRF information - ${vyos_completion_dir}/list_vrf.py -e - - - - Show VRF information for an interface - - - - - ${vyos_completion_dir}/list_vrf.py -e "$4" - - + ${vyos_op_scripts_dir}/show_vrf.py -e + + + Show information on specific VRF instance + + vrf name + + + ${vyos_op_scripts_dir}/show_vrf.py -e "$3" + -- cgit v1.2.3