summaryrefslogtreecommitdiff
path: root/op-mode-definitions/containers.xml.in
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-04-21 17:20:27 +0000
committersever-sever <v.gletenko@vyos.io>2021-04-21 18:41:58 +0000
commitd657e65d66c14c007c235779ecb73ef5b8cfa327 (patch)
tree14f1ce76aa28f8a25b93a4128820277474983a09 /op-mode-definitions/containers.xml.in
parent255216b4470b0a25dded0edc1e8acd8e0fbf34b5 (diff)
downloadvyos-1x-d657e65d66c14c007c235779ecb73ef5b8cfa327.tar.gz
vyos-1x-d657e65d66c14c007c235779ecb73ef5b8cfa327.zip
container: T2216: Rewrite op-mode to python
Diffstat (limited to 'op-mode-definitions/containers.xml.in')
-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>