bharnden
c3d0b01b7f
Merge branch 'rel/5.1'
2018-05-22 20:44:26 -07:00
Blake J. Harnden
09cf406187
moved daemon/sbin to daemon/scripts
2018-03-15 11:30:11 -07:00
Blake J. Harnden
01fe8d708c
updates to simplify tracking the copyright and an update to 2018, still room for improvement
2018-03-15 10:36:54 -07:00
Blake J. Harnden
b74d3488f7
fixed coresendmsg after testing
2018-03-14 13:34:25 -07:00
Blake J. Harnden
138b2fcc4a
update to get coresendmsg working again
2018-03-14 13:14:14 -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
00b3c97448
further removal and refactoring of methods used within misc/utils.py
2018-03-02 09:15:52 -08:00
Blake J. Harnden
6f4ef0e193
removed unused import and update sonar config to scan different components separately
2018-01-15 10:50:14 -08:00
Blake J. Harnden
17d5503fb2
removed daemon addons directory and refereces
2018-01-12 09:50:56 -08:00
Blake J. Harnden
0ee07f89f0
removed unused import in core-daemon
2018-01-11 16:54:12 -08:00
Blake J. Harnden
3ce416b610
updated test cases to fix old broken code
2018-01-09 15:52:29 -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
Gabriel Somlo
5901f2e1de
daemon: use "require" to make eggs available for import
...
Since version 5.0, python modules (e.g. core, corens3, and netns)
are installed as .egg bundles, and are not available for importing
by default, unless explicitly we use "pkg-resources.require()".
Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2017-11-20 20:56:48 -05:00
Blake J. Harnden
463618ddf8
small refactoring on how node maps are used, added logic to switch to using a map based on bsd nodes using previous logic
2017-08-09 10:03:43 -07: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
850cc599c8
refactored how services are loaded to be more dynamic
2017-08-03 16:33:54 -07:00
Blake J. Harnden
613e550e8a
merged latest code from rodolfos merge from the latest github pull
2017-07-06 15:10:50 -07:00
Blake J. Harnden
6bfa81f3a8
small cleanup to sdn services, added loadservice line to daemon, and updated example service for how current services are coded
2017-07-05 13:32:16 -07:00
Rod A Santiago
55a6e2dcef
merged cleanup branch with master
2017-06-19 18:09:28 -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
00f4ebf5a9
initial commit after bringing over cleaned up code and testing some examples
2017-04-25 08:45:34 -07:00
Tom Goff
7bbc2aef0e
daemon: Remove the SIGPIPE signal handler.
...
Python installs a default signal handler for SIGPIPE that raises an
exception. Let core-daemon handle the exception instead of exiting.
2016-10-20 18:10:41 -04:00
Rod A Santiago
2d745c339f
Moved classes CoreRequestHandler, CoreDatagramRequestHandler, CoreServer, CoreUdpServer to a separate core.coreserver module. This will allow future definition of auxiliary request handlers for providing alternative interfaces with CORE.
2016-09-14 18:06:19 -07:00
Rod A Santiago
b239b906bd
Cleaned up for checking in to NRL repo
2016-09-14 17:15:16 -07:00
Rod A Santiago
65803f9334
Last cleanup prior to merging with changes in proteanforge
2016-09-13 17:46:39 -07:00
Rod A Santiago
7991cba55e
removed import of apibridge
2016-09-08 17:53:20 -07:00
Rod A Santiago
fa1b79fe68
minor update to start message
2016-09-06 15:48:41 -07:00
Rod A Santiago
3ea417b855
moved servers and request handlers to separate module. added support for auxiliary server with configurable request handlers
2016-09-06 15:46:54 -07:00
Rod A Santiago
e45a83143f
Added method getsession to CoreApi2Server
2016-08-22 15:22:25 -07:00
Rod A Santiago
36c82d1960
moved apibridge to misc
2016-08-12 11:58:30 -07:00
Rod A Santiago
3cf9c80d15
moved as much api2 handling as possible into apibridge.py
2016-08-11 16:51:46 -07:00
Rod A Santiago
cf2912e8a4
API2 add/modify experiment support.
2016-08-10 17:27:15 -07:00
Rod A Santiago
2f7c337b02
translated events, node updates to api2
2016-08-02 14:33:24 -07:00
Rod A Santiago
35141b130c
separated legacy API wrapper. added ipv4 addresses to interfaces
2016-07-29 15:52:56 -07:00
Rod A Santiago
2a8eb823ca
basic api2 experiment is loadable
2016-07-28 16:47:14 -07:00
Rod A Santiago
6538490c41
progressing ....
2016-07-27 17:37:55 -07:00
Rod A Santiago
821d78dfb5
Fixed typo in dispatchReplies argument.
2016-07-27 10:02:35 -07:00
Rod A Santiago
e9c0730c12
added api2 handler and server
2016-07-26 17:54:11 -07:00
Rod A Santiago
88e285f016
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:45:16 -07:00
Tom Goff
104d05a4be
daemon: Minor code reorganization.
2016-01-29 18:22:08 -05:00
Tom Goff
0dcf2c05f0
daemon: Make the UDP server socket close-on-exec.
2016-01-29 18:07:43 -05:00
Tom Goff
52e75bea3b
daemon: Add support for log file rotation when SIGUSR1 is received.
2015-12-29 13:50:18 -05:00
Tom Goff
b84c565329
daemon: Catch additional signals that terminate the process by default.
2015-12-29 13:50:05 -05:00
tgoff0
c68e05b4b5
Prefer using ip instead of ifconfig.
...
Includes other minor improvements.
2015-05-22 00:55:20 +00:00
tgoff0
ea4f6ba518
fixed issues with shutting down a distributed batch mode
2015-05-22 00:54:28 +00:00
tgoff0
08c9fd8bf5
daemon: Initial support for exporting a scenario using the new NRL
...
Network Modeling Framework (NMF) XML representation.
2015-05-22 00:53:01 +00:00
tgoff0
abaed4924b
daemon: Improve event handling some.
2015-03-24 18:06:49 +00:00
tgoff0
3d7aab1149
daemon: Use interface names from /sys/class/net when it exists.
2015-01-21 21:37:52 +00:00