Blake Harnden
|
2e3e085522
|
daemon: adjustments to revamp how core nodes are created in session.add_node, nodes now provide a create_options function for node specific options that are type hinted
|
2022-05-25 10:51:42 -07:00 |
|
Blake Harnden
|
8ba169c758
|
daemon: fixed naming issues with wireless/emane model attributes, fixed issue with emane controlnet updown script
|
2022-05-09 21:11:14 -07:00 |
|
Blake Harnden
|
2ab2c27d49
|
daemon/test: improved MoveNodesRequest to be hashable using dataclass itself, fixed grpc test not properly using a wrapped MoveNodesRequest object
|
2022-04-28 23:20:17 -07:00 |
|
Blake Harnden
|
5ee561b210
|
daemon: fixed sdt icons due to legacy gui removal, updated node.type to node.model to avoid variables with the same names with different meanings
|
2022-04-05 13:39:57 -07:00 |
|
Blake Harnden
|
440c06c040
|
daemon: updates to refactor and clean up SessionConfig to contain its own logic
|
2022-04-04 15:13:31 -07:00 |
|
Blake Harnden
|
d83bfed608
|
merged latest updates from develop
|
2022-03-22 10:03:03 -07:00 |
|
Blake Harnden
|
cd7f1a641e
|
daemon: initial pass to revamp how node linking and link management is done, provides a consistent way to link all wired nodes and allows them to be configured for tc for the same behavior across the board
|
2022-03-17 15:28:38 -07:00 |
|
Blake Harnden
|
c8a589ef76
|
daemon: removing python tlv related code and tests related to it
|
2022-03-08 14:18:47 -08:00 |
|
Blake Harnden
|
8f89488fd5
|
grpc: added config service actions and update the gui to leverage them as the default for node context menus of running nodes
|
2022-01-11 16:29:55 -08:00 |
|
Blake Harnden
|
b96dc621cd
|
grpc: refactoring for editing/moving nodes, they are now two separate processes, with specific logic to carry each out
|
2021-08-27 16:58:44 -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
|
ad09bd5504
|
initial changes to mark older style services as deprecated and make configurable services the defaults for the python gui, added attribute to still allow supporting the legacy gui for time being and logic to compensate
|
2021-05-07 13:10:05 -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
|
7e6b87101b
|
updated grpc wrapper client test to be just the grpc client test
|
2021-05-04 17:02:48 -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
|
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
|
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
|
ca2b1c9e4c
|
daemon: refactored all_link_data to links
|
2020-06-18 21:33:28 -07:00 |
|
Blake Harnden
|
ecc3eb1c89
|
daemon: refactored NodeData to reference a node instead of replicating fields as an intermediate passthrough, removed data() functions from nodes due to this change
|
2020-06-18 09:06:31 -07:00 |
|
Blake Harnden
|
a29a7a5582
|
refactored LinkOptions to be used within LinkData, instead of duplicating data, removed session from LinkOptions and LinkData
|
2020-06-16 14:18:19 -07:00 |
|
Blake Harnden
|
eeca33e722
|
combined core.emulator.data and core.emulator.emudata, updated LinkData to leverage InterfaceData, instead of repeated interface fields, removed session from LinkData and LinkOptions
|
2020-06-16 12:50:24 -07:00 |
|
Blake Harnden
|
0725199d6d
|
initial sweeping changes to call all usages of various interface related variables and functions (netif, interface, if, ifc, etc) to use a consistent name iface
|
2020-06-16 09:30:16 -07:00 |
|
Blake Harnden
|
23d957679e
|
daemon: Session cleanup, removed unused functions, used context managers for writing files, made variables used externally no longer private
|
2020-06-12 20:22:51 -07:00 |
|
Blake Harnden
|
876699e8ef
|
variable/grpc cleanup to rename everything using spelt out numbers instead of actual numbers
|
2020-06-12 16:52:41 -07:00 |
|
Blake Harnden
|
7d2034df71
|
daemon: updated NodeOptions to leverage dataclass
|
2020-06-09 10:45:18 -07:00 |
|
Blake Harnden
|
1884103cb4
|
grpc: added call to stream node movements using geo/xy and tests to validate usage, fixed potential exception when not setting session geo ref and using conversions
|
2020-06-03 08:47:36 -07:00 |
|
Blake Harnden
|
4ab415e37d
|
grpc: updated node events to contain geo data when present
|
2020-05-28 16:12:11 -07:00 |
|
Blake Harnden
|
ba8b16ec34
|
added some type hinting with tests to help in refactoring in the future
|
2020-05-24 23:37:38 -07:00 |
|
Blake Harnden
|
bcd9e4ceb1
|
fixed session.add_hook to not require a source, since it was not typically used an None was being passed, cleaned up some bad type hinting in related to session.py
|
2020-05-21 00:20:05 -07:00 |
|
Blake Harnden
|
c07766e1eb
|
updated session.add_node to use better type hinting and force usage of classes directly, instead of indirectly through NodeTypes
|
2020-05-20 22:14:03 -07:00 |
|
Blake Harnden
|
d5254e6a91
|
changes to support better type checking for retrieving an arbitrary node from a session, get_node now requires an expected class that the node would be an instance of, if the returned node is not an instance a CoreError is thrown, this also helps editors pick up expected types to account for variable/function usage better as well
|
2020-05-20 14:44:34 -07:00 |
|
Blake Harnden
|
091131fe5c
|
tweak to session.exception to default node_id to None when not provided
|
2020-03-31 16:39:27 -07:00 |
|
Blake Harnden
|
6a41012857
|
updates to break up core.proto into separate logical files
|
2020-03-22 22:57:50 -07:00 |
|
Blake Harnden
|
33bcc24d88
|
cleaned up broadcast_node to use nodes directly
|
2020-03-22 16:38:15 -07:00 |
|
Blake Harnden
|
39499a4ab4
|
moved ConfigShim to being under tlv, updated RegisterTlvs to use enums directly in non tlv code
|
2020-03-22 14:59:42 -07:00 |
|
Blake Harnden
|
7a5a0f34ea
|
broke out tlv specific enums into their own module
|
2020-03-22 14:09:38 -07:00 |
|
Blake Harnden
|
a7790185d4
|
updates to use message flags enum directly
|
2020-03-12 23:12:17 -07:00 |
|
Blake Harnden
|
1e8d1ecd9f
|
changes for sessions to use EventTypes for state/hooks directly
|
2020-03-06 22:35:23 -08:00 |
|
Blake Harnden
|
ebafa228ff
|
added files/directories to grpc set_node_service
|
2020-02-14 13:40:10 -08:00 |
|
Blake Harnden
|
513eaf2b76
|
improved coretk gui alerts to display alert text when selected, fixed merged code for adding a check to cleanup interfaces, updated session.exceptions to use enums directly
|
2019-12-20 10:51:52 -08:00 |
|
Blake Harnden
|
44df926fb9
|
updated events streamed from sessions to include session id for easy identification
|
2019-12-16 12:21:03 -08:00 |
|
Blake Harnden
|
424f69bb15
|
updated grpc throughputs to only check a specific session and verify the data being collected and sent is for that session, fixed data from throughputs being in hex getting converted to int, updated coretk to only run throughputs when enabled, updated grpc streams to return the stream to allow it being canceled
|
2019-12-16 11:14:05 -08:00 |
|
Blake Harnden
|
85521e8c8f
|
added grpc to get current service configurations, fixed bug for core daemon not using custom service configs
|
2019-12-13 18:17:42 -08:00 |
|
Blake Harnden
|
47e087b365
|
fixed unit tests for grpc get emane model configs
|
2019-12-13 15:28:22 -08:00 |
|
Blake Harnden
|
d5b2edb6ab
|
fixed unit tests for broadcasted exceptions to use proper values
|
2019-12-12 21:10:30 -08:00 |
|