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
5111affeeb
#1800 - Added more docstrings and rst docs.
...
- Extended the .show functionality to enable markdown format too.
2023-09-01 16:58:21 +01:00
Chris McCarthy
9ee0ef2fd6
#1706 - Applied some final changes from PR. Fixed the PCAP log name on SwitchPort so that a pcap file is generated for each port.
2023-08-10 13:26:51 +01:00
Chris McCarthy
9fbc3c91f7
#1706 - Finished up the Node and Switch MVP. Added full extensive documentation on what's happening at each step.
2023-08-08 20:22:18 +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
95f5515d69
#1724 - Added documentation for the transport layer down to data link layer
2023-08-02 12:12:08 +01: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
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