Commit graph

68 commits

Author SHA1 Message Date
bharnden
7aee2b2ba7 updated logging usage, to use the library directly and avoid imposing a core config by default, allowing users of the core library to configure logging as desired 2019-02-16 09:50:19 -08:00
bharnden
03d0e90db5
Merge pull request #198 from coreemu/bugfix/reduce-default-core-daemon-logging
quiet core-daemon by replacing warn messages with debug
2018-11-14 15:26:50 -08:00
bharnden
aa91bb67a1 cleanup of files in root core module 2018-10-11 13:28:02 -07:00
bharnden
2e1bd23cce #201 small changes to adapt to new error style and catch specific exceptions that may arise 2018-10-10 15:21:26 -07:00
Jeff Ahrenholz
c92ce40ddb log warning when node.privatedir() raises an exception 2018-10-10 09:43:32 -07:00
Jeff Ahrenholz
18d4908bf8 quiet core-daemon by replacing warn messages with debug 2018-10-09 10:13:12 -07:00
Blake J. Harnden
549d6bd84c fixes #196 and avoids clearing default services on reset 2018-10-02 08:36:23 -07:00
bharnden
00920afbce #193 updates to service validation, will retry validation for validation_timer period, instead of just waiting, using configurable validation_period 2018-09-26 14:20:19 -07:00
bharnden
11088c716a #193 improved logging for custom service failures, should help trace issues that may arise 2018-09-12 12:15:53 -07:00
Blake J. Harnden
cf6f8391b0 added interface name and nemid for emane connected interfaces to generated xml 2018-08-14 12:31:44 -07:00
Blake J. Harnden
4f592d0651 fixed issue with viewkeys behaving different between versions of python 2.7 2018-08-01 18:22:41 -07:00
Blake J. Harnden
4a9c751935 refactored service boot path discovery to be more robust, still based on services provided alone 2018-08-01 10:13:57 -07:00
Blake J. Harnden
9ce28da658 fixed bug with custom service files using the same dict across instances of the class 2018-07-25 09:37:59 -07:00
Blake J. Harnden
5bb23c1d93 fixed issue and determined better way to generate boot dependency paths for services 2018-07-12 20:04:04 -07:00
Blake J. Harnden
d05bc9240a initial code to leverage lxml to create xml for saving and loading core sessions 2018-06-28 16:30:55 -07:00
Blake J. Harnden
bb533406a6 refactored service methods to be shorter, updated some logging to debug, added some more service tests 2018-06-22 15:47:02 -07:00
Blake J. Harnden
8186f3716c refactored service function names 2018-06-22 14:41:06 -07:00
Blake J. Harnden
0efcd910db removed node boot/validate methods, since it was using a circular reference to run a CoreService method 2018-06-22 11:59:16 -07:00
Blake J. Harnden
37517c45f4 changed some logging from info to debug, removed startindex and depends from services 2018-06-22 08:16:59 -07:00
Blake J. Harnden
0aca9d7809 changes to remove the need to pass services separately, when the node has access to them directly, also made a couple CoreServices methods more consistent to have the node as first param and service second 2018-06-21 14:56:30 -07:00
Blake J. Harnden
b868454b5e updates to use dependency based startup logic 2018-06-21 11:20:08 -07:00
Blake J. Harnden
08956e7b93 making use of threadpools to boot each node and boot the services within a node 2018-06-20 16:18:30 -07:00
Blake J. Harnden
ed4e6f0f00 removed startup service 2018-06-20 13:07:43 -07:00
Blake J. Harnden
3443937ff2 updated service load errors to be warnings 2018-06-20 13:04:13 -07:00
Blake J. Harnden
c6d2ca6b02 made use of threadpool for starting services, refactored services to support 3 validation models (blocking, non-blocking, timer) 2018-06-20 12:59:07 -07:00
Blake J. Harnden
37ce407460 added logic to help provide dependent service ordering 2018-06-19 18:36:53 -07:00
Blake J. Harnden
bf47e5fc0d added service executable check, added error message to gui for service load errors 2018-06-19 09:19:49 -07:00
Blake J. Harnden
e80736061f refactored service interaction use names with a _, and cleanup up some of the CoreServices methods 2018-06-15 14:03:27 -07:00
Blake J. Harnden
0bf9c99910 updated service manager to use a dict and throw and error on duplicate service names 2018-06-14 12:50:48 -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
c65baa9298 update to add a way to avoid loading parent service classes, that inherit from CoreService that should not be loaded on their own 2018-04-20 21:40:55 -07:00
Blake J. Harnden
64f501ac79 fixed issue with configuring a couple nrl services, fixed other issues with coresendmsg 2018-03-26 14:36:43 -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
ec79c7dba3 removed some exceptions that were logged but ignore within services 2018-03-05 09:20:49 -08:00
Blake J. Harnden
974559843a defined custom core command error that defaults to printing command output as well 2018-03-02 16:22:20 -08:00
Blake J. Harnden
a8ee7f35d6 updates to check_cmd to just return output, as status is pointless 2018-03-02 13:57:50 -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
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
c4a61b269b updates to support dynamic loading of emane models from a custom emane directory 2018-02-05 11:22:01 -08:00
Blake J. Harnden
17d5503fb2 removed daemon addons directory and refereces 2018-01-12 09:50:56 -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
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