Marek Wolan
bf32271ddd
Change copyright to 2025
2025-01-02 15:05:06 +00:00
Chris McCarthy
81bcf99855
#2646 - Added a custom pre-commit hook that ensure the copyright clause is added to .py and .rst files.
2024-06-05 09:11:37 +01:00
Chris McCarthy
0c96fef3ec
#2248 - All tests (bar the one config file test) now working. Still need to tidy up docstrings and some docs. Almost there
2024-02-07 23:05:34 +00:00
Chris McCarthy
05959e5408
#1800 - Moved the Switch code to a dedicated switch.py module.
...
- Added more switch tests.
- Updated ACL tests to use router acl.
- Updated more docs.
- Moved the Jupyter notebooks to _package_data and fixed up the setup to move all notebooks to ~/primaite/notebooks/example_notebooks.
2023-09-04 12:14:24 +01:00
Chris McCarthy
1bf51c7741
#1800 - Added ACL and routing classes.
...
- Added .show() methods to new router classes to enable inspection of the components as you would a real router.
- Removed gateway from the NIC and added default_gateway to Node so that Node has a single default gateway.
- Added some routing tests to check that ping can be performed when router between subnets.
2023-08-30 21:38:55 +01:00
Chris McCarthy
897dbdf10c
#1706 - Got the core Node class build and working with ARP and the ability to ping another node. Added some basic tests in. Next job is to create the Node subclasses. Then move ARP and ICMP into a service that is used by all nodes.
2023-08-02 21:54:21 +01:00
Chris McCarthy
9d17a9b0d3
#1724 - Added the primaite/simulator/network/transmission sub-package with modules for each layer. They come together to build a minimal but fairly realistic network Frame. A custom PrimaiteHeader has been included to hold primaite specific metadata required in transmission for reward function and RL agent downstream. Added some basic tests that check the proper configuration of Frames with matching headers for protocols. Updated the frame typehints in NIC and Link classes.
2023-08-01 22:25:00 +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