Blake Harnden
|
2e3e085522
|
daemon: adjustments to revamp how core nodes are created in session.add_node, nodes now provide a create_options function for node specific options that are type hinted
|
2022-05-25 10:51:42 -07:00 |
|
Blake Harnden
|
cd7f1a641e
|
daemon: initial pass to revamp how node linking and link management is done, provides a consistent way to link all wired nodes and allows them to be configured for tc for the same behavior across the board
|
2022-03-17 15:28:38 -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
|
5b93c2d7ac
|
daemon: added support for link options buffer read/write to xml
|
2020-12-07 22:31:53 -08:00 |
|
Blake Harnden
|
ca2b1c9e4c
|
daemon: refactored all_link_data to links
|
2020-06-18 21:33:28 -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
|
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
|
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
|
ba8b16ec34
|
added some type hinting with tests to help in refactoring in the future
|
2020-05-24 23:37:38 -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
|
124d655dc6
|
fixed issue when sorting hook when saving to xml, due to enum refactoring, updated test case to hit this potential issue in the future
|
2020-05-11 12:41:57 -07:00 |
|
Blake Harnden
|
a7790185d4
|
updates to use message flags enum directly
|
2020-03-12 23:12:17 -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
|
ab0abd65aa
|
modified session.add_node parameter node_options, to just be options
|
2019-10-22 15:31:50 -07:00 |
|
Blake Harnden
|
ce411a07d7
|
removed session.create_wireless_node, can be achieved simply without needing this function
|
2019-10-22 15:13:28 -07:00 |
|
bharnden
|
503fa754a9
|
updates to fail early for required executables that are not in PATH
|
2019-09-27 23:29:15 -07:00 |
|
bharnden
|
3776e1dda7
|
moved emane dependent tests into subdir, moved pytest config into setup.cfg, added CoreError and made use of in session.py
|
2019-09-11 13:12:42 -07:00 |
|
bharnden
|
b4bc9c23a3
|
updated test_links to avoid running a system command and the need to use iperf/ping
|
2019-09-10 21:33:35 -07:00 |
|
bharnden
|
1fc8d647c3
|
added flake8/black, pre-commit integration for flake8/black, and black formatting changes
|
2019-09-10 15:10:24 -07:00 |
|
bharnden
|
d5055f85d3
|
pass over files using isort
|
2019-09-10 14:20:51 -07:00 |
|
bharnden
|
ae5d718737
|
revert loss pack to using floats in all related places
|
2019-07-03 23:09:55 -07:00 |
|
bharnden
|
10df7d35ee
|
fixed saving bidirectional params for ptp networks, storing to xml and loading back into running environment
|
2019-06-08 21:46:07 -07:00 |
|
bharnden
|
191d392c46
|
updated grpc node x,y types, added new grpc session position type, grpc updated link options to use int, fixed corehandlers handling of dup, fixed corexml type handling for link options, updated mobility config types to correlate with link options
|
2019-06-08 16:56:39 -07:00 |
|
bharnden
|
e2f2d9dca0
|
added xml tests for network to network links and verifying saving/loading of link options for network and ptp cases
|
2019-06-08 14:01:26 -07:00 |
|
bharnden
|
66e603906a
|
updates to layout core module packages in a more logical way, including renaming methods from objects to nodes and nodes.objid to nodes.id
|
2019-04-29 23:31:47 -07:00 |
|
bharnden
|
9517740704
|
initial refactor for all variables named objid
|
2019-04-26 22:07:51 -07:00 |
|
bharnden
|
b37eb2fe74
|
updated xml tests and removed unused xml code
|
2018-10-11 21:22:57 -07:00 |
|
bharnden
|
b839482198
|
fixes #197 removes wireless_link_all and updates example
|
2018-10-09 12:46:27 -07:00 |
|
Blake J. Harnden
|
adfa835886
|
added xml hook test
|
2018-07-27 16:31:33 -07:00 |
|
Blake J. Harnden
|
8186f3716c
|
refactored service function names
|
2018-06-22 14:41:06 -07:00 |
|
Blake J. Harnden
|
37517c45f4
|
changed some logging from info to debug, removed startindex and depends from services
|
2018-06-22 08:16:59 -07:00 |
|
Blake J. Harnden
|
e80736061f
|
refactored service interaction use names with a _, and cleanup up some of the CoreServices methods
|
2018-06-15 14:03:27 -07:00 |
|
Blake J. Harnden
|
3a39432fc7
|
refactored configs back to be able to provide instance conifgurations for sessions
|
2018-06-13 11:59:50 -07:00 |
|