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
|
a42697ecce
|
daemon: consolidated the code for CoreNode commands into the class itself
|
2022-02-28 22:05:01 -08:00 |
|
Blake Harnden
|
6791269eeb
|
daemon: refactored interfaces to store configuration options as link options, instead of using a dictionary
|
2022-01-25 21:39:52 -08: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
|
ca2b1c9e4c
|
daemon: refactored all_link_data to links
|
2020-06-18 21:33:28 -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
|
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
|
d71d84fae7
|
daemon: updated IpPrefixes and InterfaceHelper to remove duplicate code
|
2020-06-09 18:40:50 -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
|
10fd844397
|
further type hinting for tests
|
2020-05-29 21:41:58 -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
|
a7790185d4
|
updates to use message flags enum directly
|
2020-03-12 23:12:17 -07:00 |
|
bharnden
|
c255625d2f
|
removed skipping TestCore:test_mobility
|
2019-10-24 11:20:38 -07:00 |
|
bharnden
|
ade1d980a8
|
updates to speed up tests
|
2019-10-23 23:15:19 -07: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
|
6006710c32
|
changed net_cmd to host_cmd and node_net_cmd to cmd, for simpler more logical naming
|
2019-10-18 23:28:09 -07:00 |
|
Blake Harnden
|
79cde8cd59
|
further f string updates
|
2019-10-17 19:25:52 -07:00 |
|
Blake Harnden
|
02ef91242e
|
initial changes to convert all commands to be string based for consistency
|
2019-10-11 16:36:57 -07:00 |
|
Blake Harnden
|
69772f993c
|
removed VnodeClient.icmd and VnodeClient.term
|
2019-10-11 13:55:06 -07:00 |
|
Blake Harnden
|
b5d71bab82
|
removed VnodeClient.popen
|
2019-10-11 13:36:00 -07:00 |
|
Blake Harnden
|
4a6d69bb09
|
removing cmd_output function from utils and nodes
|
2019-10-11 09:34:49 -07:00 |
|
Blake Harnden
|
c3d27eb8a5
|
removed utils.cmd and related node functions
|
2019-10-10 23:01:16 -07:00 |
|
Blake Harnden
|
f6cdeb23de
|
changes to update commands to leverage either node_net_cmd/net_cmd
|
2019-10-10 15:25:12 -07:00 |
|
bharnden
|
af7faa85df
|
removed redircmd, shcmd, shcmd_result, getaddr, netifstats from VnodeClient
|
2019-10-01 14:40:24 -07:00 |
|
bharnden
|
223590c8fb
|
removed vnode client netif stats, since was not being used
|
2019-10-01 12:52:25 -07:00 |
|
bharnden
|
d3d70ecc54
|
removed getaddr from node clients, since it was not being used
|
2019-10-01 12:30:32 -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
|
597bd21994
|
updated logging.warn to logging.warning due to deprecation in python3, fixed python 2/3 filter issue in tests, fixed utf decoding for some missed popen commands
|
2019-06-03 14:36:21 -07:00 |
|
bharnden
|
40176e861d
|
fixed unit test for vnode client, due to changes using python directly
|
2019-06-02 22:31:23 -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
|
b839482198
|
fixes #197 removes wireless_link_all and updates example
|
2018-10-09 12:46:27 -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 |
|
Blake J. Harnden
|
52230bc026
|
refactored configuration managers and options into a single class, now the models that can be configured will deal with and handle configurations for nodes themselves
|
2018-06-11 12:26:12 -07:00 |
|
Blake J. Harnden
|
7abf4bca16
|
updates to get all tests working with config changes
|
2018-06-07 12:57:32 -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
|
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
|
d3bd61ddcf
|
updates to consolidate commands that need to be defined by a new node type
|
2018-03-01 13:21:25 -08:00 |
|
Blake J. Harnden
|
127d0b0666
|
added a shell command with result, leveraged it usage to get output for failures during addfile and mounting within nodes
|
2018-02-07 19:13:51 -08:00 |
|
Blake J. Harnden
|
6b8ee13f5d
|
initial changes to try and cleanup shell commands used within core
|
2018-02-27 10:48:01 -08:00 |
|
Blake J. Harnden
|
3ce416b610
|
updated test cases to fix old broken code
|
2018-01-09 15:52:29 -08:00 |
|
Blake J. Harnden
|
35c48e67a3
|
modified the way custom services can be imported and added a test case to verify the import functionality
|
2017-08-03 14:27:39 -07:00 |
|