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
|
bb3590fbde
|
daemon: fix to correct rj45 link modifications from core-gui failing to include an iface id
|
2021-03-26 10:56:33 -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 |
|
Riley Baxter
|
ad839bbc07
|
Fix session id attribute name in UDP TLV API Handler
|
2020-12-14 13:08:52 -05:00 |
|
Blake Harnden
|
380d411833
|
daemon: updated linkconfig to calculate a limit when bw/delay are present, updated and simplified logic as well, leveraging code from outstanding pull request, updated code to factor in the mtu of the iface being configured
|
2020-10-17 08:18:49 -07:00 |
|
Blake Harnden
|
96dddb687d
|
docs: updated example custom emane model to use type hinting and embedded it into the emane documentation page, daemon: adjustment to correct rj45 not being provided an iface id when deleting a link from core tlv
|
2020-10-11 12:06:35 -07:00 |
|
Blake Harnden
|
f2868a9554
|
daemon: fixed issue where emane global config settings were not being sent to core-gui when joining a session
|
2020-10-05 20:15:55 -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
|
a80fda11f5
|
daemon: abstracted out iface specific configuration generation and parsing to common utilities, to avoid duplicate logic and potential differences that may arise
|
2020-09-02 09:44:45 -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
|
3e41d31c6c
|
daemon: refactored missed LinkTlv INTERFACE_NAME fields to IFACE_NAME to match other refactoring done in 7.0.0 release
|
2020-08-17 20:04:42 -07:00 |
|
Blake Harnden
|
ca2b1c9e4c
|
daemon: refactored all_link_data to links
|
2020-06-18 21:33:28 -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
|
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
|
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
|
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
|
bf1bc511e2
|
removed configuration option for number of for corehandler threads as it cannot properly deal with anything more than 1, updated man pages to current 6.4 versions for now
|
2020-06-05 14:34:19 -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
|
c07766e1eb
|
updated session.add_node to use better type hinting and force usage of classes directly, instead of indirectly through NodeTypes
|
2020-05-20 22:14:03 -07:00 |
|
Blake Harnden
|
d5254e6a91
|
changes to support better type checking for retrieving an arbitrary node from a session, get_node now requires an expected class that the node would be an instance of, if the returned node is not an instance a CoreError is thrown, this also helps editors pick up expected types to account for variable/function usage better as well
|
2020-05-20 14:44:34 -07:00 |
|
Blake Harnden
|
95d3a6ca8c
|
updates to force CoreCommandError to contain string values for stderr and stdout, couple bugfixes in handling bad commands when using execute commands from tlv based api or coresendmsg, also updates to coresendmsg to display everything in lowercase to mimic previous look and feel, however coresendmg will now work regardless of casing to avoid breaking things again
|
2020-05-13 12:01:28 -07:00 |
|
Blake Harnden
|
686026d9f2
|
improved netaddr mac dialect usage to leverage constructor parameter
|
2020-05-01 17:40:53 -07:00 |
|
Blake Harnden
|
f521fe4141
|
fixed issue where actually sending interface names to tcl gui would cause issue, no longer sending link interfave names
|
2020-04-22 00:20:18 -07:00 |
|
Blake Harnden
|
efa5506c80
|
fix issue when tcp handlers has no other clients for a session
|
2020-04-20 15:56:25 -07:00 |
|
Blake Harnden
|
d0c4d4b935
|
fixed issue where the udp handler would no broadcast node/link changes from coresendmsg
|
2020-04-02 21:14:08 -07:00 |
|
Blake Harnden
|
72189a5c28
|
fix configdata issue, since most corehandler code did not account for using flags directly
|
2020-04-01 10:56:09 -07:00 |
|
Blake Harnden
|
091131fe5c
|
tweak to session.exception to default node_id to None when not provided
|
2020-03-31 16:39:27 -07:00 |
|
Blake Harnden
|
3165bddc92
|
updates to allow emane to throw an exception when emane python bindings are not present and emane is attempted to be ran
|
2020-03-31 16:21:04 -07:00 |
|
Blake Harnden
|
8186c62b19
|
switched core emulator data files from using namedtuples to backported dataclasses
|
2020-03-31 09:41:29 -07:00 |
|
Blake Harnden
|
14e708681c
|
small tweak to corehandlers logic
|
2020-03-22 21:08:12 -07:00 |
|
Blake Harnden
|
33bcc24d88
|
cleaned up broadcast_node to use nodes directly
|
2020-03-22 16:38:15 -07:00 |
|
Blake Harnden
|
39499a4ab4
|
moved ConfigShim to being under tlv, updated RegisterTlvs to use enums directly in non tlv code
|
2020-03-22 14:59:42 -07:00 |
|
Blake Harnden
|
7a5a0f34ea
|
broke out tlv specific enums into their own module
|
2020-03-22 14:09:38 -07:00 |
|
Blake Harnden
|
a7790185d4
|
updates to use message flags enum directly
|
2020-03-12 23:12:17 -07:00 |
|
Blake Harnden
|
5cdfd8d8b9
|
updated NodeTypes to be used directly
|
2020-03-10 23:11:37 -07:00 |
|
Blake Harnden
|
f277e96c9a
|
revert logging back to info, removed Rj45Models enum as it was not being used, updated linktypes enum to be used directly
|
2020-03-10 22:48:05 -07:00 |
|
Blake Harnden
|
1e8d1ecd9f
|
changes for sessions to use EventTypes for state/hooks directly
|
2020-03-06 22:35:23 -08:00 |
|
Blake Harnden
|
67da3e5c22
|
changes to move sdt calls internal to core interactions, which allows it to work with both guis
|
2020-02-27 21:39:18 -08:00 |
|