diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-24 21:53:10 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-24 21:53:54 +0100 |
commit | 913cd3c8809ea8a17ede7608654e956dcf718980 (patch) | |
tree | f948d22537644217ef40f59386f82e040826ca02 /interface-definitions/include/source-interface.xml.i | |
parent | 9bcd5adf878dfa9f5c621f8b0043ef7f94cdb4b1 (diff) | |
download | vyos-1x-913cd3c8809ea8a17ede7608654e956dcf718980.tar.gz vyos-1x-913cd3c8809ea8a17ede7608654e956dcf718980.zip |
xml: add missing constaint to source-interface include
Diffstat (limited to 'interface-definitions/include/source-interface.xml.i')
-rw-r--r-- | interface-definitions/include/source-interface.xml.i | 7 |
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 --> |