Blake J. Harnden
52230bc026
refactored configuration managers and options into a single class, now the models that can be configured will deal with and handle configurations for nodes themselves
2018-06-11 12:26:12 -07:00
Blake J. Harnden
52bfd1edf4
refactored get_config_types to get_all_configs and NewConfigurableManager back to ConfigurableManager
2018-06-08 10:30:41 -07:00
Blake J. Harnden
2ede43e3ae
initial commit with things working for the most part
2018-06-06 14:51:45 -07:00
Blake J. Harnden
44781d0aec
set default logging to INFO, cleaned up logging to help isolate debug type messages to DEBUG level, fixed issue with shutdown
2018-04-27 12:09:31 -07:00
Blake J. Harnden
fe4c21bad4
updates to how and where the node map is populated, now done in CoreEmu and CoreEmu provides a method for updating the map if desired
2018-04-26 16:05:47 -07:00
Blake J. Harnden
dc751dde2b
removed session manager, since CoreEmu does this now, set future examples to serve as API examples, removed netns examples that are replaced by these API variations
2018-04-26 13:06:18 -07:00
Blake J. Harnden
8644e9d61e
moved future core server and handler code to act as the default core-daemon, updated future examples and tests to leverage new api
2018-04-25 16:33:58 -07:00
Blake J. Harnden
ba8b73af41
added some more logging to emane setup/startup
2018-03-21 09:57:08 -07:00
Blake J. Harnden
4e5ee1b3ee
removed aux server/handler code
2018-03-16 11:26:44 -07:00
Blake J. Harnden
a5370ee28c
initial commit removing all related xen code, docs, files
2018-03-07 15:47:14 -08:00
Blake J. Harnden
bc1e3e70c9
initial pass at removing bsd and code related to using bsd nodes
2018-03-07 12:54:19 -08:00
Blake J. Harnden
29a3496eda
expose command exceptions within emane and mobility
2018-03-02 15:54:27 -08:00
Blake J. Harnden
00b3c97448
further removal and refactoring of methods used within misc/utils.py
2018-03-02 09:15:52 -08:00
Blake J. Harnden
6211b09585
further cleanup in regards the commands that are being used within core
2018-03-01 16:23:58 -08:00
Blake J. Harnden
d3bd61ddcf
updates to consolidate commands that need to be defined by a new node type
2018-03-01 13:21:25 -08:00
Blake J. Harnden
0b8ee7760d
reverted refactoring method name until xen/bsd nodes are cleared out
2018-03-01 09:26:28 -08:00
Blake J. Harnden
719670c895
further cleanup to vnode.py and corrections to function docs
2018-02-27 16:28:28 -08:00
Blake J. Harnden
6b8ee13f5d
initial changes to try and cleanup shell commands used within core
2018-02-27 10:48:01 -08:00
Blake J. Harnden
42bcb1c79d
add default node map configuration, to avoid the need to set this up every time
2018-01-04 08:19:34 -08:00
Blake J. Harnden
73eea80f51
attempt to fix missing updates for sdt, moved broker specific code to broker
2017-08-07 15:37:41 -07:00
Blake J. Harnden
e4b280196b
switched to making use of logzero for logging, provides nicer color output, and an easier path to switch to rotating log files
2017-08-07 11:58:51 -07:00
Blake J. Harnden
b62076c240
added test script and test for mobility script testing
2017-08-02 16:39:38 -07:00
Blake J. Harnden
350341cda7
added various log messages to help with correcting issues, added some for adding tunnels that fixes p2p with distributed core, but teardown for p2p is still broken
2017-07-31 09:08:57 -07:00
Blake J. Harnden
e2a932698c
appear to have fixed the gui shutdown issue with messages being sent out of order, causing a node to remain with a red box
2017-07-27 16:03:27 -07:00
Blake J. Harnden
45a11f7586
removed session from manager after from server fixes issue in gui with red shutdown box not being removed
2017-07-13 10:10:54 -07:00
Blake J. Harnden
ad179438c6
fixed issue where config messages were not being broadcasted out
2017-07-13 09:36:09 -07:00
Blake J. Harnden
777e19de93
initial effort to try and fix multiple clients to behave as before, includes fixes for guaranteed message ordering of nodes before links when joining a session
2017-07-11 08:55:15 -07:00
Blake J. Harnden
673fdc94b5
removed unused imports in emane files, refactored emane testing to simplify test cases and reduce repeated code
2017-07-10 10:44:10 -07:00
Blake J. Harnden
77890841bc
fixed incorrect usage of getattr, the default value can not be a keyword argument
2017-07-05 13:43:57 -07:00
Blake J. Harnden
8e9dc21c3c
removed some commented out code and fixed a documentation parameter mistake
2017-05-04 15:24:45 -07:00
Blake J. Harnden
603179d8ca
fix control net method naming error
2017-05-04 14:43:57 -07:00
Blake J. Harnden
7ad57bfb53
removed the core server reference from sessions, added a shutdown handler to initiate callbacks for when a session shutsdown, this is how the core server can run the same functionality going forward, small core-daemon documentation cleanup
2017-05-04 13:49:14 -07:00
Blake J. Harnden
4ae7958a63
quick base to try and help flesh out documentation under core.*
2017-05-03 09:30:49 -07:00
Blake J. Harnden
14cb7dc251
caught up with latest gitlab commits, added a new tests directory leveraging pytest based tests for testing core functionality
2017-04-27 13:34:23 -07:00
Blake J. Harnden
2fc6345138
catching up with commits: daemon: Add an instantiation-complete CORE API event type
2017-04-25 11:38:53 -07:00
Blake J. Harnden
00f4ebf5a9
initial commit after bringing over cleaned up code and testing some examples
2017-04-25 08:45:34 -07:00
Rod A Santiago
d17ed889d2
remerged with git pending fix to distributed configuration problem
2016-10-19 16:21:06 -07:00
Rod A Santiago
5d0aa4ac1a
Reverted changes due to merge with github commits made on Oct 12. An issue with distributed deployment seem to have been introduced in those commits.
2016-10-19 13:09:21 -07:00
Tom Goff
6d1b5d28a1
daemon: Remove tracking remote node boot status.
...
The instantiation-complete status of remote servers should indicate
when all nodes are running.
2016-10-12 17:37:13 +00:00
Tom Goff
d33147154c
daemon: Add an instantiation-complete CORE API event type.
...
Have CORE servers send an instantiation-complete event after a session
has completed instantiating. Only enter the runtime state after
instantiation-complete events have been received form all servers.
2016-10-12 17:36:59 +00:00
Tom Goff
42b1771dcb
daemon: Create a CoreServer class to represent CORE servers.
...
Includes related changes and refactoring.
2016-10-12 17:36:42 +00:00
Tom Goff
31a9f6fb34
daemon: Use a set to store broker handlers.
2016-10-12 15:55:30 +00:00
Rod A Santiago
9913168896
Fixed sendnodeemuid to use the handler's sendall() method instead of BaseRequestHandler's request.sendall(). Added a method to retrieve a configuration item by key.
2016-09-14 18:05:52 -07:00
Tom Goff
e5e75756ea
daemon: Remove session-related changes introduced by 68532cb
.
2016-09-05 17:12:16 -04:00
Rod A Santiago
68532cb818
daemon: added option API TLVs so that per-interface parameters are kept for EMANE models when a single node has multiple interfaces of the same EMANE model type but different model parameters
2016-04-20 08:43:39 -07:00
Tom Goff
6f77086540
daemon: Remove __del__() methods.
...
This simplifies Python garbage collection.
2016-03-04 16:57:29 -05:00
Tom Goff
6dbec302e3
daemon: Use /dev/null for stdin when running state hooks.
2016-01-29 18:47:12 -05:00
Tom Goff
6fb1eb9bd6
daemon: Log output from state hooks to a file.
...
Also close other file descriptors when running state hooks.
2016-01-29 16:18:39 -05:00
Tom Goff
c8d5ec994a
daemon: Include stack trace information when an exception occurs in a
...
session state hook.
2015-11-04 19:06:33 -05:00
Tom Goff
04e934c93c
daemon: Prefer using Session.getcfgitem() instead of direct access.
2015-10-09 13:50:45 -04:00