39 Commits (59eb09d06318c8378193dfd40fc37bc308ee9044)

Author SHA1 Message Date
Adam Ierymenko 9b59bcd995 Clean controller circuit test memory. 10 years ago
Adam Ierymenko 78c1d9006a flood protection fix 10 years ago
Adam Ierymenko 2e04dc03f2 Logging to NodeHistory, SQL queries. 10 years ago
Adam Ierymenko f8eb6b0067 Add NodeHistory table on sqlite controller. 10 years ago
Adam Ierymenko 9cb4bbe2b8 Save test results for circuit tests in memory and then cancel the test and send the results when the test is queried later. This way you can POST a test and then come GET the result at the appointed time. 10 years ago
Adam Ierymenko 7903f24a8f Create periodic backup copies of controller.db in network controller from the main process itself to facilitate easier and safer backups of controller.db. 11 years ago
Adam Ierymenko a95fa379cc Circuit tests basically work but need some tweaks, and fix some issues found with valgrind. 11 years ago
Adam Ierymenko a3876353ca Abiltiy to post a test via the controller web API, and parsing of CIRCUIT_TEST_REPORT messages. 11 years ago
Adam Ierymenko 7394ec6f6a Prep in controller code to run tests. 11 years ago
Adam Ierymenko 610ab0750c Drop Sqlite-based Log table for now and switch to an in-memory log for recent activity. Log table gets too big on busy nodes. Should probably support push of events to some kind of event system later. 11 years ago
Adam Ierymenko cd005341c5 Extra statement to clean up Members -- cascade did not seem to work, possibly due to dual key. 11 years ago
Adam Ierymenko bebe3d7cfa Fix deadlock in test mode. 11 years ago
Adam Ierymenko 1f7a41cff8 Fix to allowing identity to be populated if not present. 11 years ago
Adam Ierymenko 0d386f1c31 Add a bit of useful testing instrumentation to SqliteNetworkController. 11 years ago
Adam Ierymenko d57ea671d7 Add version to log. 11 years ago
Adam Ierymenko b3516c599b Add a rate limiting circuit breaker to the network controller to prevent flooding attacks and race conditions. 11 years ago
Adam Ierymenko e2a2993b18 Add a Log table to log queries for debugging and security logging. No JSON API support for querying the log yet, but will probably come via /network/###/member/###/log/... or something. 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 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 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 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 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 50d4f66d73 Fixed member authorization bug and minor cleanup 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 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 883a216d2a Build fixes. 11 years ago
Adam Ierymenko 5202fbdaf3 CRUD 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 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 96737368aa Add MIT-licensed Joyent http-parser lib to ext/ for use with new control plane. 11 years ago
Adam Ierymenko 7ee1a1151f Add SqliteNetworkConfigMaster::DBC for external access to raw sqlite3 db. 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 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