diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-21 18:55:23 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-04-21 19:09:53 +0200 |
commit | 38d0e8bd71b83a954dd372b66ba7f7a1c3ef7c78 (patch) | |
tree | 23c8cd6c743b6bf33df471e6d891ec08e5eedefc /op-mode-definitions/containers.xml.in | |
parent | 6ea6a759e249b27aca03216fae534a534856e2c8 (diff) | |
download | vyos-1x-38d0e8bd71b83a954dd372b66ba7f7a1c3ef7c78.tar.gz vyos-1x-38d0e8bd71b83a954dd372b66ba7f7a1c3ef7c78.zip |
containers: T2216: add op-mode "show container network" command
Diffstat (limited to 'op-mode-definitions/containers.xml.in')
-rw-r--r-- | op-mode-definitions/containers.xml.in | 8 |
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> |