Commit graph

86 commits

Author SHA1 Message Date
bharnden
dee91e97bf changes to fix flake8 issues 2019-09-10 21:01:51 -07:00
bharnden
1fc8d647c3 added flake8/black, pre-commit integration for flake8/black, and black formatting changes 2019-09-10 15:10:24 -07:00
bharnden
d5055f85d3 pass over files using isort 2019-09-10 14:20:51 -07:00
Blake Harnden
913ca51b1c cleanup for docker/lxd code being used, tweaks to running container commands 2019-07-02 16:05:45 -07:00
Blake Harnden
9e273c2d8f small tweaks to cleanup lxd from commented out code 2019-07-02 09:51:56 -07:00
Blake Harnden
e83b38d96a initial lxd based node working from simple scripts 2019-07-02 07:48:43 -07:00
Blake Harnden
2397cd58ee integrated creation into the standard session.add_node call, currently requires an extra check due to the need for being able to specify an image 2019-06-28 15:41:55 -07:00
Blake Harnden
6ab8368f1c updates to attempt to support trying to run traditional services in some manner within the context of a docker node 2019-06-28 12:58:08 -07:00
Blake Harnden
5971950523 changes to have DockerNode based off a CoreNode instead, elminating the need for a lot of boiler plate 2019-06-28 08:17:11 -07:00
Blake Harnden
9825706e03 initial commit with some docker nodes integrating with core at a basic level 2019-06-27 15:45:35 -07:00
Blake Harnden
67595485c6 updated example custom emane model to get away from needing pycco altogether for documentation 2019-06-26 09:38:54 -07:00
Blake Harnden
f6af078e7e pass at cleaning up custom service documentation and removing the need for pycco for this case 2019-06-25 16:03:37 -07:00
Blake Harnden
7efec88e79 merged latest from develop 2019-06-03 13:06:11 -07:00
Blake Harnden
e063fcd4fe core-daemon now allows configuration for grpc address and port, defaults to localhost, also fixed grpc example due to enum and event changes 2019-05-30 16:31:48 -07:00
Blake Harnden
3e194af5ee updated all grpc variables to use more explicit naming for session/node/interface ids 2019-05-28 14:31:34 -07:00
bharnden
8d6bf54a16 removed usage of longs, updated int instance checking and octal constants to be 2/3 compliant 2019-05-05 17:11:07 -07:00
bharnden
5b7453b906 updated caught exceptions to be 2/3 compliant 2019-05-05 16:58:08 -07:00
bharnden
b42b5b1a5a fixed updated raised exceptions to be 2/3 compatible 2019-05-05 16:56:18 -07:00
bharnden
feebd8704f updated all print calls to use print() method for 2/3 2019-05-05 16:52:55 -07:00
bharnden
e58cbe9421 added future library to support python2/3, updated xrange calls to leverage builtins range 2019-05-05 16:19:12 -07:00
bharnden
66e603906a updates to layout core module packages in a more logical way, including renaming methods from objects to nodes and nodes.objid to nodes.id 2019-04-29 23:31:47 -07:00
bharnden
9517740704 initial refactor for all variables named objid 2019-04-26 22:07:51 -07:00
bharnden
1bf53cfd03 small cleanup to grpc switch example 2019-03-30 21:05:50 -07:00
bharnden
27ea317a57 create initial example client script for grpc and separated from within the client library 2019-03-30 19:01:11 -07:00
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
b839482198 fixes #197 removes wireless_link_all and updates example 2018-10-09 12:46:27 -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
a4c5e32e5a fix example service config file names 2018-09-12 11:25:47 -07:00
Blake J. Harnden
973a4b9d76 updates to example service and documentation supporting it 2018-08-02 10:12: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
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
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
3a39432fc7 refactored configs back to be able to provide instance conifgurations for sessions 2018-06-13 11:59:50 -07:00
Blake J. Harnden
eb415aa4d4 merged session config/options together 2018-06-12 08:37:39 -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
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
dc751dde2b removed session manager, since CoreEmu does this now, set future examples to serve as API examples, removed netns examples that are replaced by these API variations 2018-04-26 13:06:18 -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
424c08c5e0 updates to drive most core logic from CoreEmu and Sessions themselves instead of outside code, updated an example to leverage new API, fixed issues testing when executing a script 2018-04-20 17:00:47 -07:00
Blake J. Harnden
9fe57c6089 initial toy code for future core api changes/improvements 2018-04-17 14:30:34 -07:00
Blake J. Harnden
7e03202ba4 remove old utility examples for now 2018-04-16 14:00:04 -07:00
Blake J. Harnden
1ac95d7dca added markdown annotated example emane model file 2018-03-30 15:39:19 -07:00
Blake J. Harnden
1f2c78d54a got tdma working, leveraging an example tdma schedule that will be included with packaging 2018-03-25 22:08:22 -07:00
Blake J. Harnden
2142586112 initial pass to remove support for legacy emane code and focus on newer releases 2018-03-19 16:33:36 -07:00