summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-22 22:35:21 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-22 22:35:21 +0200
commitaa1a2ea7d03843120da50bf98584927098bcfa6d (patch)
treef4c06386efd6d97c5d6497938d9dca12a1a88386 /interface-definitions
parenta8ae4f46a5d0e059f2ca1181c7730b81179160f8 (diff)
parent46f4aa47cc62ca05bef4e4cca614ed77065608e7 (diff)
downloadvyos-1x-aa1a2ea7d03843120da50bf98584927098bcfa6d.tar.gz
vyos-1x-aa1a2ea7d03843120da50bf98584927098bcfa6d.zip
Merge branch 'default-dict' of github.com:c-po/vyos-1x into current
* 'default-dict' of github.com:c-po/vyos-1x: console-server: T2588: migrate to defaults from XML interface definitions xml: T2588: add gitignore for generated defaults xml: T2588: code to extract defaults values from xml Debian: remove duplicate build dependency xml: ssh: fix typo in service description
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service_console-server.xml.in3
-rw-r--r--interface-definitions/ssh.xml.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/interface-definitions/service_console-server.xml.in b/interface-definitions/service_console-server.xml.in
index 348d591dd..59a9fe237 100644
--- a/interface-definitions/service_console-server.xml.in
+++ b/interface-definitions/service_console-server.xml.in
@@ -50,6 +50,7 @@
<regex>(7|8)</regex>
</constraint>
</properties>
+ <defaultValue>8</defaultValue>
</leafNode>
<leafNode name="stop-bits">
<properties>
@@ -61,6 +62,7 @@
<regex>(1|2)</regex>
</constraint>
</properties>
+ <defaultValue>1</defaultValue>
</leafNode>
<leafNode name="parity">
<properties>
@@ -72,6 +74,7 @@
<regex>(even|odd|none)</regex>
</constraint>
</properties>
+ <defaultValue>none</defaultValue>
</leafNode>
<node name="ssh">
<properties>
diff --git a/interface-definitions/ssh.xml.in b/interface-definitions/ssh.xml.in
index de926a897..4e8cf28eb 100644
--- a/interface-definitions/ssh.xml.in
+++ b/interface-definitions/ssh.xml.in
@@ -5,7 +5,7 @@
<children>
<node name="ssh" owner="${vyos_conf_scripts_dir}/ssh.py">
<properties>
- <help>Secure SHell (SSH) protocol</help>
+ <help>Secure Shell (SSH)</help>
<priority>500</priority>
</properties>
<children>