Commit graph

156 commits

Author SHA1 Message Date
bharnden
de936ea315 added hook creation and set location to grpc.StartSession 2019-10-29 12:35:07 -07:00
Blake Harnden
934ea96558 changes to support a simpler start/stop session API 2019-10-28 15:18:57 -07:00
bharnden
945f3cce5b removed session.create_emane_network, removed unused node types 2019-10-22 21:27:31 -07:00
Blake Harnden
f39b7e9f96 updated open_xml functionality, grpc open_xml can optionally start now, added opened files to grpc get_sessions 2019-10-22 12:08:55 -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
233ca92fd2 update grpc to allow for configuring and created distributed nodes 2019-10-21 12:51:38 -07:00
Blake Harnden
5d5ffb70c2 update to grpc edit_node to allow editing icon and broadcasting a node update for all to listen to a change 2019-10-17 13:00:20 -07:00
bharnden
4e4fcddd00 added grpc api for creating emane link/unlink messages, which will be sent to the gui for being added/removed 2019-10-12 08:56:39 -07:00
Blake Harnden
bcd2584eb8 grpc - add rpc to get local non-core interfaces 2019-07-12 13:02:15 -07:00
Blake Harnden
0d24ca3387 grpc support for docker/lxc 2019-07-10 13:58:27 -07:00
bharnden
ae5d718737 revert loss pack to using floats in all related places 2019-07-03 23:09:55 -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
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
ecc63f4abb updates to support 2/3 along with not using vcmd c extension 2019-06-02 19:06:25 -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
b3aaa870eb Merge branch 'develop' of https://github.com/coreemu/core into develop 2019-05-28 14:33:10 -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
a593289f1b initial commit supporting converting corefx to using grpc from previous rest client 2019-05-25 10:16:50 -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
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
0677a5c718 updated makefiles to build/clean protobuf files 2019-03-26 08:58:29 -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
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
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
6b8857328e grpc updated and dixed exception events to working order 2019-03-19 21:26:06 -07:00
bharnden
e282b3b8f8 grpc added link events 2019-03-18 21:46:27 -07:00
bharnden
8ee1db5dc8 grpc added config, exception, and file event streams 2019-03-17 23:29:38 -07:00
bharnden
a07b0c8919 grpc added mobility get configs, get config, set config, and action 2019-03-17 15:28:51 -07:00
bharnden
9185c6b8eb grpc added set node service, set node service file, set session options 2019-03-16 21:40:15 -07:00
bharnden
a62a03e6b9 grpc added node service file and service action 2019-03-16 20:53:26 -07:00
bharnden
f24376d66c grpc added node/session event streaming requests 2019-03-16 13:48:25 -07:00
bharnden
9c973249e8 grpc added get wlan and set wlan config 2019-03-16 12:48:37 -07:00
bharnden
5d72b6af26 grpc added get hooks and add hook 2019-03-16 12:33:24 -07:00
bharnden
8559b425ee grpc added set emane and emane model configs 2019-03-15 22:03:37 -07:00
bharnden
641427671c grpc added get emane models, model config, and model configs 2019-03-15 21:38:29 -07:00
bharnden
5753c91906 grpc added get/set service defaults and get node service data 2019-03-14 22:33:10 -07:00
bharnden
0c20e76630 grpc added save/open xml, fixed session.get_node_count(), fixed issue with grpc get session options 2019-03-02 13:44:27 -08:00
bharnden
44f70d0c2e grpc added get node links, get services, get emane config 2019-03-01 22:14:16 -08:00
bharnden
460e5c04d0 grpc added get/delete node, create/edit/delete link apis 2019-02-26 14:34:52 -08:00
bharnden
6016152490 added grpc create/edit node calls 2019-02-25 22:45:57 -08:00
bharnden
ad7522b5bc grpc added delete session and set session state apis 2019-02-24 08:15:33 -08:00
bharnden
fcff9e4551 grpc added create session and set session location 2019-02-24 07:44:41 -08:00
bharnden
e819b706bc grpc support for get session options and location 2019-02-20 21:19:35 -08:00
bharnden
b573eb641e grpc updates to provide link data within a session query 2019-02-19 23:32:04 -08:00
bharnden
7aed803aae added grpc api to core-daemon, added get sessions and get session rpc calls 2019-02-18 22:54:14 -08:00
bharnden
e72f133488 added proto makefile to repo 2019-02-17 23:42:57 -08:00
bharnden
0a445f2706 initial files to support grpc server/client 2019-02-17 23:41:30 -08:00