diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-06-20 21:24:52 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-06-20 21:24:52 +0200 |
commit | 87e11e7ca0a43c9dfa4798823236c8244b5256be (patch) | |
tree | a7e2fb7346dd1930a5da963c06192c25f5070adc /interface-definitions/dhcp-server.xml.in | |
parent | 300535e2b8b7897bc95ab2b186b4e29ebf987332 (diff) | |
download | vyos-1x-87e11e7ca0a43c9dfa4798823236c8244b5256be.tar.gz vyos-1x-87e11e7ca0a43c9dfa4798823236c8244b5256be.zip |
dhcp: T4156: bootfile-option: add missing constraints and valueHelp
Diffstat (limited to 'interface-definitions/dhcp-server.xml.in')
-rw-r--r-- | interface-definitions/dhcp-server.xml.in | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in index 6dabc5e1c..8988ee648 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -138,8 +138,19 @@ </leafNode> <leafNode name="bootfile-server"> <properties> - <help>Server (IP address or domain name) from which the initial - boot file is to be loaded</help> + <help>Server from which the initial boot file is to be loaded</help> + <valueHelp> + <format>ipv4</format> + <description>Bootfile server IPv4 address</description> + </valueHelp> + <valueHelp> + <format>hostname</format> + <description>Bootfile server FQDN</description> + </valueHelp> + <constraint> + <validator name="ipv4-address"/> + <validator name="fqdn"/> + </constraint> </properties> </leafNode> <leafNode name="bootfile-size"> |