Chris McCarthy
|
0f33b837aa
|
#1715 - Fixed up pr code suggestion flake8 issues
|
2023-08-01 12:45:36 +01:00 |
|
Christopher McCarthy
|
5ee3eff0e9
|
Apply suggestions from code review
|
2023-08-01 11:14:36 +00:00 |
|
Christopher McCarthy
|
2769b1bfb1
|
Apply suggestions from code review
|
2023-08-01 11:04:16 +00:00 |
|
Chris McCarthy
|
8785089a1c
|
#1715 - Moved IPv4Address conversions to the NIC init. Mak wake_on_lan not optional. Ignored ANN002 and ANN003 in .flake8 so we don't get silly 'ANN002 Missing type annotation for *args' and 'ANN003 Missing type annotation for **kwargs' flake8 failures
|
2023-08-01 10:32:16 +01:00 |
|
Chris McCarthy
|
557caeaac4
|
#1715 - Added suppress-none-returning and suppress-dummy-args to .flake8 as flake8-annotations can get very annoying
|
2023-08-01 08:19:28 +01:00 |
|
Chris McCarthy
|
e4b6f266e8
|
#1715 - Added timestep int as a param to the apply_timestep function in core.py. Also added a reset_component_for_episode function. Updated docs with details of Link and NIC.
|
2023-07-31 20:05:36 +01:00 |
|
Chris McCarthy
|
0532db960a
|
#1715 - Added more tests. MAde use of the pydantic model_post_init function for proper ipv4 cofiguration checking. Added NetworkError to exceptions.py.
|
2023-07-31 16:55:45 +01:00 |
|
Chris McCarthy
|
59394c3642
|
#1715 - Added Link class in physical_layer.py. Also added NIC class in physical_layer.py for #1672. Added attributes and public API functions. test_physical_layer.py ready to house the tests once logic has been implemented.
|
2023-07-31 15:55:22 +01:00 |
|
Marek Wolan
|
a486780fba
|
Add timestep function
|
2023-07-31 11:39:33 +01:00 |
|
Marek Wolan
|
8e2ef1b695
|
Apply suggestions from code review
|
2023-07-31 10:25:29 +00:00 |
|
Marek Wolan
|
3b4a01760b
|
Rework apply_actions to make it more standard
|
2023-07-28 15:14:43 +01:00 |
|
Marek Wolan
|
b129c4fc97
|
Add SimComponent core class
|
2023-07-28 14:49:21 +01:00 |
|