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
|
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
|
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
|
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
|
ba8b16ec34
|
added some type hinting with tests to help in refactoring in the future
|
2020-05-24 23:37:38 -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
|
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
|
1e8d1ecd9f
|
changes for sessions to use EventTypes for state/hooks directly
|
2020-03-06 22:35:23 -08:00 |
|
Blake Harnden
|
fd10663323
|
changes to replaces known usages of ipaddress, leaving only ipaddress.MacAddress
|
2020-01-08 13:25:00 -08:00 |
|
Blake Harnden
|
45a23a6c14
|
updated usage of time.time to time.monotonic or time.perf_counter due to time.time possibly rolling backwards
|
2019-12-06 09:42:41 -08:00 |
|
Blake Harnden
|
79dfbaa3ec
|
switched session.metadata to just be a standard dict, fixed shutdown service issue during session.data_collect
|
2019-10-30 13:27:12 -07:00 |
|
bharnden
|
fff281a452
|
removed master from corehandlers and session, since it will not be needed any more
|
2019-10-25 22:06:30 -07:00 |
|
bharnden
|
5c12651e4e
|
updates to session.clear to clear out all configuration data as well, updated session.shutdown to use clear, updated tests to account for this
|
2019-10-24 13:05:02 -07:00 |
|
bharnden
|
6045908a14
|
cleanup for test fixtures to help simplify test_gui fixture setup
|
2019-10-24 10:58:26 -07:00 |
|
bharnden
|
ade1d980a8
|
updates to speed up tests
|
2019-10-23 23:15:19 -07:00 |
|
Blake Harnden
|
79cde8cd59
|
further f string updates
|
2019-10-17 19:25:52 -07:00 |
|
Blake Harnden
|
e94a6d1afa
|
separated distributed session logic into its own class to help reduce session.py size as it is already too big
|
2019-10-17 11:10:59 -07:00 |
|
Blake Harnden
|
b2d2705849
|
removed broker from session, updated most places using broker to use alternative logic to compensate where needed
|
2019-10-15 14:13:42 -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 |
|
Blake Harnden
|
ca10ef4e9e
|
finished initial pass on adding tests to help run through and validate tlv message handling
|
2019-06-25 12:29:46 -07:00 |
|
Blake Harnden
|
4f4605163f
|
fixed issues executing xml from gui, added more tests for testing message handling
|
2019-06-24 15:49:12 -07:00 |
|
bharnden
|
588a0932d3
|
beginning to add some tests to help verify handling different tlv messages, added delete link logic for net to node and node to net
|
2019-06-21 23:12:18 -07:00 |
|
bharnden
|
feebd8704f
|
updated all print calls to use print() method for 2/3
|
2019-05-05 16:52:55 -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 |
|
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
|
f5bff494c7
|
refactored new apis to sit under the emulator module, also reverted moving files under a legacy module to help avoid breaking code using core internals for 5.0+
|
2018-05-01 10:40:25 -07:00 |
|
Blake J. Harnden
|
44781d0aec
|
set default logging to INFO, cleaned up logging to help isolate debug type messages to DEBUG level, fixed issue with shutdown
|
2018-04-27 12:09:31 -07:00 |
|
Blake J. Harnden
|
ba3669712a
|
updated gui test to working order, moved distributed test to a sub directory to be ignored by default, added pytest.ini to ignore distributed directory by default
|
2018-04-27 10:12:01 -07:00 |
|
Blake J. Harnden
|
8644e9d61e
|
moved future core server and handler code to act as the default core-daemon, updated future examples and tests to leverage new api
|
2018-04-25 16:33:58 -07:00 |
|
Blake J. Harnden
|
bc1a24e880
|
fixed some refactoring issues with xen and bsd code
|
2017-08-03 09:48:26 -07:00 |
|
Blake J. Harnden
|
4d21314798
|
fixed renaming issue with sessionid to session_id
|
2017-08-02 12:25:57 -07:00 |
|
Blake J. Harnden
|
62e8ff8731
|
fixed one small sdt renaming issue, updated a gui test case
|
2017-07-26 08:48:59 -07:00 |
|
Blake J. Harnden
|
dced47b588
|
fixed emane version checks, fixed emane config message handling, added initial emane test cases
|
2017-07-10 09:25:33 -07:00 |
|
Blake J. Harnden
|
8ade6f4f02
|
fixed bug with unpacking objects introduced while cleaning things up, added a basic gui broker test that depends on an existing daemon running
|
2017-05-03 15:29:15 -07:00 |
|