From e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jan 2021 14:31:48 +0100 Subject: xml: op-mode: add preprocessor support as known from configuration mode --- op-mode-definitions/show-interfaces-bridge.xml.in | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 op-mode-definitions/show-interfaces-bridge.xml.in (limited to 'op-mode-definitions/show-interfaces-bridge.xml.in') diff --git a/op-mode-definitions/show-interfaces-bridge.xml.in b/op-mode-definitions/show-interfaces-bridge.xml.in new file mode 100644 index 000000000..cc4b248b6 --- /dev/null +++ b/op-mode-definitions/show-interfaces-bridge.xml.in @@ -0,0 +1,48 @@ + + + + + + + + + Show bridge interface information + + interfaces bridge + + + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" + + + + Show summary of the specified bridge interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief + + + + + + Show bridge interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=bridge --action=show-brief + + + + Show detailed bridge interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --intf-type=bridge --action=show + + + + View the VLAN filter settings of the bridge + + /usr/sbin/bridge -c vlan show + + + + + + + + -- cgit v1.2.3