Blake Harnden
|
aa5bb08a16
|
grpc: fixed issue for start session not attempting to create directory when using definition
|
2021-07-14 16:39:18 -07:00 |
|
Blake Harnden
|
54ac807a4f
|
grpc: changes to support nodes containing configuration data, allowing for node creation with configs and querying nodes with their configs
|
2021-07-12 10:29:53 -07:00 |
|
Blake Harnden
|
8d5c3bd212
|
grpc: update grpc call for get emane event channel to take in a nem id, since channels may now be unique per nem
|
2021-05-25 10:52:50 -07:00 |
|
Blake Harnden
|
5bc3345d37
|
adjustments to remove global emane configuration, platform configurations can now be configured per nem, retrieve emane specific core settings from session options
|
2021-05-19 20:44:00 -07:00 |
|
Blake Harnden
|
50e3aadc6b
|
daemon: refactoring to load emane models one time during startup, updates to account for this change
|
2021-05-07 10:40:18 -07:00 |
|
Blake Harnden
|
53ae6ac784
|
grpc: updated create session to return a session object with default values, avoids scripts needing to create and then join, can just create and leverage the returned object
|
2021-05-06 15:06:16 -07:00 |
|
Blake Harnden
|
598cb0f10d
|
grpc: removed set session state, states are a by product of actions done within a session and probably best to automate that instead of relying on clients responsibly setting proper values
|
2021-05-06 11:39:18 -07:00 |
|
Blake Harnden
|
d40435fa68
|
grpc: removed add session server, achieved with start session providing servers for session
|
2021-05-06 10:56:51 -07:00 |
|
Blake Harnden
|
8108db545a
|
grpc: combined get services and get config services into new get config call, that can be used to get all daemon configuration information
|
2021-05-04 16:58:51 -07:00 |
|
Blake Harnden
|
42dc56c56b
|
grpc: removed set node config service, achieved with start session
|
2021-05-04 15:57:53 -07:00 |
|
Blake Harnden
|
805be3f809
|
grpc: removed get node config services, achieved with get node or get session
|
2021-05-04 15:42:32 -07:00 |
|
Blake Harnden
|
e299d3dd16
|
grpc: removed set node service file, achieved with start session, removed get node config service configs, achieved with get session
|
2021-05-04 15:02:23 -07:00 |
|
Blake Harnden
|
3e2cb86b6b
|
grpc: removed set node service, achieved with start session
|
2021-05-04 14:55:12 -07:00 |
|
Blake Harnden
|
c574ace9a0
|
grpc: removed get node service configs, achieved with get session
|
2021-05-04 14:40:17 -07:00 |
|
Blake Harnden
|
9205fe1764
|
grpc: removed get mobility configs, achieved with get session
|
2021-05-04 14:27:46 -07:00 |
|
Blake Harnden
|
618d89b8db
|
grpc: removed get model configs, can be achieved with get session
|
2021-05-04 13:51:17 -07:00 |
|
Blake Harnden
|
639b29a134
|
grpc: removed get wlan configs, achieved with get session
|
2021-05-04 13:36:10 -07:00 |
|
Blake Harnden
|
15acdaa40f
|
grpc: removed old client, refactored wrapped client to be the new standard client, removed old client tests, updated documentation
|
2021-05-04 13:29:22 -07:00 |
|
Blake Harnden
|
917c45e70b
|
grpc: updates to wrapper classes to help write client code in a more simple way using the consolidated api, updated examples to used the wrapped client
|
2021-05-03 15:25:18 -07:00 |
|
Blake Harnden
|
38e162aec5
|
grpc: removed get_node_links, added links to get_node instead
|
2021-05-02 20:58:24 -07:00 |
|
Blake Harnden
|
f271b0289e
|
grpc: removed add hook and get gooks, can be achieved with get session and start session
|
2021-04-27 21:48:20 -07:00 |
|
Blake Harnden
|
634341dd03
|
grpc: removed set session metadata, now accomplished with start session
|
2021-04-27 21:08:58 -07:00 |
|
Blake Harnden
|
a217c2445c
|
grpc: removed set session location, achieved with start session
|
2021-04-27 10:59:10 -07:00 |
|
Blake Harnden
|
e0fe86bcb2
|
grpc: updated start_session to have a definition option, to allow saving xml files and getting service configurations, without fully starting a session
|
2021-04-27 10:49:52 -07:00 |
|
Blake Harnden
|
f891974e3a
|
grpc: removed set session user, added to start session
|
2021-04-24 22:35:45 -07:00 |
|
Blake Harnden
|
d8a3f9e78c
|
grpc: removed set/get sessopm options, removed get session metadata/location, can be done with get/start session
|
2021-04-24 22:10:28 -07:00 |
|
Blake Harnden
|
d4c008e564
|
grpc: removed get/set session options, now accomplished through get_session and start_session
|
2021-04-24 21:37:00 -07:00 |
|
Blake Harnden
|
3d356272f1
|
pygui: adjust service configuration to not use grpc calls, data is saved and provided in start session call
|
2021-04-23 22:51:35 -07:00 |
|
Blake Harnden
|
7938379e6d
|
grpc: added session options to session wrapped object, updated get_session and start_session to utilize this change, updated pygui to leverage as well
|
2021-04-22 16:12:33 -07:00 |
|
Blake Harnden
|
69652ac577
|
updates to python based logging to use module named loggers, updated logging config file to align with these changes
|
2021-04-21 21:09:35 -07:00 |
|
Blake Harnden
|
44f81391c4
|
daemon: added grpc wrapped client tests, added new wrapped class ServiceFileConfig to consolidate associated data for its purpose
|
2021-04-01 13:37:19 -07:00 |
|
Blake Harnden
|
f7f54d9aa6
|
pygui: updates to leveraged wrapped grpc client for proper type hinting without manual conversion
|
2021-03-26 10:43:45 -07:00 |
|
Blake Harnden
|
be0e0175a2
|
daemon: refactored node.nodedir to node.directory
|
2021-03-19 17:01:22 -07:00 |
|
Blake Harnden
|
a2148c6923
|
daemon: refactored session.session_dir to session.directory
|
2021-03-19 16:56:54 -07:00 |
|
Blake Harnden
|
1c970bbe00
|
daemon: refactoring to remove usage of os.path where possible and pathlib.Path instead
|
2021-03-19 16:54:24 -07:00 |
|
Blake Harnden
|
c2a40dbb6b
|
daemon: removed usages of getattr and hasattr where possible
|
2021-01-12 21:30:48 -08:00 |
|
Blake Harnden
|
b01249bb4e
|
added canvas to protobuf node messages, added node canvas id to grpc server handling, updating pygui to draw canvases based on joined session and add nodes to respective canvas
|
2020-12-12 23:17:43 -08:00 |
|
Blake Harnden
|
d824fbd1c6
|
grpc: fixed creating session directory if need be when starting session, before setting config state, avoids path not existing error
|
2020-12-09 10:05:13 -08:00 |
|
Blake Harnden
|
a23ef7d603
|
daemon: properly go through the data collect state for grpc session shutdown, also check and avoid repeating data collect or shutdown when already past those states
|
2020-12-05 09:01:53 -08:00 |
|
Blake Harnden
|
a35e91aeba
|
daemon: added link option to configure buffer, added support in pygui to allow configuring buffer
|
2020-11-30 16:49:44 -08:00 |
|
Blake Harnden
|
0306f77147
|
daemon: adjustments for shutdown behavior to avoid issues when shutting down, when already shutdown for the various different cases, but to also make sure the pycore directory is removed
|
2020-09-24 14:17:15 -07:00 |
|
Blake Harnden
|
828a68a0cd
|
docs: pass on improving and providing doc based examples for common basic use cases, fixed issue with grpc defaulting session refscale to a very large number
|
2020-09-11 23:49:26 -07:00 |
|
Blake Harnden
|
82d87445b6
|
grpc: added some convenience functions for move node streaming in wrapped client
|
2020-09-05 10:34:08 -07:00 |
|
Blake Harnden
|
98a51ce17d
|
grpc: implemented wrapper stream classes for using the wrapped client
|
2020-09-05 10:19:44 -07:00 |
|
Blake Harnden
|
c4a724ee10
|
daemon: added more wrapping classes, updated grpc.clientw to leverage wrapped classes for listened events
|
2020-09-02 12:08:21 -07:00 |
|
Blake Harnden
|
a80fda11f5
|
daemon: abstracted out iface specific configuration generation and parsing to common utilities, to avoid duplicate logic and potential differences that may arise
|
2020-09-02 09:44:45 -07:00 |
|
Blake Harnden
|
570ad9522c
|
initial code for a wrapped grpc client, fix for pygui node emane config, fix for xml reading emane configs specific to nodes/interfaces, fix for adding emane nodes and setting the emane model properly
|
2020-09-01 16:19:01 -07:00 |
|
Blake Harnden
|
b0bac1d319
|
daemon: moved grpc wrapper classes to core.grpc.wrappers
|
2020-08-27 11:02:02 -07:00 |
|
Blake Harnden
|
f687115522
|
bump grpc worker limit to 1000, this does not mean it is a good idea to have this many connections, but at least helps allow trade offs for how to approach a problem
|
2020-08-20 16:18:20 -07:00 |
|
Blake Harnden
|
b98ff0f744
|
grpc: fixed issue with grpc throughputs checking session id matches using bad values
|
2020-08-10 12:46:21 -07:00 |
|