diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-31 17:17:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-31 17:17:02 +0200 |
commit | 18a6163ed2e0bbbc2924f893e6954a9eba4470b1 (patch) | |
tree | 1b3affedf5e4dce24791cab6cf5d2142fddcc48e /interface-definitions/container.xml.in | |
parent | ca0cf364f05b391fbe2ebd1e87e2a022d94a2e6d (diff) | |
parent | 6dd0499f4cb97dd749f3f9aa5b649039ae7cf6c4 (diff) | |
download | vyos-1x-18a6163ed2e0bbbc2924f893e6954a9eba4470b1.tar.gz vyos-1x-18a6163ed2e0bbbc2924f893e6954a9eba4470b1.zip |
Merge pull request #2189 from sever-sever/T5531
T5531: Containers add label option
Diffstat (limited to 'interface-definitions/container.xml.in')
-rw-r--r-- | interface-definitions/container.xml.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index baab6104f..8259e7bdf 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -145,6 +145,26 @@ <constraintErrorMessage>The command's arguments must be ascii characters, use &quot; and &apos for double and single quotes respectively</constraintErrorMessage> </properties> </leafNode> + <tagNode name="label"> + <properties> + <help>Add label variables</help> + <constraint> + <regex>[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?</regex> + </constraint> + <constraintErrorMessage>Label variable name must be alphanumeric and can contain hyphen, dots and underscores</constraintErrorMessage> + </properties> + <children> + <leafNode name="value"> + <properties> + <help>Set label option value</help> + <valueHelp> + <format>txt</format> + <description>Set label option value</description> + </valueHelp> + </properties> + </leafNode> + </children> + </tagNode> <leafNode name="memory"> <properties> <help>Memory (RAM) available to this container</help> |