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
|
5e2ca0f549
|
daemon: refactored how to get required commands, added usage of this func for validating distributed servers when added
|
2020-07-18 11:56:48 -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
|
f921fa45c5
|
grpc: updated client methods to allow passing source for add_link/delete_link, None by default
|
2020-06-26 14:44:13 -07:00 |
|
Blake Harnden
|
aebbff8c22
|
grpc/pygui: shifted source field in node events to base event message to apply to all events, updated add_link/delete_link rpc calls to broadcast events, updated pygui to handle these events
|
2020-06-26 14:39:12 -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
|
8f19ad057c
|
daemon: cleaned up requirement check, updated github workflow to modify correct file
|
2020-06-23 09:24:40 -07:00 |
|
Blake Harnden
|
e0c9f9c832
|
daemon: moved executable check to CoreEmu and separated them into their own module core.executables
|
2020-06-23 09:11:37 -07:00 |
|
Blake Harnden
|
9e4429fbbc
|
daemon: refactored InterfaceData.get_addresses to InterfaceData.get_ips
|
2020-06-19 11:11: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
|
3d7d775bfb
|
daemon: removed unused variables from LinkOptions
|
2020-06-18 00:15:44 -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
|
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
|
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
|
83f66d33f7
|
merged latest from develop
|
2020-06-13 18:07:21 -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
|
178d12b327
|
daemon: updated variables for InterfaceData to be denote data to make it more clear
|
2020-06-12 17:32:55 -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
|
76305f7257
|
converted usages of per to loss
|
2020-06-12 12:49:53 -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
|
a79ba1b8d3
|
daemon: added type hints to CoreEmu
|
2020-06-09 19:48:29 -07:00 |
|
Blake Harnden
|
d71d84fae7
|
daemon: updated IpPrefixes and InterfaceHelper to remove duplicate code
|
2020-06-09 18:40:50 -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 |
|