Adam Ierymenko
30e4a188d0
ipLocalRoutes now exposed via network objects in JSON controller API, and documentation changes.
11 years ago
Adam Ierymenko
5c9411a671
Untested -- modifications to support IP ranges instead of ip/mask for IP assignment pools, also add portId to Rule for future use.
11 years ago
Adam Ierymenko
48a2ad032a
(1) Both nodeId and portId in Rule can be NULL, (2) remove on delete cascade 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.
11 years ago
Adam Ierymenko
f05e62deae
DB schema changes: separate portId in rules, ranges in IP assignment pools. (No code changes yet so code is broken.)
11 years ago
Adam Ierymenko
57c7992c78
GitHub issue #191 - kill intra-network multicast rate limits (which were not 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.
11 years ago
Adam Ierymenko
96a58becf8
Gateways support in network controller schema and database (not implemented yet in client) toward GitHub issue #178
11 years ago
Adam Ierymenko
8a9715f183
Rename ruleId to ruleNo and optimize some indexes in Sqlite3 schema.
11 years ago
Kees Bos
de697a1c45
Change schema to enforce foreing keys
...
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
11 years ago
Adam Ierymenko
d8ad555b9a
Go ahead and add flags and invFlags to the Rule table.
11 years ago
Adam Ierymenko
e269846f84
Netconf docs, add clock field to status, simplify netconf a bit by eliminating caching for now. We will re-add if it is needed.
11 years ago
Adam Ierymenko
103dcb072d
CRUD
11 years ago
Adam Ierymenko
71f006cbeb
More CRUD, almost done...
11 years ago
Adam Ierymenko
ddebe2d4c7
Network controller CRUD... :P
11 years ago
Adam Ierymenko
ed107c4daf
Network preferred relay stuff in netconf controller.
11 years ago
Adam Ierymenko
69076f8a45
Add per-network relay stuff to sqlite table schema.
11 years ago
Adam Ierymenko
740121504f
Add a timestamp to netconf cache, fix some SQL queries in NC.
11 years ago
Adam Ierymenko
6369c264e2
Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency.
11 years ago
Adam Ierymenko
a8a92c5b89
A whole lot of Sqlite netconf master work, and some fixes elsewhere in the code.
11 years ago
Adam Ierymenko
278c8fd9f1
Wire up externally specified NetworkConfigMaster
11 years ago
Adam Ierymenko
61d89bd118
docs
11 years ago
Adam Ierymenko
31bf0a4ea6
Netconf build fixes, schema, etc.
11 years ago