Commit graph

1769 commits

Author SHA1 Message Date
Blake Harnden
e7351b594d gui: updated core.gui to not use deprecated type hinting 2023-04-13 15:53:16 -07:00
Blake Harnden
69f05a6712 daemon: updated top level core modules from using deprecated type hinting 2023-04-13 15:48:02 -07:00
Blake Harnden
921bfdf527 daemon: updated core.services to avoid using deprecated type hinting, also updated string formatting to f strings 2023-04-13 15:39:40 -07:00
Blake Harnden
7f58224f43 daemon: updated core.nodes to avoid using deprecated type hinting 2023-04-13 13:32:23 -07:00
Blake Harnden
f9505b3173 daemon: updated core.scripts and core.xml to avoid using deprecated type hinting 2023-04-13 13:27:22 -07:00
Blake Harnden
7ea950f8ec daemon: updated core.location and core.plugins to avoid using deprecated type hinting 2023-04-13 12:29:16 -07:00
Blake Harnden
8abf2561bf daemon: updated core.emulator to avoid using deprecated type hinting 2023-04-13 12:23:44 -07:00
Blake Harnden
4c222d1a7a daemon: updated core.emane to avoid using deprecated type hinting 2023-04-13 12:18:24 -07:00
Blake Harnden
3d722a7721 daemon: updating core.configservice and core.configservices to avoid deprecated type hinting 2023-04-13 11:58:58 -07:00
Blake Harnden
e770bcd47c daemon: update deprecated typing for core.api 2023-04-13 11:22:37 -07:00
Blake Harnden
6ff2abf0b8 daemon: fixed issue for CoreError messages in new hooks module, updated new modules to all use non deprecated type hinting 2023-04-12 16:53:08 -07:00
Blake Harnden
da3cebe1cd daemon: added refactored cleaned up logic for future handling of broadcasting data 2023-04-12 16:14:58 -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
cdc8c7360d daemon: added refactored cleaned up code to use for hooks 2023-04-12 11:58:25 -07:00
Blake Harnden
a6a09d9e56 daemon: added new cleaned up controlnet code, for future use 2023-04-11 12:45:50 -07:00
Blake Harnden
cafbb15b1e daemon: small cleanup in distributed start 2023-04-11 10:09:40 -07:00
Blake Harnden
2eb29525de gui: fix issue deleting nodes/links attached to rj45 nodes 2023-04-10 08:13:01 -07:00
Blake Harnden
03fe74c195 gui: fix issue when joining a session with an rj45 node and assigning an interface, whichw ill later cause an error when configuring the rj45 node 2023-03-28 12:37:25 -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
d4997bbc04 daemon: fixed p2p nodes to disable mac learning, with new usage to tie together all wired links, this feature is not desired 2023-02-03 15:05:03 -08:00
Blake Harnden
4f2e20a0a0 daemon: updated usage of sysctl to properly leverage utility function to correct device name 2023-02-01 08:40:23 -08:00
Blake Harnden
5abbc1680a daemon: improve node boot logging to display config and legacy services 2023-01-24 09:17:15 -08:00
Blake Harnden
c91facd6e3 daemon: fix to properly check for setting broadcast support 2023-01-24 08:28:25 -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
f422d05215 gui: fixed issue not displaying emane configs that are generally configured for a node, was attempting only interface specific or emane net fallback 2022-12-09 10:29:41 -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
a84e689478 updated emane demo example files provided by gui to align with latest changes 2022-12-05 10:54:34 -08:00
Blake Harnden
a787f46719 daemon: fixed issue when setting default wlan config for a wlan node, using the session id instead of the node id 2022-12-05 10:26:46 -08:00
Blake Harnden
898a4f7c84 gui: updated custom nodes to use config services and updated labels to reflect that 2022-10-14 21:40:40 -07:00
Blake Harnden
8e2593c9e0 gui: fixed error related to finalizing linked nodes due to recent throughput correction 2022-10-14 10:57:00 -07:00
Blake Harnden
e0a21fb099 gui: improved throughputs start/stop to coincide with session start and stop based on a tracked variable 2022-10-12 20:53:59 -07: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
e25d1c72b3 daemon: fixed bad config generation for bgp config service 2022-09-13 12:41:24 -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
d045fc0d51 daemon: removed session state file, information should be available through grpc if needed 2022-09-09 14:22:30 -07:00
Blake Harnden
e56d93f0fe daemon: removed generation of the session nodes file, this information should be available through grpc 2022-08-31 17:03:31 -07:00
bharnden
5202b2fa04
Merge pull request #700 from coreemu/enhancement/opt-core
Enhancement/opt core
2022-08-30 12:08:28 -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
fcf6f30302 install: updates to support building deb/rpm packages that contain python wheels and install core from a single file, updates to core to install scripts by way of python directly 2022-07-27 16:00:10 -07:00
Blake Harnden
3c28ea373a daemon: adjustments to fix terminal command string generation for docker/lxd nodes to account for being on a distributed server 2022-06-10 14:53:49 -07:00
Blake Harnden
9c69881aad daemon: updates to expose node.create_cmd and not be private, added utility functions for running multiple commands on multiple nodes more efficiently 2022-06-10 14:23:06 -07:00
Blake Harnden
60a48c7084 daemon: update node commands to make use of shlex.quote for shell=True commands 2022-06-10 12:12:25 -07:00
Blake Harnden
9c265ab283 daemon: updates to change hostname settings to replace _ to - due to _ being an invalid character 2022-06-10 10:01:48 -07:00
Blake Harnden
9991942e7b daemon: cleanup code for lxd based nodes and properly implement command exectution 2022-06-10 09:20:49 -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
e5d6299f0a daemon: fixed error in requirements check and sorted executable definitions 2022-06-01 11:12:20 -07:00