summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-21 20:48:55 +0200
committerGitHub <noreply@github.com>2021-04-21 20:48:55 +0200
commit821d9e4d36d7520973d6f2cd146feebb9918227a (patch)
tree2aa19621ea0f2d812151c23acc5bf924c0a25464 /op-mode-definitions
parentee6bf7e9af5c6a25177a652f6a455ebb7438186d (diff)
parentd657e65d66c14c007c235779ecb73ef5b8cfa327 (diff)
downloadvyos-1x-821d9e4d36d7520973d6f2cd146feebb9918227a.tar.gz
vyos-1x-821d9e4d36d7520973d6f2cd146feebb9918227a.zip
Merge pull request #816 from sever-sever/T2216-op-mode
container: T2216: Rewrite op-mode to python
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/containers.xml.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/op-mode-definitions/containers.xml.in b/op-mode-definitions/containers.xml.in
index a530bcff4..a22549dd9 100644
--- a/op-mode-definitions/containers.xml.in
+++ b/op-mode-definitions/containers.xml.in
@@ -11,7 +11,7 @@
<properties>
<help>Pull a new image for container</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/containers_op.sh --pull "${4}"</command>
+ <command>sudo ${vyos_op_scripts_dir}/containers_op.py --pull "${4}"</command>
</tagNode>
</children>
</node>
@@ -28,7 +28,7 @@
<properties>
<help>Delete container image</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/containers_op.sh --remove "${4}"</command>
+ <command>sudo ${vyos_op_scripts_dir}/containers_op.py --remove "${4}"</command>
</tagNode>
</children>
</node>
@@ -40,19 +40,19 @@
<properties>
<help>Show containers</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/containers_op.sh --show-containers</command>
+ <command>sudo ${vyos_op_scripts_dir}/containers_op.py --all</command>
<children>
<leafNode name="image">
<properties>
- <help>Show available container images</help>
+ <help>Delete container image</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/containers_op.sh --show-images</command>
+ <command>sudo ${vyos_op_scripts_dir}/containers_op.py --image</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>
+ <command>sudo ${vyos_op_scripts_dir}/containers_op.py --networks</command>
</leafNode>
</children>
</node>