Commit graph

62 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
b37eb2fe74 updated xml tests and removed unused xml code 2018-10-11 21:22:57 -07:00
bharnden
aa91bb67a1 cleanup of files in root core module 2018-10-11 13:28:02 -07:00
Blake J. Harnden
17f1a9871a fixes #195 tlv link messages will now use the right value for interface two ip6 masks 2018-10-02 08:26:25 -07:00
bharnden
f8ec15f620
fixes #188 - remove session on delete 2018-09-17 08:40:52 -07:00
Blake J. Harnden
991abb1895 added test for utils.make_tuple_fromstr and fixed send_objects to ignore checking nodes for all configs, since that is not always the case 2018-08-17 08:25:57 -07:00
Blake J. Harnden
75ea42b2e8 fixed issue with converting lat/lon/alts to float in corehandlers.py and a bad logging statement in coreemu.py 2018-08-06 16:38:59 -07:00
Blake J. Harnden
e3e25463eb removed line sending service load errors to the gui and it interferes with current coresendmsg 2018-07-19 16:45:05 -07:00
Blake J. Harnden
f115b1a847 emane xml fully generated from lxml apis, removed xml functions embedded within emane nodes, emane manager, and emane models. Started consolidating emanexml logic into its own module, when it makes sense 2018-07-03 18:49:36 -07:00
Blake J. Harnden
4ccb1ed9f3 working lxml based save/load 2018-07-03 09:50:14 -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
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
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
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
8e3cd0e013 refactored modelmanager getmodels to get_models 2018-06-13 16:23:51 -07:00
Blake J. Harnden
25cfb21586 added modelmanager for both mobility and emane to leverage and reduce duplicate logic 2018-06-13 16:17:47 -07:00
Blake J. Harnden
3a39432fc7 refactored configs back to be able to provide instance conifgurations for sessions 2018-06-13 11:59:50 -07:00
Blake J. Harnden
bb8c3fe275 moved send_objects from session to corehandlers, since it was used for tlv messaging specifically 2018-06-11 12:58:42 -07:00
Blake J. Harnden
7199044809 removed all checks from within specific config handlers 2018-06-11 12:34:19 -07:00
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
b696cf16e9 updates to make how core_handlers handles model config messages a bit simpler 2018-06-07 16:55:44 -07:00
Blake J. Harnden
4b9cf996d1 updates to account for config messages in core handlers that dont contain all configuration options 2018-06-07 15:32:16 -07:00
Blake J. Harnden
2ede43e3ae initial commit with things working for the most part 2018-06-06 14:51:45 -07:00
bharnden
ec04f457e0
Update corehandlers.py
fixes #162
2018-05-24 16:28:26 -07:00
Blake J. Harnden
f5bff494c7 refactored new apis to sit under the emulator module, also reverted moving files under a legacy module to help avoid breaking code using core internals for 5.0+ 2018-05-01 10:40:25 -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
44363b0500 removed daemonize code that is not needed for services, cleaned up need for logrotate, removed some logging that was not useful 2018-03-23 09:57:37 -07:00
Blake J. Harnden
bc1ef88f82 small fix to coresendmsg and client disconnects no longer log as an exception 2018-03-16 13:10:34 -07:00
Blake J. Harnden
d46aaa1005 Merge branch 'rel/5.1' of git-ssh.web.boeing.com:Boeing-CORE/CORE into rel/5.1 2018-03-16 13:01:23 -07:00
Blake J. Harnden
0e38304b18 updated tcp handler to not timeout and block waiting for messages 2018-03-16 13:01:05 -07:00
Blake J. Harnden
34ce98213d removed udp server due to the hackiness of its interactions with trying to re-use tcp code 2018-03-16 13:00:03 -07:00
Blake J. Harnden
ee5bbdd949 convenience method created for dealing with udp server cases 2018-03-16 12:39:23 -07:00
Blake J. Harnden
7260f823cb updates for dispatching replies from udp handler 2018-03-16 12:18:15 -07:00
Blake J. Harnden
76524abbc2 adjustment for getting session from udp client 2018-03-16 12:13:30 -07:00
Blake J. Harnden
02bcdf617d attempt to correct udp handler 2018-03-16 11:46:05 -07:00
Blake J. Harnden
4e5ee1b3ee removed aux server/handler code 2018-03-16 11:26:44 -07:00
Blake J. Harnden
188f9420ca added a convenience target for generating all documentation based on existing google code example, fixed a few issues with doc strings 2018-03-15 14:31:07 -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
00b3c97448 further removal and refactoring of methods used within misc/utils.py 2018-03-02 09:15:52 -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
6b8ee13f5d initial changes to try and cleanup shell commands used within core 2018-02-27 10:48:01 -08:00
Blake J. Harnden
17d5503fb2 removed daemon addons directory and refereces 2018-01-12 09:50:56 -08:00
Blake J. Harnden
abc9e06fe1 small doc cleanup, updated python specific docs to leverage the sphix rtd theme as well 2017-08-18 11:34:25 -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
8612c73d49 worked through a couple todos, removed usage of eval within parsing xml files 2017-08-07 13:02:25 -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