summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-16 14:05:16 +0100
committerGitHub <noreply@github.com>2023-11-16 14:05:16 +0100
commit181c8d5c5715567486d7e9bfc71b0b7c1af71f37 (patch)
tree616b7dc2e591fa29eac227c5a191292eb47fcf35 /op-mode-definitions
parentc3d96163b3e674c20e4c856a18f8765626663f21 (diff)
parentdc3906f04fbfe8014531e092a77c1c8c2d10dfe0 (diff)
downloadvyos-1x-181c8d5c5715567486d7e9bfc71b0b7c1af71f37.tar.gz
vyos-1x-181c8d5c5715567486d7e9bfc71b0b7c1af71f37.zip
Merge pull request #2491 from sever-sever/T5747
T5747: op-mode add show interfaces summary
Diffstat (limited to 'op-mode-definitions')
-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>