From a27129137ba5a6bcaf7005ae7c548533aaf2fa7e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 6 Jun 2020 00:16:01 +0200 Subject: op-mode: dummy: T2546: add show interfaces command --- op-mode-definitions/show-interfaces-dummy.xml | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 op-mode-definitions/show-interfaces-dummy.xml diff --git a/op-mode-definitions/show-interfaces-dummy.xml b/op-mode-definitions/show-interfaces-dummy.xml new file mode 100644 index 000000000..02e03518d --- /dev/null +++ b/op-mode-definitions/show-interfaces-dummy.xml @@ -0,0 +1,41 @@ + + + + + + + + + Show dummy interface information + + interfaces dummy + + + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" + + + + Show summary of the specified dummy interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief + + + + + + Show dummy interface information + + + + + Show detailed dummy interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=dummy --action=show + + + + + + + + -- cgit v1.2.3