diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-29 15:34:26 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-29 15:34:26 -0700 |
commit | 30e4a188d0a5c883f3ea579dcf01d5c409b185d7 (patch) | |
tree | 2d38a28d29f58c82f750c18d89096bf3ec78e00f /controller/schema.sql | |
parent | 5c9411a671dbc62297863bfa732929e197557697 (diff) | |
download | infinitytier-30e4a188d0a5c883f3ea579dcf01d5c409b185d7.tar.gz infinitytier-30e4a188d0a5c883f3ea579dcf01d5c409b185d7.zip |
ipLocalRoutes now exposed via network objects in JSON controller API, and documentation changes.
Diffstat (limited to 'controller/schema.sql')
-rw-r--r-- | controller/schema.sql | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/controller/schema.sql b/controller/schema.sql index 8ff1ff77..94e611b9 100644 --- a/controller/schema.sql +++ b/controller/schema.sql @@ -32,7 +32,7 @@ CREATE UNIQUE INDEX Gateway_networkId_ip ON Gateway (networkId, ip); CREATE TABLE IpAssignment ( networkId char(16) NOT NULL REFERENCES Network(id) ON DELETE CASCADE, - nodeId char(10) NOT NULL REFERENCES Node(id) ON DELETE CASCADE, + nodeId char(10) REFERENCES Node(id) ON DELETE CASCADE, type integer NOT NULL DEFAULT(0), ip blob(16) NOT NULL, ipNetmaskBits integer NOT NULL DEFAULT(0), @@ -75,7 +75,8 @@ CREATE TABLE Rule ( networkId char(16) NOT NULL REFERENCES Network(id) ON DELETE CASCADE, ruleNo integer NOT NULL, nodeId char(10) REFERENCES Node(id), - portId char(10) REFERENCES Node(id), + sourcePort char(10), + destPort char(10), vlanId integer, vlanPcp integer, etherType integer, |