Commit graph

251 commits

Author SHA1 Message Date
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
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
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
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
82c3d57dd3 setup a simple default way for dealing with configurable options and added conifg group opbjects as a better way to access the same information formatted within a string 2018-06-14 08:41: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
a52e454111 renamed dict variable in ConfigurationManager 2018-06-13 12:39:50 -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
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
044e7de5e3 update to support consistently retrieving the last set configuration 2018-06-08 13:53:16 -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
f6656f0245 added some initial tests for conf objects 2018-06-08 10:25:56 -07:00
Blake J. Harnden
7abf4bca16 updates to get all tests working with config changes 2018-06-07 12:57:32 -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
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
ba3669712a updated gui test to working order, moved distributed test to a sub directory to be ignored by default, added pytest.ini to ignore distributed directory by default 2018-04-27 10:12:01 -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
c0b450789a updates to make future apis a bit better, updated handlers and all tests to account for changes 2018-04-25 10:55:48 -07:00
Blake J. Harnden
3ea885e2eb refactored some future naming to be more consistent, added new data objects to pass into coreemu api to help make scripting easier, set sessions to master by default now 2018-04-24 16:24:54 -07:00
Blake J. Harnden
1404ca19c5 added some test cases based on future api interactions, node add/delete/update link add/delete/update 2018-04-23 15:46:08 -07:00
Blake J. Harnden
a48036b353 updated emane tests, all currently working 2018-03-27 23:38:34 -07: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
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
127d0b0666 added a shell command with result, leveraged it usage to get output for failures during addfile and mounting within nodes 2018-02-07 19:13:51 -08:00
Blake J. Harnden
e35b4a0a4b fixed bug with loading emane models in tests, after changing how emane models are loaded 2018-02-07 16:55:53 -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
3ce416b610 updated test cases to fix old broken code 2018-01-09 15:52:29 -08: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
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
bc1a24e880 fixed some refactoring issues with xen and bsd code 2017-08-03 09:48:26 -07:00
Blake J. Harnden
d915436c7d added a simple test for a tunnel node, although better testing awwma to require configuration outside of core 2017-08-03 09:37:22 -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
4d21314798 fixed renaming issue with sessionid to session_id 2017-08-02 12:25:57 -07:00
Blake J. Harnden
f67547faa6 small test cleanup, functioning distributed core test case, depends on an already running server 2017-08-01 09:28:11 -07:00
Blake J. Harnden
14a5d11c4e parameterized emane tests, added tdma test, although it is currently failing 2017-07-27 14:59:40 -07:00
Blake J. Harnden
832f497d47 updated tests to leverage parameterized tests, reduces bloat and make testing the same situation differently much easier 2017-07-27 14:17:33 -07:00
Blake J. Harnden
6a875bcd8d added vnodeclient testing, added a run tests script to make testing easier 2017-07-27 11:57:01 -07:00
Blake J. Harnden
ebe3b9e3e3 added mock for python testing, removed a couple unused methods, added some more quick tests for a variety of interface related methods 2017-07-26 16:52:17 -07:00
Blake J. Harnden
62e8ff8731 fixed one small sdt renaming issue, updated a gui test case 2017-07-26 08:48:59 -07:00
Blake J. Harnden
f767c32643 small test cleanup, can isolate to a singular core test fixture 2017-07-25 10:16:18 -07:00
Blake J. Harnden
fe08481763 updated wlan tests to be mdr based nodes with emane services 2017-07-12 09:46:57 -07:00
Blake J. Harnden
d51e80fac8 updated emane commeffect test to turn on default connectivity, test now passes 2017-07-12 09:29:36 -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
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
dced47b588 fixed emane version checks, fixed emane config message handling, added initial emane test cases 2017-07-10 09:25:33 -07:00
Blake J. Harnden
97f3c3a070 fixed issue with sending the wrong type flag from cleaning up configuration request code in services 2017-05-05 15:14:27 -07:00
Blake J. Harnden
8ade6f4f02 fixed bug with unpacking objects introduced while cleaning things up, added a basic gui broker test that depends on an existing daemon running 2017-05-03 15:29:15 -07:00
Blake J. Harnden
8f45e5c4da core test cleanup, conslidating network creation for link modification testing 2017-04-27 14:49:51 -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