Commit graph

22 commits

Author SHA1 Message Date
Blake J. Harnden
67d451c3e9 fixed old log imports and dont bail out on tdma model exception 2017-08-08 09:17:09 -07:00
Blake J. Harnden
f3863ead73 removed service load methids, since they are no longer used, added way for custom service load code to facilitate the unique docker service case 2017-08-07 16:40:39 -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
35c48e67a3 modified the way custom services can be imported and added a test case to verify the import functionality 2017-08-03 14:27:39 -07:00
Blake J. Harnden
05ce19b0c0 fixed refactoring issues in mobility.py, fixed issue with parsing config files in a tuple string format 2017-08-02 14:07:56 -07:00
Blake J. Harnden
964fdd6793 fixed issue causing service configuration loop 2017-07-12 10:35:53 -07:00
Blake J. Harnden
9934ce8d3f fixed issue with core config messages generating file messages, still seems to be an inifinite loop issue 2017-07-11 15:51:56 -07:00
Blake J. Harnden
336702a056 updated emane tests to use mdr models for the nodes, add a couple extra logs 2017-07-11 10:35:08 -07:00
Rod A Santiago
55a6e2dcef merged cleanup branch with master 2017-06-19 18:09:28 -07:00
Dustin Spicuzza
17e4fc0933 Emit more descriptive error message if config file is incorrect 2017-05-18 18:39:19 -04:00
Tom Goff
67117a3af3 daemon: Improve importing custom services.
This should help avoid python module name conflicts.
2017-02-24 01:02:08 +00:00
Tom Goff
ac19cfa7ff daemon: Add a startup service.
When enabled, the startup service ensures that other node services
start in order (according to the service _startindex value) and that
the prior service completes before the next service starts.  It also
captures any output from startup commands in a file named
'startup.log'.
2015-09-11 18:12:57 -04:00
Tom Goff
2c8744f14e Revert "daemon: Use a master script to start node services."
This reverts commit 15adf81954.
2015-09-11 18:12:49 -04:00
Tom Goff
15adf81954 daemon: Use a master script to start node services.
This helps starting services with dependencies by running service
start commands serially.
2015-08-31 11:31:57 -04:00
ahrenholz
1f5397c558 tomh: s._starttime may not be a string
(Boeing r1843)
2014-06-02 19:38:02 +00:00
ahrenholz
1ab6be9625 fix bug #244 by printing an error when some non-unique directory names are
used in the custom_services_dir setting
(Boeing r1841)
2014-04-30 21:27:41 +00:00
ahrenholz
f717fcc0dd (commit by Kelly Bunn)
session.py:  Created method (sendnodeemuid) to send node status response
             message, so all nodes can call it. Added per session updown
             script option.
service.py:  Added test for _starttime before calling float() in
             bootnodeservices().
             Changed servicesfromopaque code to collect unknown
             services and return with valid services.
             Changed handleevent to send a message with posible failed
             and unknown services.
coreobj.py:  Added code to put nodes actual configured services in
             tonodemsg.
core-daemon: Added call to self.session.sendnodeemuid if in running
             state in handlenodemsg

(Boeing r1824,1825)
2014-03-05 16:28:32 +00:00
ahrenholz
a9ea208a08 added reconfigure event type, for re-generating service config files
added new Event Message handling for starting mobility model or reconfiguring
  a service during runtime
(Boeing r1806)
2013-12-05 23:44:25 +00:00
ahrenholz
4f9c7bf804 (Boeing r1769)
include exception text when service startup command fails
2013-09-06 17:58:54 +00:00
ahrenholz
f8f46d28be initial import (Boeing r1752, NRL r878) 2013-08-29 14:21:13 +00:00