diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-05 16:25:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 16:25:49 +0200 |
commit | 43894aae17375b99ce10c6b1ccbd24533ae7d99e (patch) | |
tree | dd713e48937eca7c8ecab5ae87158b5060bd2e53 /interface-definitions | |
parent | 1e66589d1f674f78c6989324d80ae82187b59698 (diff) | |
parent | e8535616aae2bf0c20aacee6a4d0761183bae6d9 (diff) | |
download | vyos-1x-43894aae17375b99ce10c6b1ccbd24533ae7d99e.tar.gz vyos-1x-43894aae17375b99ce10c6b1ccbd24533ae7d99e.zip |
Merge pull request #799 from scj643/current
interfaces: dhcp-client: T3454: add reject option
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/interface/dhcp-options.xml.i | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/dhcp-options.xml.i b/interface-definitions/include/interface/dhcp-options.xml.i index bd327da2d..b65b0802a 100644 --- a/interface-definitions/include/interface/dhcp-options.xml.i +++ b/interface-definitions/include/interface/dhcp-options.xml.i @@ -37,6 +37,24 @@ </constraint> </properties> </leafNode> + <leafNode name="reject"> + <properties> + <help>IP addresses or subnets from which to reject DHCP leases</help> + <valueHelp> + <format>ipv4</format> + <description>IPv4 address to match</description> + </valueHelp> + <valueHelp> + <format>ipv4net</format> + <description>IPv4 prefix to match</description> + </valueHelp> + <constraint> + <validator name="ipv4-address"/> + <validator name="ipv4-prefix"/> + </constraint> + <multi/> + </properties> + </leafNode> </children> </node> <!-- include end --> |