summaryrefslogtreecommitdiff
path: root/interface-definitions
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:53:54 +0100
commit913cd3c8809ea8a17ede7608654e956dcf718980 (patch)
treef948d22537644217ef40f59386f82e040826ca02 /interface-definitions
parent9bcd5adf878dfa9f5c621f8b0043ef7f94cdb4b1 (diff)
downloadvyos-1x-913cd3c8809ea8a17ede7608654e956dcf718980.tar.gz
vyos-1x-913cd3c8809ea8a17ede7608654e956dcf718980.zip
xml: add missing constaint to source-interface include
Diffstat (limited to 'interface-definitions')
-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 -->