diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-19 11:14:43 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-19 12:28:31 +0200 |
commit | a00f3bfd0ff580625f63f024bdce9ed55100d63d (patch) | |
tree | d66cc255f5b042db52f56620db7ed9d039b2426a /interface-definitions | |
parent | a672c7c012b85cd2950403400900453aa318613b (diff) | |
download | vyos-1x-a00f3bfd0ff580625f63f024bdce9ed55100d63d.tar.gz vyos-1x-a00f3bfd0ff580625f63f024bdce9ed55100d63d.zip |
dhcp-server: T3841: add option to perform ICMP check before address assignment
(cherry picked from commit 83ea0cb273e29db22062cc133b6eabd4ba2761c7)
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 598be74b4..e1d224121 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -107,6 +107,7 @@ <help>Shared-network-name description</help> </properties> </leafNode> + #include <include/dhcp-ping-check.xml.i> #include <include/generic-disable-node.xml.i> <leafNode name="shared-network-parameters"> <properties> @@ -229,6 +230,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 --> |