summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-25 20:46:46 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-25 20:46:48 +0100
commit20dfd05bf67dcb6437df8440e401286255426356 (patch)
tree15fbd7cc922972ed53e66c180734380ee94645d1 /interface-definitions
parente2537c30236b4a0e64cffa9ec4391ece6e5b1fcd (diff)
downloadvyos-1x-20dfd05bf67dcb6437df8440e401286255426356.tar.gz
vyos-1x-20dfd05bf67dcb6437df8440e401286255426356.zip
container: xml: T4947: add missing default value in CLI help
VyOS 1.3 does not support automatic generation of the (default: <>) string from XML defaultValue nodes. Specify help string manually.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/container.xml.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in
index b61664125..1c971b58a 100644
--- a/interface-definitions/container.xml.in
+++ b/interface-definitions/container.xml.in
@@ -111,7 +111,7 @@
</leafNode>
<leafNode name="memory">
<properties>
- <help>Memory (RAM) available to this container</help>
+ <help>Memory (RAM) available to this container (default: 512)</help>
<valueHelp>
<format>u32:0</format>
<description>Unlimited</description>
@@ -129,7 +129,7 @@
</leafNode>
<leafNode name="shared-memory">
<properties>
- <help>Shared memory available to this container</help>
+ <help>Shared memory available to this container (default: 64)</help>
<valueHelp>
<format>u32:0</format>
<description>Unlimited</description>
@@ -207,7 +207,7 @@
</leafNode>
<leafNode name="protocol">
<properties>
- <help>Transport protocol used for port mapping</help>
+ <help>Transport protocol used for port mapping (default: tcp)</help>
<completionHelp>
<list>tcp udp</list>
</completionHelp>
@@ -229,7 +229,7 @@
</tagNode>
<leafNode name="restart">
<properties>
- <help>Restart options for container</help>
+ <help>Restart options for container (default: on-failure)</help>
<completionHelp>
<list>no on-failure always</list>
</completionHelp>
@@ -276,7 +276,7 @@
</leafNode>
<leafNode name="mode">
<properties>
- <help>Volume access mode ro/rw</help>
+ <help>Volume access mode ro/rw (default: rw)</help>
<completionHelp>
<list>ro rw</list>
</completionHelp>
@@ -334,7 +334,7 @@
</tagNode>
<leafNode name="registry">
<properties>
- <help>Registry Name</help>
+ <help>Registry Name (default: docker.io, quay.io)</help>
<multi/>
</properties>
<defaultValue>docker.io quay.io</defaultValue>