Added support for named attribute groups
Add the possibility to group attributes by a name and assign these groups to connections. This allows a more granular configuration of which client will receive what atrributes.
This commit is contained in:
@@ -183,12 +183,27 @@ CREATE TABLE leases (
|
||||
released INTEGER NOT NULL
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS attribute_pools;
|
||||
CREATE TABLE attribute_pools (
|
||||
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
name TEXT NOT NULL
|
||||
);
|
||||
DROP TABLE IF EXISTS attributes;
|
||||
CREATE TABLE attributes (
|
||||
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
identity INTEGER NOT NULL DEFAULT 0,
|
||||
pool INTEGER NOT NULL DEFAULT 0,
|
||||
type INTEGER NOT NULL,
|
||||
value BLOB NOT NULL
|
||||
);
|
||||
DROP INDEX IF EXISTS attributes_identity;
|
||||
CREATE INDEX attributes_identity ON attributes (
|
||||
identity
|
||||
);
|
||||
DROP INDEX IF EXISTS attributes_pool;
|
||||
CREATE INDEX attributes_pool ON attributes (
|
||||
pool
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS ike_sas;
|
||||
CREATE TABLE ike_sas (
|
||||
|
||||
Reference in New Issue
Block a user