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
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
740121504f
Add a timestamp to netconf cache, fix some SQL queries in NC.
11 years ago
Adam Ierymenko
91ca238163
Compile fixes.
11 years ago
Adam Ierymenko
ea1859541c
More cleanup, and fix for the extremely unlikely case of identity collision.
11 years ago
Adam Ierymenko
6369c264e2
Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency.
11 years ago
Adam Ierymenko
1f28ce3980
Tons more refactoring: simplify Network, move explicit management of Tap out, redo COM serialization, etc.
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
cea3f28155
DB init works now.
11 years ago
Adam Ierymenko
ba69240bcb
Sqlite auto-init and version check.
11 years ago
Adam Ierymenko
49a2450e76
Include the Sqlite schema to auto-init the database.
11 years ago
Adam Ierymenko
61d89bd118
docs
11 years ago
Adam Ierymenko
31bf0a4ea6
Netconf build fixes, schema, etc.
11 years ago
Adam Ierymenko
fab951e98a
Sqlite schema for netconf.
11 years ago
Adam Ierymenko
ecffa9f5e7
Redis network config master work, and the beginnings of some actual unit test code.
11 years ago
Adam Ierymenko
b6fba5934a
RedisNetworkConfigMaster in its own folder. Also fix some hex/decimal Redis database confusion.
11 years ago
Adam Ierymenko
78fc62d967
netconf/ is where Redis code lives
11 years ago
Adam Ierymenko
ff255a34de
Make NetworkConfigMaster a plugin to get Redis and other non-endpoint code out of node/
11 years ago
Adam Ierymenko
93012b0ee5
Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware]
11 years ago
Adam Ierymenko
0b84c10ccc
Add confirmation step to new netconf, with the caveat that it will be disabled for older netconf servers to avoid race. Also add some comments.
11 years ago
Adam Ierymenko
64ba596e0b
C++ network config master ready to test.
11 years ago
Adam Ierymenko
60fb28a90a
Cleanup, new C++ netconf code is almost ready to test!
11 years ago
Adam Ierymenko
a369c69091
C++ netconf master Redis plumbing.
11 years ago