diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-19 11:32:04 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-19 12:25:43 +0200 |
commit | a672c7c012b85cd2950403400900453aa318613b (patch) | |
tree | f4921964487e879eec993b52d9f6f856be3a44f2 /interface-definitions/dhcp-server.xml.in | |
parent | 81dbce734c207a0fce836bf2a5d283910509f4ff (diff) | |
download | vyos-1x-a672c7c012b85cd2950403400900453aa318613b.tar.gz vyos-1x-a672c7c012b85cd2950403400900453aa318613b.zip |
dhcp-server: T3672: re-add missing "name" CLI option
This option is mandatory and must be user configurable as it needs to match
on both sides.
(cherry picked from commit 2985035bcb2f3732e15a41e3c2ee6c6c93a6836e)
Diffstat (limited to 'interface-definitions/dhcp-server.xml.in')
-rw-r--r-- | interface-definitions/dhcp-server.xml.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in index 10384947a..598be74b4 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -34,6 +34,15 @@ </constraint> </properties> </leafNode> + <leafNode name="name"> + <properties> + <help>Peer name used to identify connection</help> + <constraint> + <regex>[-_a-zA-Z0-9.]+</regex> + </constraint> + <constraintErrorMessage>Invalid failover peer name. May only contain letters, numbers and .-_</constraintErrorMessage> + </properties> + </leafNode> <leafNode name="status"> <properties> <help>Failover hierarchy</help> |