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
|
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
|
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
|
1b025c47da
|
daemon: fixed issue in some cases where core-gui would have a session reach shutdown state, without formally shutting down and removing the session directory
|
2021-03-12 09:51:55 -08:00 |
|
Blake Harnden
|
313768ea56
|
pygui: added logic to sort canvas tabs when joining a session to organize, removed editing a nodes canvas as it currently is not supported by either gui and causes issue in the python gui due to grpc editing of a node and how values are handled
|
2021-01-08 11:22:16 -08:00 |
|
Blake Harnden
|
2e77907d72
|
daemon: removed unused variable in sdt code and update to avoid deadlock when deleting nodes due to sdt trying to leverage the same lock on reconnect
|
2020-12-16 21:32:47 -08:00 |
|
Blake Harnden
|
4ec9ea7b16
|
daemon: small cleanup to boot nodes logic, moved control interface creation to occur before service startup avoiding thread race conditions validating if an interface is for a control network
|
2020-12-16 10:19:17 -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
|
41222f77c2
|
daemon: fix delete link for network to network nodes
|
2020-12-03 22:28:44 -08:00 |
|
Blake Harnden
|
1543dfcc94
|
daemon: removed loading environment log statement until isolated for entire session
|
2020-10-11 08:35:46 -07:00 |
|
bharnden
|
dde74f0927
|
Merge pull request #514 from coreemu/feature/add-session-environment-support
add support for /tmp/pycore.nnnnn/environment file, DRY up env merges
|
2020-11-07 09:38:15 -08:00 |
|
Blake Harnden
|
ea44f1b6e7
|
daemon: updated environment reading to leverage pathlib, also added .coregui user environment as a possibility
|
2020-10-11 08:22:33 -07:00 |
|
Blake Harnden
|
26c2997a42
|
update to controlnet names on host machine to be more obvious to their purpose, ctrl<index>.<short session id>
|
2020-10-10 05:31:26 -07:00 |
|
Jeff Ahrenholz
|
ae336c2cf8
|
add support for /tmp/pycore.nnnnn/environment file, DRY up env merges
|
2020-10-02 09:51:01 -07: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
|
b195891b3b
|
daemon: fix issue where control net bridges were not being removed during shutdown of legacy gui
|
2020-09-24 12:53:02 -07:00 |
|
Blake Harnden
|
d43d854314
|
updated changelog, modified edit node to edit icon/canvas before node position, in case it gets broadcasted out
|
2020-09-15 07:27:07 -07:00 |
|
Blake Harnden
|
ee59d6bf8b
|
daemon: avoid shutting down sessions already in shutdown state, due to exit hooks potentially duplicating effort
|
2020-09-14 09:06:54 -07:00 |
|
Blake Harnden
|
ba028a2b00
|
daemon: just assign emane model, instead of triggering position hooks during non-runtime cases
|
2020-09-01 17:16:05 -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
|
4836ac4f2e
|
daemon: small doc change and fix to corehandlers.py sending back proper data for hooks
|
2020-08-21 14:28:01 -07:00 |
|
Blake Harnden
|
f41ce8e3a6
|
daemon: add core python environment variable to be able to refer to the virtual environment executable
|
2020-08-03 16:04:07 -07:00 |
|
Blake Harnden
|
3bdd6292cd
|
grpc: update GetSession to return all session related information, rather than needing 8 different calls, pygui: updated session protobuf wrapper to handle all new data
|
2020-07-27 18:19:51 -07:00 |
|
Blake Harnden
|
b3a4b1cb10
|
daemon: updates to support running emane on the fly for a newly connected link
|
2020-07-05 21:56:22 -07:00 |
|
Blake Harnden
|
bd48e14348
|
daemon: initial changes to rework logic to start emane for a given interface
|
2020-07-02 15:37:51 -07:00 |
|
Blake Harnden
|
f4224d1b80
|
daemon: updated ovs option to be a formal session option, will now display within gui, save to and be read from xml
|
2020-06-25 22:05:10 -07:00 |
|
Blake Harnden
|
b94d4d3507
|
daemon: updated open xml with start flag to set instantiation state before running instantiate to be consistent with other cases
|
2020-06-25 21:34:45 -07:00 |
|
Blake Harnden
|
20feea8f12
|
daemon: refactored usages of addr to ip and updated functions to align
|
2020-06-19 10:54:58 -07:00 |
|
Blake Harnden
|
d88f3a2535
|
daemon: refactored CoreInterface.addrlist storing strings into CoreInterface.ip4s and ip6s, stored as netaddr.IPNetwork objects
|
2020-06-19 08:50:36 -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
|
b92ff0586a
|
daemon: renamed NodeData.node_type to type, removed NodeData/NodeOptions fields that were not being used for clarity
|
2020-06-17 22:43:13 -07:00 |
|
Blake Harnden
|
351b99aae0
|
daemon: renamed LinkData.link_type to LinkData.type and removed LinkOptions.type to remove redundant information, link_type param added to session.add_link, delete_link, and update_link functions
|
2020-06-16 21:53:12 -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
|
c4c667bb74
|
daemon: removed node.startup from inside constructor, session is now responsible, providing more control and avoiding issues when using super calls where you dont want to start just yet
|
2020-06-14 09:37:58 -07:00 |
|
Blake Harnden
|
8587da0621
|
daemon: moved node instantiation into lock to guarantee id uniqueness, removed node count from environment as it also attmpts to use lock and wouldnt be accurate either
|
2020-06-13 23:50:08 -07:00 |
|
Blake Harnden
|
91f1f7f004
|
daemon: added global type hinting to core.emulator.session and core.api.grpc.server
|
2020-06-13 22:01:07 -07:00 |
|
Blake Harnden
|
5df2e36083
|
daemon: fixed session.add_event parameter to be specific to node_id
|
2020-06-13 21:48:51 -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
|
c64094ac1c
|
daemon: updated session.delete_link to have the interface ids default to none, since only one may need to be provided, updated link tests to account for more cases
|
2020-06-11 19:01:38 -07:00 |
|
Blake Harnden
|
ccf2646c00
|
daemon: refactored add_link,update_link,delete_link to have more specific logic, refactored CoreNodeBase to have newnetif and for it to return the interface created
|
2020-06-11 13:59:29 -07:00 |
|
Blake Harnden
|
452e0720f2
|
daemon: added type hinting to DistributedControll and removed bad logic looking for tunnels during add_link
|
2020-06-09 21:03:19 -07:00 |
|
Blake Harnden
|
32ad8a9b68
|
daemon: added type hinting to Session
|
2020-06-09 20:03:32 -07:00 |
|
Blake Harnden
|
21da670698
|
daemon: renamed link_options to options in both session.add_link and session.update_link
|
2020-06-09 13:46:26 -07:00 |
|
Blake Harnden
|
2965273f58
|
daemon: CoreNetworkBase.linkconfig now takes a LinkOptions object, removed usage of emudata.link_config
|
2020-06-09 13:41:31 -07:00 |
|
Blake Harnden
|
3be15a1316
|
daemon: update CoreNode.newnetif to require parameters, CoreNode.newnetif now depends on being provided InterfaceData
|
2020-06-09 12:42:15 -07:00 |
|
Blake Harnden
|
6ddf1ac9a4
|
removed IdGen class, added simple function to find next valid node id
|
2020-06-09 00:56:34 -07:00 |
|