From a1d5124fa73a7ec6850326e8d306fa4a05f2bdf1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 25 Nov 2022 20:49:16 +0100 Subject: veth: T4825: add op-mode CLI definitions --- .../show-interfaces-virtual-ethernet.xml.in | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 op-mode-definitions/show-interfaces-virtual-ethernet.xml.in diff --git a/op-mode-definitions/show-interfaces-virtual-ethernet.xml.in b/op-mode-definitions/show-interfaces-virtual-ethernet.xml.in new file mode 100644 index 000000000..c70f1e3d1 --- /dev/null +++ b/op-mode-definitions/show-interfaces-virtual-ethernet.xml.in @@ -0,0 +1,42 @@ + + + + + + + + + Show specified virtual-ethernet interface information + + interfaces virtual-ethernet + + + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" + + + + Show summary of the specified virtual-ethernet interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief + + + + + + Show virtual-ethernet interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=virtual-ethernet --action=show-brief + + + + Show detailed virtual-ethernet interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=virtual-ethernet --action=show + + + + + + + + -- cgit v1.2.3