Commit graph

100 commits

Author SHA1 Message Date
Blake Harnden
45a23a6c14 updated usage of time.time to time.monotonic or time.perf_counter due to time.time possibly rolling backwards 2019-12-06 09:42:41 -08:00
Blake Harnden
059b0cc316 changes to fix session adding default emane configuration 2019-11-21 12:44:50 -08:00
Blake Harnden
18c9904d58 modified grpc set node service and node service file to use messages for their config, updated start session to leverage these messages to set them when starting a session 2019-11-11 10:19:30 -08:00
Blake Harnden
79dfbaa3ec switched session.metadata to just be a standard dict, fixed shutdown service issue during session.data_collect 2019-10-30 13:27:12 -07:00
Blake Harnden
fe95f246d4 added grpc get/set session metadata 2019-10-30 12:01:01 -07:00
bharnden
c0516255f2 added emane model configs and mobility configs to grpc.StartSession 2019-10-29 14:40:37 -07:00
bharnden
de936ea315 added hook creation and set location to grpc.StartSession 2019-10-29 12:35:07 -07:00
bharnden
ade1d980a8 updates to speed up tests 2019-10-23 23:15:19 -07:00
bharnden
945f3cce5b removed session.create_emane_network, removed unused node types 2019-10-22 21:27:31 -07:00
Blake Harnden
ab0abd65aa modified session.add_node parameter node_options, to just be options 2019-10-22 15:31:50 -07:00
Blake Harnden
0a689a3e96 updates to grpc to provide a consistent config response, mapping config ids to ConfigOptions 2019-10-22 09:57:41 -07:00
Blake Harnden
79cde8cd59 further f string updates 2019-10-17 19:25:52 -07:00
Blake Harnden
da946f1f56 removing builtins imports 2019-10-17 15:02:24 -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
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
b4bc9c23a3 updated test_links to avoid running a system command and the need to use iperf/ping 2019-09-10 21:33:35 -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
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
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
bharnden
7a0edd5927 fixed bad logic introduced into interface setparams, fixed grpc edit link test 2019-06-02 22:20:00 -07:00
bharnden
a8061b811d grpc added get node terminal, updated corefx to leverage get node terminal to launch local terminals on double click 2019-05-31 22:20:19 -07:00
Blake Harnden
4c1d7bfb22 grpc added simple throughputs stream events 2019-05-31 14:19:23 -07:00
Blake Harnden
1890db5991 added grpc for a node command and fixed grpc unit tests 2019-05-31 11:46:47 -07:00
Blake Harnden
df3a8980ed grpc merged multiple event request/handlers into a singular event request for a session, which will return all events 2019-05-30 13:07:45 -07:00
Blake Harnden
2ed2b4a879 encapsulated grpc enums within messages to help provide better namespace separation due to python/c code generation 2019-05-30 08:57:24 -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
864c7b69a1 updated Queue and ConfigParser to use 2/3 compatible imports 2019-05-05 21:49:42 -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
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
73bc56e4c3 renamed session.session_id to session.id 2019-04-08 10:39:36 -07:00
bharnden
5c47b0cc43 grpc updated client methods to use proto objects directly, added more docs 2019-03-29 22:12:34 -07:00
bharnden
5161e4812a grpc updates to use proto values from client, rather than trying to squeeze in existing data types 2019-03-28 21:47:30 -07:00
bharnden
51d93db586 grpc updated get_node method for server and added some more test cases 2019-03-25 22:00:08 -07:00
bharnden
fdc0362ba5 updated proto enums to be prefixed with a contextual name, since they all derive from the module directly 2019-03-25 17:16:54 -07:00
bharnden
7299abd64d grpc added service/events rpc tests 2019-03-25 14:03:04 -07:00
bharnden
b15e525cc1 grpc added mobility tests 2019-03-25 12:59:07 -07:00
bharnden
03c221efa9 grpc added all emane rpc tests 2019-03-25 11:52:16 -07:00
bharnden
d880960cf7 grpc added get/set emane config test, fixed logic for setting emane/session configs in grpc server 2019-03-24 14:13:04 -07:00
bharnden
6d79014aad grpc added wlan rpc tests 2019-03-24 13:48:27 -07:00
bharnden
96d38e0b40 grpc updated create link/node to use the verbage add, to align with the actual python EmuSession class 2019-03-24 13:14:39 -07:00
bharnden
6f428bd68a grpc added link tests, fixed client mac conversion 2019-03-24 13:04:18 -07:00
bharnden
782b9d5ce6 grpc added hook and xml rpc tests 2019-03-22 21:44:16 -07:00
bharnden
01979d53ec grpc added node rpc tests 2019-03-22 21:20:37 -07:00
bharnden
c6cfe1a8f4 grpc update to get session and get sessions 2019-03-22 14:02:18 -07:00
bharnden
1f3e72e014 grpc create session can now specify id, updated all session proto to use SessionState for state, added suite for session testing for grpc 2019-03-22 13:45:53 -07:00
bharnden
3498a59ed5 grpc added initial tests and fixture to support them 2019-03-21 23:29:26 -07:00