2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-10-11 13:56:46 +00:00

[lib] Extend host structure to support auth keys for reconfiguration.

See issue #83
This commit is contained in:
mayya
2018-06-10 18:45:34 +02:00
committed by Tomek Mrugalski
parent 2147c6a340
commit 2090af48c1
25 changed files with 445 additions and 65 deletions

View File

@@ -335,6 +335,7 @@ CREATE TABLE ipv6_reservations (
prefix_len SMALLINT NOT NULL DEFAULT '128',
type SMALLINT NOT NULL DEFAULT '0',
dhcp6_iaid INT DEFAULT NULL,
auth_key VARCHAR(128) NOT NULL,
host_id INT NOT NULL,
CONSTRAINT key_dhcp6_address_prefix_len UNIQUE (address, prefix_len),
CONSTRAINT fk_ipv6_reservations_host FOREIGN KEY (host_id) REFERENCES hosts (host_id) ON DELETE CASCADE