summaryrefslogtreecommitdiff
path: root/controller
AgeCommit message (Collapse)Author
2015-06-29Untested -- modifications to support IP ranges instead of ip/mask for IP ↵Adam Ierymenko
assignment pools, also add portId to Rule for future use.
2015-06-29(1) Both nodeId and portId in Rule can be NULL, (2) remove on delete cascade ↵Adam Ierymenko
since rules should never mysteriously disappear from the rules table. If it let you delete a node with rules, that would be a UI or cleanup function bug.
2015-06-29DB schema changes: separate portId in rules, ranges in IP assignment pools. ↵Adam Ierymenko
(No code changes yet so code is broken.)
2015-06-29Fix semantics of std::unique() to actually remove duplicates (hidden memory ↵Adam Ierymenko
leak?)
2015-06-26Fix reporting of ipAssignments for ipv4Kees Bos
2015-06-26GitHub issue #191 - kill intra-network multicast rate limits (which were not ↵Adam Ierymenko
well supported or easily configurable anyway) -- this is really left over from the old collaborative multicast propagation algorithm. New algorithm (in for a while) has been sender-side replication in which sender "pays" all bandwidth, which intrinsically limits multicast.
2015-06-19Fixed member authorization bug and minor cleanupKees Bos
2015-06-18Fix for ipv4 assignmentKees Bos
2015-06-15Fix 404 on creation of new networkKees Bos
2015-06-15Removed a superfluous cross joinKees Bos
2015-06-15Fix controller/network/*/member/*Kees Bos
Cross join works other than expected or something changed. The _sGetMember2 returned too many rows. Replaced it with an explicit join statement.
2015-06-15Bugfix controller get member infoKees Bos
2015-06-13Gateways support in network controller schema and database (not implemented ↵Adam Ierymenko
yet in client) toward GitHub issue #178
2015-06-13Rename ruleId to ruleNo and optimize some indexes in Sqlite3 schema.Adam Ierymenko
2015-06-11Return 404 on delete if network member is missing (controller)Kees Bos
2015-06-11Return 404 on delete if network doesn't exist (controller)Kees Bos
2015-06-11Get deletion of networks in controller goingKees Bos
Multiple statements in a sqlite3_prepare_v2 is not usable. Only the first statement will be executed. Since the schema now uses 'ON DELETE CASCADE', there's only one statement needed. If multiple statements are needed, there should be either multiple sqlite3_prepare_v2 calls be used or the sqlite3_exec function.
2015-06-11Change schema to enforce foreing keysKees Bos
The foreign keys have 'ON DELETE CASCADE' to simplify the removal of networks etc. (controller code) Some unique constraints are replaced with a multi column primary key. To update an existing database: * install updated binaries * stop service * sqlite3 controller.db .dump | \ egrep '((^PRAGMA)|(^BEGIN)|(^INSERT)|(^COMMIT))' | \ grep -v 'schemaVersion' > data.sql * mv controller.db controller.db.backup * start service * stop service * sqlite3 controller.db < data.sql * start service
2015-05-25Go ahead and add flags and invFlags to the Rule table.Adam Ierymenko
2015-05-17docsAdam Ierymenko
2015-05-17Add a feature to generate a new network ID on POST.Adam Ierymenko
2015-05-16Basic controller JSON API seems to be working.Adam Ierymenko
2015-05-16.Adam Ierymenko
2015-05-16.Adam Ierymenko
2015-05-16Fixes to control plane, API, eliminate problematic inheritance pattern, and ↵Adam Ierymenko
start on a NodeJS class for talking to the network controller.
2015-05-16Fix some prepared statement problems.Adam Ierymenko
2015-05-16DELETE function in network controller JSON API, and a newIdentity ↵Adam Ierymenko
convenience request in ControlPlane for scripted testing.
2015-05-16More network controller cleanup, and some features to permit scripted testing.Adam Ierymenko
2015-05-15typoAdam Ierymenko
2015-05-15Netconf docs, add clock field to status, simplify netconf a bit by ↵Adam Ierymenko
eliminating caching for now. We will re-add if it is needed.
2015-05-15Controller API status message.Adam Ierymenko
2015-05-15Network controller cleanup and an extra sanity check.Adam Ierymenko
2015-04-24Build fixes.Adam Ierymenko
2015-04-22CRUDAdam Ierymenko
2015-04-21CRUDAdam Ierymenko
2015-04-21Fix: make sure we do not assign broadcast address as an IP to new members.Adam Ierymenko
2015-04-21More CRUD, almost done...Adam Ierymenko
2015-04-21Forgot to run schema2c.Adam Ierymenko
2015-04-21Network controller CRUD... :PAdam Ierymenko
2015-04-20Network preferred relay stuff in netconf controller.Adam Ierymenko
2015-04-20Add per-network relay stuff to sqlite table schema.Adam Ierymenko
2015-04-17Add a timestamp to netconf cache, fix some SQL queries in NC.Adam Ierymenko
2015-04-15Compile fixes.Adam Ierymenko
2015-04-15More cleanup, and fix for the extremely unlikely case of identity collision.Adam Ierymenko
2015-04-15Rename netconf to controller and NetworkConfigMaster to NetworkController ↵Adam Ierymenko
for consistency.