diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-19 11:14:43 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-19 11:14:43 +0200 |
commit | 83ea0cb273e29db22062cc133b6eabd4ba2761c7 (patch) | |
tree | 0eb0abea3645e6e377501e69ed3475363df780b2 /interface-definitions | |
parent | a8ccf72c222caad8cd7aaca9bca773be39e87f5c (diff) | |
download | vyos-1x-83ea0cb273e29db22062cc133b6eabd4ba2761c7.tar.gz vyos-1x-83ea0cb273e29db22062cc133b6eabd4ba2761c7.zip |
dhcp-server: T3841: add option to perform ICMP check before address assignment
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/dhcp-server.xml.in | 2 | ||||
-rw-r--r-- | interface-definitions/include/dhcp-ping-check.xml.i | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in index 960b8a4f0..7ff777c43 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -94,6 +94,7 @@ </properties> </leafNode> #include <include/dhcp-domain-name.xml.i> + #include <include/dhcp-ping-check.xml.i> #include <include/name-server-ipv4.xml.i> #include <include/generic-description.xml.i> #include <include/generic-disable-node.xml.i> @@ -210,6 +211,7 @@ <multi/> </properties> </leafNode> + #include <include/dhcp-ping-check.xml.i> <leafNode name="pop-server"> <properties> <help>IP address of POP3 server</help> diff --git a/interface-definitions/include/dhcp-ping-check.xml.i b/interface-definitions/include/dhcp-ping-check.xml.i new file mode 100644 index 000000000..0b2a1214a --- /dev/null +++ b/interface-definitions/include/dhcp-ping-check.xml.i @@ -0,0 +1,8 @@ +<!-- include start from dhcp-ping-check.xml.i --> +<leafNode name="ping-check"> + <properties> + <help>Sends ICMP Echo request to the address being assigned</help> + <valueless/> + </properties> +</leafNode> +<!-- include end --> |