From 459e32b3697396d032d50e9b5b5ab98518ce5cec Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 6 Jun 2020 16:27:09 +0200 Subject: op-mode: T2546: migrate show interfaces tunnel,input,pseudo-ethernet,l2tpv3 ... Migrate additional show commands to XML * show interfaces tunnel ... * show interfaces input ... * show interfaces pseudo-ethernet ... * show interfaces l2tpv3 ... * show interfaces bridge ... * show interfaces vti ... * show interfaces vxlan ... --- .../show-interfaces-pseudo-ethernet.xml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 op-mode-definitions/show-interfaces-pseudo-ethernet.xml (limited to 'op-mode-definitions/show-interfaces-pseudo-ethernet.xml') diff --git a/op-mode-definitions/show-interfaces-pseudo-ethernet.xml b/op-mode-definitions/show-interfaces-pseudo-ethernet.xml new file mode 100644 index 000000000..195944745 --- /dev/null +++ b/op-mode-definitions/show-interfaces-pseudo-ethernet.xml @@ -0,0 +1,42 @@ + + + + + + + + + Show pseudo-ethernet/MACvlan interface information + + interfaces pseudo-ethernet + + + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" + + + + Show summary of the specified pseudo-ethernet/MACvlan interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief + + + + + + Show pseudo-ethernet/MACvlan interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=pseudo-ethernet --action=show-brief + + + + Show detailed pseudo-ethernet/MACvlan interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=pseudo-ethernet --action=show + + + + + + + + -- cgit v1.2.3