2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-06 08:55:13 +00:00

[#93,!63] Added logical servers to dhcp4_server and dhcp6_server MySQL.

This commit is contained in:
Marcin Siodelski
2018-10-08 13:13:10 +02:00
parent 9ac2ad5254
commit d4805251ff
3 changed files with 56 additions and 0 deletions

View File

@@ -812,6 +812,18 @@ CREATE TABLE IF NOT EXISTS dhcp4_server (
KEY key_dhcp4_server_modification_ts (modification_ts)
) ENGINE=InnoDB;
# Special server entry meaning "unassigned server". This refers
# to configuration entries that shouldn't be used by any of the
# servers, e.g. when configuration entry is created but an
# administrator doesn't want the servers to start using it yet.
INSERT INTO dhcp4_server(id, tag, description, modification_ts)
VALUES(1, "unassigned", "special type: unassigned server", NOW());
# Special server entry meaning "all servers". This refers to
# the configuration entries owned by all servers.
INSERT INTO dhcp4_server(id, tag, description, modification_ts)
VALUES(2, "all", "special type: all servers", NOW());
-- -----------------------------------------------------
-- Table `dhcp4_audit`
-- -----------------------------------------------------
@@ -1065,6 +1077,18 @@ CREATE TABLE IF NOT EXISTS dhcp6_server (
KEY key_dhcp6_server_modification_ts (modification_ts)
) ENGINE=InnoDB;
# Special server entry meaning "unassigned server". This refers
# to configuration entries that shouldn't be used by any of the
# servers, e.g. when configuration entry is created but an
# administrator doesn't want the servers to start using it yet.
INSERT INTO dhcp6_server(id, tag, description, modification_ts)
VALUES(1, "unassigned", "special type: unassigned server", NOW());
# Special server entry meaning "all servers". This refers to
# the configuration entries owned by all servers.
INSERT INTO dhcp6_server(id, tag, description, modification_ts)
VALUES(2, "all", "special type: all servers", NOW());
-- -----------------------------------------------------
-- Table `dhcp6_audit`
-- -----------------------------------------------------