summaryrefslogtreecommitdiff
path: root/interface-definitions/include/generic-username.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-01 15:43:11 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-01 16:13:34 +0200
commitdf58e083979a40df8c1a1391b82b2e4d856225dd (patch)
treec2dbbe85008b9b1a946fea78ae0142f034a480e7 /interface-definitions/include/generic-username.xml.i
parent9ea856640af398309b79cd9f1ebe8c4f025e2c62 (diff)
downloadvyos-1x-df58e083979a40df8c1a1391b82b2e4d856225dd.tar.gz
vyos-1x-df58e083979a40df8c1a1391b82b2e4d856225dd.zip
container: T4959: add registry authentication option
Container registry CLI node changed from leafNode to tagNode with the same defaults. In addition we can now configure an authentication option per registry. (cherry picked from commit fe82d86d3e87cb8d92ebc9d0652c08e3dd79a12c)
Diffstat (limited to 'interface-definitions/include/generic-username.xml.i')
-rw-r--r--interface-definitions/include/generic-username.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/generic-username.xml.i b/interface-definitions/include/generic-username.xml.i
new file mode 100644
index 000000000..678f30ddf
--- /dev/null
+++ b/interface-definitions/include/generic-username.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from generic-username.xml.i -->
+<leafNode name="username">
+ <properties>
+ <help>Username used for authentication</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Username</description>
+ </valueHelp>
+ <constraint>
+ <regex>[[:ascii:]]{1,128}</regex>
+ </constraint>
+ <constraintErrorMessage>Username is limited to ASCII characters only, with a total length of 128</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->