2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 15:05:16 +00:00

[5584] Minor changes after review.

This commit is contained in:
Tomek Mrugalski
2018-07-06 16:37:39 +02:00
parent 83e266c35b
commit e0216b1d54
7 changed files with 7 additions and 8 deletions

View File

@@ -475,8 +475,7 @@ $ <userinput>ls -l /usr/local/lib/hooks/*.so</userinput>
errors, like adding a lease with subnet-id that does not exist in errors, like adding a lease with subnet-id that does not exist in
the configuration or configuring a lease to use an address that is the configuration or configuring a lease to use an address that is
outside of the subnet to which it is supposed to belong. outside of the subnet to which it is supposed to belong.
It provides a not programmatic way to manage user contexts It provides a way to manage user contexts associated with leases.
associated to leases.
</entry> </entry>
</row> </row>

View File

@@ -281,7 +281,7 @@ ALTER TABLE lease4 ADD user_context text;
ALTER TABLE lease6 ADD user_context text; ALTER TABLE lease6 ADD user_context text;
-- ----------------------------------------------------- -- -----------------------------------------------------
-- Table `logs` -- Table `logs` (logs table is used by forensic logging hook library)
-- ----------------------------------------------------- -- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS logs ( CREATE TABLE IF NOT EXISTS logs (
timeuuid timeuuid, -- creation timeuuid, use dateOf() to get timestamp timeuuid timeuuid, -- creation timeuuid, use dateOf() to get timestamp

View File

@@ -24,7 +24,7 @@ ALTER TABLE lease4 ADD user_context text;
ALTER TABLE lease6 ADD user_context text; ALTER TABLE lease6 ADD user_context text;
-- ----------------------------------------------------- -- -----------------------------------------------------
-- Table \`logs\` -- Table logs (it is used by forensic logging hook library)
-- ----------------------------------------------------- -- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS logs ( CREATE TABLE IF NOT EXISTS logs (
timeuuid timeuuid, -- creation timeuuid, use dateOf() to get timestamp timeuuid timeuuid, -- creation timeuuid, use dateOf() to get timestamp

View File

@@ -752,7 +752,7 @@ ORDER BY l.address;
END $$ END $$
DELIMITER ; DELIMITER ;
# Create logs table # Create logs table (logs table is used by forensic logging hook library)
CREATE TABLE logs ( CREATE TABLE logs (
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, # creation timestamp timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, # creation timestamp
address VARCHAR(43) NULL, # address or prefix address VARCHAR(43) NULL, # address or prefix

View File

@@ -92,7 +92,7 @@ ORDER BY l.address;
END $$ END $$
DELIMITER ; DELIMITER ;
# Create logs table # Create logs table (logs table is used by forensic logging hook library)
CREATE TABLE logs ( CREATE TABLE logs (
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, # creation timestamp timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, # creation timestamp
address VARCHAR(43) NULL, # address or prefix address VARCHAR(43) NULL, # address or prefix

View File

@@ -854,7 +854,7 @@ CREATE FUNCTION lease6DumpData() RETURNS
$$ LANGUAGE SQL; $$ LANGUAGE SQL;
-- --
-- Create logs table -- Create logs table (logs table is used by forensic logging hook library)
CREATE TABLE logs ( CREATE TABLE logs (
timestamp TIMESTAMP WITH TIME ZONE timestamp TIMESTAMP WITH TIME ZONE
DEFAULT CURRENT_TIMESTAMP, -- creation timestamp DEFAULT CURRENT_TIMESTAMP, -- creation timestamp

View File

@@ -121,7 +121,7 @@ CREATE FUNCTION lease6DumpData() RETURNS
\$\$ LANGUAGE SQL; \$\$ LANGUAGE SQL;
-- --
-- Create logs table -- Create logs table (logs table is used by forensic logging hook library)
CREATE TABLE logs ( CREATE TABLE logs (
timestamp TIMESTAMP WITH TIME ZONE timestamp TIMESTAMP WITH TIME ZONE
DEFAULT CURRENT_TIMESTAMP, -- creation timestamp DEFAULT CURRENT_TIMESTAMP, -- creation timestamp