diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-07 16:44:53 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-07 16:44:53 +0100 |
commit | a4cf71912d52de4398273405b5682d8da5e1dbe3 (patch) | |
tree | 0ae641a465ab6556bc0ee4f8ccd11c6a16514b01 /interface-definitions | |
parent | e0190f29581f8d8f07f42d5a6a0a88e439011da2 (diff) | |
download | vyos-1x-a4cf71912d52de4398273405b5682d8da5e1dbe3.tar.gz vyos-1x-a4cf71912d52de4398273405b5682d8da5e1dbe3.zip |
bonding: T1614: add constraint on member interface names to be used
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces-bonding.xml.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-bonding.xml.in b/interface-definitions/interfaces-bonding.xml.in index 05e0d8461..17879cf1e 100644 --- a/interface-definitions/interfaces-bonding.xml.in +++ b/interface-definitions/interfaces-bonding.xml.in @@ -177,6 +177,13 @@ <completionHelp> <script>${vyos_completion_dir}/list_interfaces.py --bondable</script> </completionHelp> + <valueHelp> + <format>txt</format> + <description>Interface name</description> + </valueHelp> + <constraint> + <validator name="interface-name"/> + </constraint> <multi/> </properties> </leafNode> @@ -189,6 +196,13 @@ <completionHelp> <script>${vyos_completion_dir}/list_interfaces.py --bondable</script> </completionHelp> + <valueHelp> + <format>txt</format> + <description>Interface name</description> + </valueHelp> + <constraint> + <validator name="interface-name"/> + </constraint> </properties> </leafNode> #include <include/interface/vif-s.xml.i> |