summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-21 18:55:23 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-21 19:09:53 +0200
commit38d0e8bd71b83a954dd372b66ba7f7a1c3ef7c78 (patch)
tree23c8cd6c743b6bf33df471e6d891ec08e5eedefc /op-mode-definitions
parent6ea6a759e249b27aca03216fae534a534856e2c8 (diff)
downloadvyos-1x-38d0e8bd71b83a954dd372b66ba7f7a1c3ef7c78.tar.gz
vyos-1x-38d0e8bd71b83a954dd372b66ba7f7a1c3ef7c78.zip
containers: T2216: add op-mode "show container network" command
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/containers.xml.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/op-mode-definitions/containers.xml.in b/op-mode-definitions/containers.xml.in
index 06f98b24e..a530bcff4 100644
--- a/op-mode-definitions/containers.xml.in
+++ b/op-mode-definitions/containers.xml.in
@@ -44,10 +44,16 @@
<children>
<leafNode name="image">
<properties>
- <help>Delete container image</help>
+ <help>Show available container images</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/containers_op.sh --show-images</command>
</leafNode>
+ <leafNode name="network">
+ <properties>
+ <help>Show available container networks</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/containers_op.sh --show-networks</command>
+ </leafNode>
</children>
</node>
</children>