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 |
|
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
|
7d2034df71
|
daemon: updated NodeOptions to leverage dataclass
|
2020-06-09 10:45:18 -07:00 |
|
Blake Harnden
|
b5e53e573a
|
daemon: LinkOptions now leverage dataclass and has type hinting, improve test_gui type hinting
|
2020-06-09 09:12:31 -07:00 |
|
Blake Harnden
|
18044f9474
|
daemon: cleaned up InterfaceData class, it now leverages dataclass, removed extra bloat and no longer requires parameters as they are optional
|
2020-06-09 08:48:18 -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 |
|
Blake Harnden
|
82c33345be
|
merged latest from develop
|
2020-05-29 23:47:31 -07:00 |
|
Blake Harnden
|
73a5567084
|
added network policy enum to avoid string usage
|
2020-05-29 23:22:21 -07:00 |
|
Blake Harnden
|
b034ba6cc3
|
turned transport type usages of raw and virtual across the board to an enumerated type
|
2020-05-29 22:48:00 -07:00 |
|
Blake Harnden
|
8ad3f7961a
|
renamed netclient create_interface to set_interface_master to better describe its purpose
|
2020-05-29 22:07:50 -07:00 |
|
Blake Harnden
|
7e4ef0b280
|
changes to make rj45 maintain the interface information, instead of trying to be 2 classes at once
|
2020-05-25 23:18:20 -07:00 |
|
Blake Harnden
|
f95a8113c9
|
added type hinting to nodes/network.py class variables
|
2020-05-25 11:17:28 -07:00 |
|
Blake Harnden
|
26b0868f65
|
removed devname from linkconfig as the only usage was of it was using a parametr that was already being passed in
|
2020-05-23 00:00:40 -07:00 |
|
Blake Harnden
|
dd13bc8379
|
moved linkconfig to CoreNetworkBase and made linkconfig defined the same across the board
|
2020-05-22 23:44:10 -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
|
4b6ba90331
|
fixed bad type hint for EventData
|
2020-05-20 23:27:17 -07:00 |
|