Adam Ierymenko
7c761dea72
Fix to member listing: I wanted an object with member IDs as keys and member revisions as values, not an array.
11 years ago
Adam Ierymenko
3f8a5b8b76
List members in the form of a hash of member ID and member revision so code can quickly detect which members have changed.
11 years ago
Adam Ierymenko
a061aa3d87
Remove "members" from Network record and instead enumerate members via specific query to /network/nwid/member sub-path. More RESTful, scalable, and compatible with how OnePoint code works.
11 years ago
Adam Ierymenko
b343eac10d
Fix IP auto-assign bug due to missing subnet routes.
11 years ago
Adam Ierymenko
649a12472b
Report controllerInstanceId in all objects so that controller resets can be easily detected by whatever is using the service.
11 years ago
Adam Ierymenko
cac6be87ba
Fix bug in rules JSON output.
11 years ago
Adam Ierymenko
38d34a7495
Proper handling of NULL entry for etherType in rules table.
11 years ago
Adam Ierymenko
fb4c3dd8d4
Fix string overwrite bug.
11 years ago
Adam Ierymenko
1ffd67e014
Get rid of false foreign key in Relay.
11 years ago
Adam Ierymenko
bca8886ff8
IP assignment pool range bug fix.
11 years ago
Adam Ierymenko
1f7bb67069
Fix some SQL and make instanceId more robustly random.
11 years ago
Adam Ierymenko
712e2785f2
Fix bad JSON in response.
11 years ago
Adam Ierymenko
5515909c1e
Add a concept of an "instanceId" to the controller, which the OnePoint can use to determine whether it is the same running database instance it already knows.
11 years ago
Adam Ierymenko
0db7c94c90
Add memberRevision stuff to JSON output, and update docs.
11 years ago
Adam Ierymenko
99969b186b
Add a concept of a member revision counter to networks. This can be used to select all members that have been added or changed since a given point.
11 years ago
Adam Ierymenko
f9f7de0ec7
Networks don't need their ID as a default name.
11 years ago
Adam Ierymenko
d27c14af48
Don't allow zero as a network number.
11 years ago
Kees Bos
53c7f61f98
Fix for output of empty (no members) network
11 years ago
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
dbee1b38b3
Fix semantics of std::unique() to actually remove duplicates (hidden memory leak?)
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
Kees Bos
3eca5d9c29
Fix reporting of ipAssignments for ipv4
11 years ago
Kees Bos
50d4f66d73
Fixed member authorization bug and minor cleanup
11 years ago
Kees Bos
16eae132fa
Fix for ipv4 assignment
11 years ago
Kees Bos
4affa10ca0
Fix 404 on creation of new network
11 years ago
Kees Bos
2e1d363a86
Removed a superfluous cross join
11 years ago
Kees Bos
1cbdae65fe
Fix controller/network/*/member/*
...
Cross join works other than expected or something changed. The
_sGetMember2 returned too many rows. Replaced it with an explicit
join statement.
11 years ago
Kees Bos
dcbae5f313
Bugfix controller get member info
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
7a55c6b388
Return 404 on delete if network member is missing (controller)
11 years ago
Kees Bos
c2ce018202
Return 404 on delete if network doesn't exist (controller)
11 years ago
Kees Bos
0d0af07ce9
Get deletion of networks in controller going
...
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.
11 years ago
Adam Ierymenko
d8ad555b9a
Go ahead and add flags and invFlags to the Rule table.
11 years ago
Adam Ierymenko
651e67f2e5
Add a feature to generate a new network ID on POST.
11 years ago
Adam Ierymenko
69ceb7e730
Basic controller JSON API seems to be working.
11 years ago
Adam Ierymenko
a187d290f1
Fixes to control plane, API, eliminate problematic inheritance pattern, and start on a NodeJS class for talking to the network controller.
11 years ago
Adam Ierymenko
4be4908914
Fix some prepared statement problems.
11 years ago
Adam Ierymenko
0bb92715f4
DELETE function in network controller JSON API, and a newIdentity convenience request in ControlPlane for scripted testing.
11 years ago
Adam Ierymenko
78769900a9
More network controller cleanup, and some features to permit scripted testing.
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
6d2376eb9c
Controller API status message.
11 years ago
Adam Ierymenko
f693d4d0c8
Network controller cleanup and an extra sanity check.
11 years ago
Adam Ierymenko
883a216d2a
Build fixes.
11 years ago
Adam Ierymenko
5202fbdaf3
CRUD
11 years ago
Adam Ierymenko
103dcb072d
CRUD
11 years ago
Adam Ierymenko
79f63ba30a
Fix: make sure we do not assign broadcast address as an IP to new members.
11 years ago
Adam Ierymenko
71f006cbeb
More CRUD, almost done...
11 years ago
Adam Ierymenko
e4046964f0
Forgot to run schema2c.
11 years ago