Huy Pham
1843b5f709
further updates to python docs and docs files
2019-09-13 11:07:04 -07:00
Blake Harnden
32bfa4b2f9
fixed exception catches for get_node expecting KeyError to expect CoreError
2019-09-12 15:48:09 -07:00
Huy Pham
2bfcc9ef24
Merge branch 'develop' into pydocupdates
2019-09-12 10:24:23 -07:00
Huy Pham
b43a686d6b
initial documentation improvements
2019-09-12 10:23:46 -07:00
bharnden
0d5692e7e8
updates to try and clean up info logging, moved some statements to debug
2019-09-11 15:05:05 -07:00
bharnden
3776e1dda7
moved emane dependent tests into subdir, moved pytest config into setup.cfg, added CoreError and made use of in session.py
2019-09-11 13:12:42 -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
bcd2584eb8
grpc - add rpc to get local non-core interfaces
2019-07-12 13:02:15 -07:00
Blake Harnden
02668c9c3c
grpc - initial support for container node types
2019-07-11 13:09:04 -07:00
Blake Harnden
0d24ca3387
grpc support for docker/lxc
2019-07-10 13:58:27 -07:00
bharnden
836133c97d
reverting a change that caused switching sessions within gui to break
2019-07-05 09:00:14 -07:00
Blake Harnden
ca10ef4e9e
finished initial pass on adding tests to help run through and validate tlv message handling
2019-06-25 12:29:46 -07:00
Blake Harnden
4f4605163f
fixed issues executing xml from gui, added more tests for testing message handling
2019-06-24 15:49:12 -07:00
Blake Harnden
05c6233908
added utility method to replace execfile for python2/3 support
2019-06-21 09:29:19 -07:00
Blake Harnden
c57089284f
updates to rename utils.hash to utils.hashkey to avoid builtin conflict
2019-06-21 08:51:56 -07:00
Blake Harnden
a5f26e664a
updated logic for creating tunnel keys to use a consistent hashing method, since the builtin hash is not guaranteed in python3 as it was before in python2
2019-06-20 13:22:20 -07:00
Blake Harnden
b5acdf0c3d
updated tests for running distributed to working order and adding simple emane case
2019-06-19 17:34:33 -07:00
Blake Harnden
948b1126ba
changes to support not modifying controlnet configuration messages and avoid issues with setting the master meane config when dealing with distributed emane
2019-06-18 10:33:16 -07:00
bharnden
0af3629ac6
corefx - fixed some issues loading xml due to grpc change, updated subnet logic to help handle loaded scenarios. grpc - fixed issue when loading network links
2019-06-15 10:42:55 -07:00
Blake Harnden
6288e11bcc
grpc - fixed issue when handling wlan configurations
2019-06-14 14:14:00 -07:00
Blake Harnden
fca79fcf94
small change for possibility of runtime mobility configuration
2019-06-11 15:55:11 -07:00
Blake Harnden
38c58d9603
fixed tlv api changing wlan config during runtime, fixed for grpc as well and added grpc test
2019-06-11 13:11:36 -07:00
bharnden
191d392c46
updated grpc node x,y types, added new grpc session position type, grpc updated link options to use int, fixed corehandlers handling of dup, fixed corexml type handling for link options, updated mobility config types to correlate with link options
2019-06-08 16:56:39 -07:00
Blake Harnden
e62ae42bdc
merged latest from master
2019-06-07 10:05:40 -07:00
Blake Harnden
db7bfe12bd
pass on updated pydocs to reflect path changes
2019-06-07 08:59:16 -07:00
bharnden
d1114bd804
fixed byte/str issue in coreapi tlv mac addr
2019-06-04 10:55:08 -07:00
bharnden
f5efecabf0
byte string fix in coreapi, different approach to urlparse compatibility to avoid other issues
2019-06-03 21:22:11 -07:00
Kevin Larson
c4c1a10f05
Added compatible idioms for configparser and queue to support both python2 and python3
2019-06-03 18:22:25 -07:00
Blake Harnden
597bd21994
updated logging.warn to logging.warning due to deprecation in python3, fixed python 2/3 filter issue in tests, fixed utf decoding for some missed popen commands
2019-06-03 14:36:21 -07:00
Blake Harnden
69b1297002
updated protobuf to use string instead of bytes for 2/3 compatibility for now, updated default service in grpc tests, fixed byte string issues for python3 in coreapi
2019-06-03 13:34:54 -07:00
Blake Harnden
7efec88e79
merged latest from develop
2019-06-03 13:06:11 -07:00
Blake Harnden
bb5e68ad8b
2/3 fixes for ip address and mac byte handling
2019-06-03 11:49:43 -07:00
bharnden
7a0edd5927
fixed bad logic introduced into interface setparams, fixed grpc edit link test
2019-06-02 22:20:00 -07:00
bharnden
3de37f0f5e
fixed basestring check for 2/3 compatibility
2019-06-02 19:23:49 -07:00
bharnden
ecc63f4abb
updates to support 2/3 along with not using vcmd c extension
2019-06-02 19:06:25 -07:00
bharnden
864c7b69a1
updated Queue and ConfigParser to use 2/3 compatible imports
2019-05-05 21:49:42 -07:00
bharnden
b58d32c156
updated socketserver to 2/3 compliant
2019-05-05 21:37:45 -07:00
bharnden
1e98175e35
refactored usages of iteritems, itervalues, and iterkeys to be 2/3 compliant
2019-05-05 21:23:43 -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
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
37f747c212
Update coreapi.py
...
fixed get_tlv using enumerated type instead of value
2019-02-12 20:38:00 -08:00
bharnden
05a5574155
cleanup of core.api, core.emulator, core.pnodes
2018-10-11 14:49:22 -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
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
67d451c3e9
fixed old log imports and dont bail out on tdma model exception
2017-08-08 09:17:09 -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
Blake J. Harnden
4d21314798
fixed renaming issue with sessionid to session_id
2017-08-02 12:25:57 -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
4ae7958a63
quick base to try and help flesh out documentation under core.*
2017-05-03 09:30:49 -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
Rod A Santiago
d17ed889d2
remerged with git pending fix to distributed configuration problem
2016-10-19 16:21:06 -07:00
Rod A Santiago
5d0aa4ac1a
Reverted changes due to merge with github commits made on Oct 12. An issue with distributed deployment seem to have been introduced in those commits.
2016-10-19 13:09:21 -07:00
Tom Goff
d33147154c
daemon: Add an instantiation-complete CORE API event type.
...
Have CORE servers send an instantiation-complete event after a session
has completed instantiating. Only enter the runtime state after
instantiation-complete events have been received form all servers.
2016-10-12 17:36:59 +00:00
Rod A Santiago
c66914ec21
daemon: 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:33:58 -07:00
tgoff0
db03927892
daemon: Fix encoding MAC addresses for CORE API messages.
2015-03-09 15:20:33 +00:00
ahrenholz
a9ea208a08
added reconfigure event type, for re-generating service config files
...
added new Event Message handling for starting mobility model or reconfiguring
a service during runtime
(Boeing r1806)
2013-12-05 23:44:25 +00:00
ahrenholz
536ff20fff
change API version to 1.23
...
change jitter to 64-bit value to align with delay in Link Message
added unidirectional link flag TLV to Link Message
(Boeing r1795)
2013-12-02 21:08:00 +00:00
ahrenholz
f9e7c36204
(Boeing r1776)
...
bump CORE API version number to 1.22
2013-09-25 17:35:56 +00:00
ahrenholz
f8f46d28be
initial import (Boeing r1752, NRL r878)
2013-08-29 14:21:13 +00:00