summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-16 15:17:13 +0100
committerGitHub <noreply@github.com>2023-11-16 15:17:13 +0100
commitccf8a0a0466cb8540705e1b1518c8b4ab9e8363d (patch)
tree90eaeb7a98b8153bd28109e227af20df362a6d79 /op-mode-definitions/show-interfaces.xml.in
parentc1754c4c0610824d54d03b5408ade26112bd643f (diff)
parentbd873274d462f43d4e7ed100726930326139ee74 (diff)
downloadvyos-1x-ccf8a0a0466cb8540705e1b1518c8b4ab9e8363d.tar.gz
vyos-1x-ccf8a0a0466cb8540705e1b1518c8b4ab9e8363d.zip
Merge pull request #2494 from vyos/mergify/bp/sagitta/pr-2491
T5747: op-mode add show interfaces summary (backport #2491)
Diffstat (limited to 'op-mode-definitions/show-interfaces.xml.in')
-rw-r--r--op-mode-definitions/show-interfaces.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-interfaces.xml.in b/op-mode-definitions/show-interfaces.xml.in
index dc61a6f5c..b58e0efea 100644
--- a/op-mode-definitions/show-interfaces.xml.in
+++ b/op-mode-definitions/show-interfaces.xml.in
@@ -20,6 +20,12 @@
</properties>
<command>${vyos_op_scripts_dir}/interfaces.py show</command>
</leafNode>
+ <leafNode name="summary">
+ <properties>
+ <help>Show summary information of all interfaces</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary_extended</command>
+ </leafNode>
</children>
</node>
</children>