summaryrefslogtreecommitdiff
path: root/interface-definitions/include/source-interface.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-24 21:53:10 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-24 21:54:47 +0100
commitfe51dff356a44cb53d9b3ec9bc2bba0e719d6078 (patch)
tree4d42ad37be616bf4c6a485bc8c776b5b8d1b99cb /interface-definitions/include/source-interface.xml.i
parent3a035978afd007d98055b75de9025322ebdd8c3f (diff)
downloadvyos-1x-fe51dff356a44cb53d9b3ec9bc2bba0e719d6078.tar.gz
vyos-1x-fe51dff356a44cb53d9b3ec9bc2bba0e719d6078.zip
xml: add missing constaint to source-interface include
(cherry picked from commit 913cd3c8809ea8a17ede7608654e956dcf718980)
Diffstat (limited to 'interface-definitions/include/source-interface.xml.i')
-rw-r--r--interface-definitions/include/source-interface.xml.i7
1 files changed, 5 insertions, 2 deletions
diff --git a/interface-definitions/include/source-interface.xml.i b/interface-definitions/include/source-interface.xml.i
index e6f0b69a1..797206430 100644
--- a/interface-definitions/include/source-interface.xml.i
+++ b/interface-definitions/include/source-interface.xml.i
@@ -1,14 +1,17 @@
<!-- included start from source-interface.xml.i -->
<leafNode name="source-interface">
<properties>
- <help>Physical interface used for connection</help>
+ <help>Interface used to establish connection</help>
<valueHelp>
<format>interface</format>
- <description>Physical interface used for connection</description>
+ <description>Interface name</description>
</valueHelp>
<completionHelp>
<script>${vyos_completion_dir}/list_interfaces.py</script>
</completionHelp>
+ <constraint>
+ <validator name="interface-name"/>
+ </constraint>
</properties>
</leafNode>
<!-- included end -->