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:
@@ -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>
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user