mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
docs
This commit is contained in:
parent
1b0908fab2
commit
61d89bd118
3 changed files with 26 additions and 4 deletions
|
@ -10,11 +10,11 @@ CREATE TABLE IpAssignment (
|
|||
ipNetmaskBits integer(4) NOT NULL DEFAULT(0)
|
||||
);
|
||||
|
||||
CREATE INDEX IpAssignment_networkId ON IpAssignment (networkId);
|
||||
CREATE UNIQUE INDEX IpAssignment_networkId_ip ON IpAssignment (networkId, ip);
|
||||
|
||||
CREATE INDEX IpAssignment_networkId_nodeId ON IpAssignment (networkId, nodeId);
|
||||
|
||||
CREATE UNIQUE INDEX IpAssignment_networkId_ip ON IpAssignment (networkId, ip);
|
||||
CREATE INDEX IpAssignment_networkId ON IpAssignment (networkId);
|
||||
|
||||
CREATE TABLE IpAssignmentPool (
|
||||
networkId char(16) NOT NULL,
|
||||
|
@ -36,9 +36,20 @@ CREATE TABLE Member (
|
|||
activeBridge integer(1) NOT NULL DEFAULT(0)
|
||||
);
|
||||
|
||||
CREATE INDEX Member_networkId ON Member (networkId);
|
||||
|
||||
CREATE UNIQUE INDEX Member_networkId_nodeId ON Member (networkId, nodeId);
|
||||
|
||||
CREATE INDEX Member_networkId ON Member (networkId ASC);
|
||||
CREATE TABLE MulticastRate (
|
||||
networkId char(16) NOT NULL,
|
||||
mgMac char(12) NOT NULL,
|
||||
mgAdi integer(8) NOT NULL DEFAULT(0),
|
||||
preload integer(16) NOT NULL,
|
||||
maxBalance integer(16) NOT NULL,
|
||||
accrual integer(16) NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX MulticastRate_networkId ON MulticastRate (networkId);
|
||||
|
||||
CREATE TABLE Network (
|
||||
id char(16) PRIMARY KEY NOT NULL,
|
||||
|
@ -78,4 +89,4 @@ CREATE TABLE Rule (
|
|||
"action" varchar(4096) NOT NULL DEFAULT('accept')
|
||||
);
|
||||
|
||||
CREATE INDEX Rule_networkId ON Rule (networkId);
|
||||
CREATE INDEX Rule_networkId ON Rule (networkId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue