summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-24 20:35:31 +0100
committerChristian Poessinger <christian@poessinger.com>2022-11-24 20:35:31 +0100
commitf9a5286f163b27b51eb5e9a801c5d646c07a7990 (patch)
tree70acf89e4db741e7e9c0dc8b18e49dacfac49a6f /interface-definitions
parent1e6710d8e193cb919b50da336a27378e130c54b0 (diff)
downloadvyos-1x-f9a5286f163b27b51eb5e9a801c5d646c07a7990.tar.gz
vyos-1x-f9a5286f163b27b51eb5e9a801c5d646c07a7990.zip
veth: T4825: minor improvements on XML peer-name handling
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-virtual-ethernet.xml.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-virtual-ethernet.xml.in b/interface-definitions/interfaces-virtual-ethernet.xml.in
index 3b78b3637..d52e9ef80 100644
--- a/interface-definitions/interfaces-virtual-ethernet.xml.in
+++ b/interface-definitions/interfaces-virtual-ethernet.xml.in
@@ -4,7 +4,7 @@
<children>
<tagNode name="virtual-ethernet" owner="${vyos_conf_scripts_dir}/interfaces-virtual-ethernet.py">
<properties>
- <help>Virtual Ethernet Interface (veth)</help>
+ <help>Virtual Ethernet (veth) Interface</help>
<priority>300</priority>
<constraint>
<regex>veth[0-9]+</regex>
@@ -23,6 +23,13 @@
<leafNode name="peer-name">
<properties>
<help>Virtual ethernet peer interface name</help>
+ <completionHelp>
+ <path>interfaces virtual-ethernet</path>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Name of peer interface</description>
+ </valueHelp>
<constraint>
<regex>veth[0-9]+</regex>
</constraint>