Commit graph

378 commits

Author SHA1 Message Date
Blake Harnden
a80796ac72 daemon: added initial podman node support 2023-06-13 17:00:53 -07:00
Blake Harnden
e0e4b05b7f gui/grpc: updated GetConfigServiceDefaults to require a session and node id, this will allow retrieving data with the context of the associated node 2023-06-08 20:40:49 -07:00
Blake Harnden
81230edac3 daemon: updated utils.cmd to use returncode instead of wait(), removed redundant default encoding value for calls to decode/encode 2023-06-08 14:34:24 -07:00
Blake Harnden
e770bcd47c daemon: update deprecated typing for core.api 2023-04-13 11:22:37 -07:00
Blake Harnden
b6b300207b daemon: added convenience method to check if a session is running, which is used in multiple places, providing a cleaner and easier to read experience 2023-04-12 14:44:51 -07:00
Blake Harnden
d52e0c4547 grpc: adjustment when starting a session to not update session options for empty values, since they may override values set in /etc/core/core.conf 2023-03-21 15:34:13 -07:00
Blake Harnden
3e5c8c894f daemon: fixed issue for LXC nodes and not properly picking up configured image name to use and for writing to xml 2023-02-21 12:06:01 -08:00
Blake Harnden
93272d6ed7 daemon: formatting changes related to updating the python black formatter 2023-02-03 15:53:44 -08:00
Blake Harnden
a3892d6b0e grpc: updated node events to leverage the common grpcutils.get_node_proto so that service and emane config data will be included 2022-12-09 10:56:30 -08:00
Blake Harnden
88a52f6cd2 grpc: fix node events to include the config services on a node, allows dynamically added nodes to show their services within the gui 2022-12-09 09:32:49 -08:00
Blake Harnden
03775c2c3c daemon/grpc: shifted kill signal handling to grpc server who will handle complete shutdown, no longer done by CoreEmu directly 2022-10-12 14:34:24 -07:00
Blake Harnden
b5b7b8cdf9 grpc: updates to fix throughput parsing, accounting for new connection changes, now supports throughput for network to network links 2022-10-12 14:04:48 -07:00
Blake Harnden
281a848bbf grpc: fixed documentation mistake in grpc server 2022-09-13 12:46:56 -07:00
Blake Harnden
88ccd1f194 gui: fixed issue updating preferences, resulting in nodes changing to a default icon 2022-09-10 10:06:40 -07:00
Blake Harnden
e4abefe23b grpc: added nem id and port to interface data returned from GetNode 2022-08-03 17:21:31 -07:00
Blake Harnden
469f8f087a grpc: removed removed api call from client code get_node_links, this information is included in get node 2022-06-08 14:17:13 -07:00
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
aa8ea40ce6 daemon: moved SetQeueue into utils to be leveraged by others, updated MoveNodesStreamer to leverage SetQueue, this will allow a means to stream node movements, but if position changes happen faster than processing, the latest position will override prior pushes and the latest position will be pulled off the queue 2022-04-28 16:12:31 -07:00
Blake Harnden
0b420cfc07 grpc: update to fix sending protobuf format wireless config for joining session 2022-04-19 16:29:33 -07:00
Blake Harnden
62a060588d grpc: update to make sure retrieving session data returns wireless configs for nodes 2022-04-19 16:19:19 -07:00
Blake Harnden
d20cb1ef58 daemon/gui: added support to configure wireless network for position calculations or not 2022-04-14 16:31:14 -07:00
Blake Harnden
bd6f789cef daemon/gui/grpc: added support to retrieve rendered config service files, added support for grpc to access this, and update gui to leverage this call to provide a rendered view of files based on the current scenario, also allows editing the rendered output to use as the input when running the scenario 2022-04-08 22:24:07 -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
559cac18e8 grpc: fixed wireless config client/server 2022-04-01 21:23:58 -07:00
Blake Harnden
9d97699b1f daemon: fixed issue starting session and clearing session options, small cleanup to SessionOptions init 2022-04-01 11:46:28 -07:00
Blake Harnden
84acb82c18 daemon/grpc/gui: further updates for a new working wireless node, added grpc support for control and additions to gui for creation 2022-03-30 21:13:28 -07:00
Blake Harnden
d83bfed608 merged latest updates from develop 2022-03-22 10:03:03 -07:00
bharnden
e3466f0669
Merge pull request #677 from coreemu/enhancement/consistent-linking
Enhancement/consistent linking
2022-03-22 09:47:29 -07:00
Blake Harnden
b941395100 core-cli: updates to add back json output 2022-03-21 20:59:18 -07:00
Blake Harnden
7ed007496c daemon: add linked method to session and grpc support leveraging new linking semantics, update add_link validation check 2022-03-21 15:42:14 -07:00
Blake Harnden
e5e14ad67b grpc: added wlan/emane links to grpc calls to allow knowing initial wireless link state, same as before changes 2022-03-21 09:55:57 -07:00
Blake Harnden
dc9b6adc98 daemon/gui: adjustments to account for network node wired links having proper interface ids, which allow for unique configuration with the new linking semantics 2022-03-18 15:53:13 -07:00
Blake Harnden
3c8f6a9512 daemon: fix convert interface grpc utility to properly get ip4/ip6 addresses 2022-03-17 16:44:12 -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
41db531e97 daemon: removed some unused Session functions and change to make proper use of set_user 2022-03-08 15:50:19 -08:00
Blake Harnden
dde339cc46 daemon: removed bitmap, which is not used 2022-03-08 14:32:01 -08: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
e9b83b0d28 daemon: refactored how interfaces are configured, updated link edits to allow proper bi-directional support for network to network interfaces, improved and added more unit tests for link add/edit/delete 2022-01-25 09:13:39 -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
5ff4447528 daemon: reverting adjustment for executing scripts for corehandler specific logic 2021-11-18 09:19:31 -08:00
Blake Harnden
9da64af79b grpc: added args to execute script to reflect prior gui functionality, updated new and old gui to use the same exact logic for executing scripts for consistency 2021-11-18 09:02:42 -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
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
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