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.xml.in | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 op-mode-definitions/show-interfaces.xml.in (limited to 'op-mode-definitions/show-interfaces.xml.in') diff --git a/op-mode-definitions/show-interfaces.xml.in b/op-mode-definitions/show-interfaces.xml.in new file mode 100644 index 000000000..39b0f0a2c --- /dev/null +++ b/op-mode-definitions/show-interfaces.xml.in @@ -0,0 +1,27 @@ + + + + + + + Show network interface information + + ${vyos_op_scripts_dir}/show_interfaces.py --action=show-brief + + + + Show network interface counters + + ${vyos_op_scripts_dir}/show_interfaces.py --action=show-count + + + + Show detailed information of all interfaces + + ${vyos_op_scripts_dir}/show_interfaces.py --action=show + + + + + + -- cgit v1.2.3