diff options
author | Simon <965089+sarthurdev@users.noreply.github.com> | 2024-01-11 06:46:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-11 06:46:33 +0100 |
commit | ee494c3a1dbfca3457bcaffe89d45971348e4848 (patch) | |
tree | 4e29926fae96e8837e6b903fc46478a92e6890da /interface-definitions/service_dhcp-server.xml.in | |
parent | 7c6cb9829356d07c3cfa865eff7f60c24d982d6e (diff) | |
download | vyos-1x-ee494c3a1dbfca3457bcaffe89d45971348e4848.tar.gz vyos-1x-ee494c3a1dbfca3457bcaffe89d45971348e4848.zip |
dhcp: dhcpv6: T3316: Add `subnet-id` so leases remain mapped to entries in the lease file (#2796)
Diffstat (limited to 'interface-definitions/service_dhcp-server.xml.in')
-rw-r--r-- | interface-definitions/service_dhcp-server.xml.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/service_dhcp-server.xml.in b/interface-definitions/service_dhcp-server.xml.in index 27485b6d4..5c9d4a360 100644 --- a/interface-definitions/service_dhcp-server.xml.in +++ b/interface-definitions/service_dhcp-server.xml.in @@ -200,6 +200,18 @@ #include <include/interface/duid.xml.i> </children> </tagNode> + <leafNode name="subnet-id"> + <properties> + <help>Unique ID mapped to leases in the lease file</help> + <valueHelp> + <format>u32</format> + <description>Unique subnet ID</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-4294967295"/> + </constraint> + </properties> + </leafNode> </children> </tagNode> </children> |