Blake Harnden
bc58693339
updated emane config files to be generated for remote servers, fixed services not using node remote server compatible commands
2019-10-10 11:53:52 -07:00
Blake Harnden
a4b6b8be51
updated link config to work distributed, added crude locking for fabric
2019-10-09 15:44:45 -07:00
Blake Harnden
7e45168e77
distributed example for ptp
2019-10-08 21:17:15 -07:00
Blake Harnden
c8d68c332a
updates for testing using examples
2019-10-08 21:06:22 -07:00
Blake Harnden
b7b0e4222c
updates for basic working distrbuted network using fabric
2019-10-08 15:09:26 -07:00
Blake Harnden
212fec916b
updated how distributed servers are added and connections are created to reduce duplicate connections
2019-10-07 11:58:27 -07:00
Blake Harnden
f83f98262f
some initial remote node commands using fabric
2019-10-04 17:33:44 -07:00
Blake Harnden
bb98a4a77f
removed circular dependency causing issues in python2
2019-10-04 12:36:15 -07:00
bharnden
41f7f46988
removed old examples, updated examples api to denote they are python script examples
2019-10-03 12:41:56 -07:00
bharnden
503fa754a9
updates to fail early for required executables that are not in PATH
2019-09-27 23:29:15 -07:00
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
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
Tom Goff
e1aec0ea1d
daemon/examples: Update the distributed netns example.
...
The number of nodes used can depend on a command-line argument, but
node one should always exist.
2016-09-16 10:48:22 -04:00
Rod A Santiago
139b495982
examples: added option API TLVs so that per-interface parameters are kept for EMANE models when a single node has multiple interfaces of the same EMANE model type but different model parameters
2016-04-20 08:38:10 -07:00
Rod A Santiago
b91b5125f2
daemon: changes to support optional retainment of per-interface parameters for EMANE models when multiple EMANE models of the same type are used as interfaces for a node
2016-04-20 08:36:58 -07:00
Tom Goff
63ff54243e
daemon: Add an example script that generates skeleton CORE bindings
...
from EMANE model manifest files.
2015-10-09 13:50:54 -04:00
Stuart Marsden
a9b0014c91
Add a example which can run on the daemon when run as a standard user.
2015-08-04 13:46:09 +03:00
tgoff0
c68e05b4b5
Prefer using ip instead of ifconfig.
...
Includes other minor improvements.
2015-05-22 00:55:20 +00:00
tgoff0
e73dbbe25d
Made persistent to allow execution from the GUI
2015-05-22 00:54:17 +00:00
tgoff0
f2cd25d893
daemon: Update the example emane 802.11 python script.
2015-02-27 22:03:52 +00:00
tgoff0
baa9afc20f
script fix
2015-01-21 21:38:19 +00:00
tgoff0
6084b4f416
Adjust file mode bits.
2014-12-15 18:23:25 +00:00
ahrenholz
b89e7d6471
fix MDR test to work with Quagga under Ubuntu found in quagga_search_path
...
(Boeing r1901)
2014-11-05 21:31:01 +00:00
ahrenholz
96dd48e3c3
fixed sample scripts to work with EMANE 0.9.x
...
(Boeing r1893)
2014-10-28 17:40:14 +00:00
ahrenholz
c04c0a9ef3
added SDT option to basicrange.py example
...
(Boeing r1889)
2014-10-23 22:14:06 +00:00
ahrenholz
34c7784009
updated two Python script examples to enter the RUNTIME state for execution
...
from the GUI
(Boeing r1837)
2014-04-03 21:58:47 +00:00
ahrenholz
481daf4c0d
update examples scripts, replacing add_to_server() with two-line statement
...
note that due to the usage of the 'server' global, it will not work to add a
Session.add_to_server() or core.misc.utils.add_to_server() function
(Boeing r1828)
2014-03-12 21:38:07 +00:00
ahrenholz
ece697df70
(Boeing r1768)
...
basic fixes to ospfmanetmdrtest.py script to work with current LxcNode class
2013-09-06 17:38:47 +00:00
ahrenholz
8d11b40009
(Boeing r1765)
...
added simple distributed Python script example involving N/2 local nodes and
N/2 nodes on a remote server, connected to a common switch
lacks runtime access to the remote nodes (e.g. for command execution)
2013-09-04 17:16:31 +00:00
ahrenholz
f8f46d28be
initial import (Boeing r1752, NRL r878)
2013-08-29 14:21:13 +00:00