Commit graph

68 commits

Author SHA1 Message Date
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
Blake J. Harnden
01fe8d708c updates to simplify tracking the copyright and an update to 2018, still room for improvement 2018-03-15 10:36:54 -07: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
78537d8e95 fixed some shell command usage in example files 2018-02-27 12:39:12 -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
42bcb1c79d add default node map configuration, to avoid the need to set this up every time 2018-01-04 08:19:34 -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
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
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
613e550e8a merged latest code from rodolfos merge from the latest github pull 2017-07-06 15:10:50 -07:00
Blake J. Harnden
6bfa81f3a8 small cleanup to sdn services, added loadservice line to daemon, and updated example service for how current services are coded 2017-07-05 13:32:16 -07:00
Rod A Santiago
55a6e2dcef merged cleanup branch with master 2017-06-19 18:09:28 -07:00
cspiker
192b362ae6 cleaned up SDN services for release 2017-06-08 13:19:06 -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
Blake J. Harnden
2fc6345138 catching up with commits: daemon: Add an instantiation-complete CORE API event type 2017-04-25 11:38:53 -07:00
Blake J. Harnden
00f4ebf5a9 initial commit after bringing over cleaned up code and testing some examples 2017-04-25 08:45:34 -07:00
Gabriel Somlo
33906aae9f daemon: remove Quagga 'vtysh' service
Since all Quagga daemons are configured from a consolidated
location (the 'zebra' service), there is nothing left to do
for a dedicated service such as 'vtysh'. This patch removes
the service, along with all references to it from the rest
of the source tree (sample *.imn files, examples, etc.)

Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2017-02-01 09:55:58 -05:00