From 30e4a188d0a5c883f3ea579dcf01d5c409b185d7 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 29 Jun 2015 15:34:26 -0700 Subject: ipLocalRoutes now exposed via network objects in JSON controller API, and documentation changes. --- controller/schema.sql.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'controller/schema.sql.c') diff --git a/controller/schema.sql.c b/controller/schema.sql.c index c47d1b49..30b88850 100644 --- a/controller/schema.sql.c +++ b/controller/schema.sql.c @@ -33,7 +33,7 @@ "\n"\ "CREATE TABLE IpAssignment (\n"\ " networkId char(16) NOT NULL REFERENCES Network(id) ON DELETE CASCADE,\n"\ -" nodeId char(10) NOT NULL REFERENCES Node(id) ON DELETE CASCADE,\n"\ +" nodeId char(10) REFERENCES Node(id) ON DELETE CASCADE,\n"\ " type integer NOT NULL DEFAULT(0),\n"\ " ip blob(16) NOT NULL,\n"\ " ipNetmaskBits integer NOT NULL DEFAULT(0),\n"\ @@ -76,7 +76,8 @@ " networkId char(16) NOT NULL REFERENCES Network(id) ON DELETE CASCADE,\n"\ " ruleNo integer NOT NULL,\n"\ " nodeId char(10) REFERENCES Node(id),\n"\ -" portId char(10) REFERENCES Node(id),\n"\ +" sourcePort char(10),\n"\ +" destPort char(10),\n"\ " vlanId integer,\n"\ " vlanPcp integer,\n"\ " etherType integer,\n"\ -- cgit v1.2.3