Chris McCarthy
114fb8c077
#2248 - synced wth dev
2024-02-08 15:27:02 +00:00
Chris McCarthy
411f0a320f
#2248 - Final run over all the docstrings after running pre-commit. All tests now working. Updated CHANGELOG.md.
2024-02-08 10:53:30 +00: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
5e25fefa14
#2248 - Further fixes. All router integration tests now passing.
2024-02-07 19:44:40 +00:00
Chris McCarthy
7bbfd564fb
#2248 - Big refactor of base with all Network Interface subclasses created to allow for proper management of ports on devices as it was starting to get messy with the Router. Some routing tests still need fixing as ARP doesn't seem to be working properly
2024-02-05 08:44:10 +00:00
Chris McCarthy
a0253ce6c4
#2248 - TSome further fixess to ARP. Also refactored PCAP to log inbound and outbound frames separately
2024-02-02 17:14:34 +00:00
Chris McCarthy
dc5aeede33
#2248 - ICMP now working as a service using the session manager for transmission. Now started to comb through the tests to fix anything up.
2024-02-02 16:20:15 +00:00
Chris McCarthy
87d9d6da04
#2248 - Initial work has been done on moving ICMP into services. still tidying up to be done. Need to fix tests too.
2024-02-02 15:35:02 +00:00
Chris McCarthy
9577f212f8
#2248 - Initial crack at getting ARP into a Service. Lots of refactoring has been done. It's a mess at the minute, but I can successfully send an ARP request so committing as a successful point in time
2024-02-01 22:19:55 +00:00
Marek Wolan
0dbaa66aa3
Merge remote-tracking branch 'origin/dev' into feature/2137-refactor-request-api
2024-01-31 10:05:09 +00:00
Marek Wolan
555802baaa
Merge remote-tracking branch 'origin/dev' into dev-v3.0.0b6
2024-01-29 10:26:28 +00:00
Marek Wolan
2ba05e7348
Fixed being unable to specify all addresses in acl rule
2024-01-25 15:17:09 +00:00
Marek Wolan
73a75c497b
Fix test
2024-01-25 13:13:50 +00:00
Marek Wolan
0a65f32adf
Fix ACL observations
2024-01-25 09:27:08 +00:00
Marek Wolan
88c1d16f11
Fix Router acl not clearing
2024-01-23 14:34:05 +00:00
Marek Wolan
294c8b982f
Add convenience method for router acl
2024-01-08 13:28:55 +00:00
Chris McCarthy
d2d628b676
#2139 - Fixed unicast and broadcast functionality properly
2024-01-05 22:11:37 +00:00
Chris McCarthy
ddf7fbf88b
#2139 - Included a test that tests services over multi-hop routing. Added some PR suggestions around logging.
2024-01-05 15:27:10 +00:00
Chris McCarthy
ade5f133d0
#2139 - Implemented routing
2023-12-22 10:31:11 +00:00
Marek Wolan
1ec7df1170
Change describe_state to use names instead of uuids
2023-12-14 11:19:32 +00:00
Chris McCarthy
cc04efb31d
#2085 - Added step metadata json file dumps to the environments. Fixed serialization issues in the Switch and ACLRule classes.
2023-12-01 16:37:58 +00:00
Chris McCarthy
9a4855e7bd
#1859 - Added the call to file system reset
2023-11-28 11:58:09 +00:00
Chris McCarthy
517f99b04b
#1859 - Added the call to file system reset
2023-11-28 09:45:45 +00:00
Chris McCarthy
37663c941d
#1859 - Added route table reset, still not working
2023-11-28 00:51:48 +00:00
Chris McCarthy
39dfbb741f
#1859 - Made some fixes to resets. Still an issue with the Router reset.
2023-11-28 00:21:41 +00:00
Chris McCarthy
58e9033a4c
#1859 - First pass at an implementation of the full reset method. Will now start testing...
2023-11-27 23:01:56 +00:00
Marek Wolan
2b8462d38d
Fix link import in v3 code
2023-10-25 17:04:04 +01:00
Marek Wolan
ffe80f215e
Merge 'origin/dev-game-layer' into feature/1924-Agent-Interface
2023-10-25 09:58:04 +01:00
Czar.Echavez
9b5d95cbb9
#1947 : refactor am->rm to align with refactor of ActionManager->RequestManager
2023-10-13 10:41:27 +01:00
Marek Wolan
91f06c15f6
Fix formatting with precommit
2023-10-09 18:35:30 +01:00
Marek Wolan
37c851b5c5
Merge remote-tracking branch 'origin/dev' into feature/1924-Agent-Interface
2023-10-09 18:29:48 +01:00
Marek Wolan
18706be4ff
Merge branch 'origin/dev' into feature/1812-traverse-actions-dict
2023-10-09 18:26:25 +01:00
Marek Wolan
560e416eda
Merge 'origin/feature/1812' into feature/1924
2023-10-09 18:25:46 +01:00
Marek Wolan
f68886d5df
Fix bugged actions
2023-10-09 17:29:50 +01:00
Czar.Echavez
318539fd8f
#1943 : apply suggestions from PR + fixing FTP bug + elaborating
2023-10-09 13:25:12 +01:00
Marek Wolan
5a5710c6ae
Rename Sim Actions to request
2023-10-09 13:24:08 +01:00
Marek Wolan
df22d0de0b
Merge remote-tracking branch 'origin/dev' into feature/1812-traverse-actions-dict
2023-10-09 11:39:31 +01:00
Czar.Echavez
97f0267539
#1796 : apply PR suggestions + fix tests
2023-10-04 11:33:18 +01:00
Czar.Echavez
4b5a73bd32
#1943 : web server + client + tests + a few improvements to syslogging
2023-10-03 14:59:48 +01:00
Marek Wolan
f79ed99bd2
end of day
2023-09-25 19:17:57 +01:00
Marek Wolan
9d4e41435d
End-of-day commit
2023-09-25 16:04:04 +01:00
Marek Wolan
3ee5e22b24
Add router action
2023-09-19 12:48:55 +01:00
Marek Wolan
610517d817
Underscore 'parent' refs to make pydantic happy.
...
Rename attributes like connected_link and connected_node to start with
an underscore.
This will prevent circular dependency and stack recursion depth error.
2023-09-19 11:28:13 +01:00
Chris McCarthy
596ad20cc6
#1800 - Added better logging and error messages to AccessControlList class. Updated usage of extra following pydantic deprecated warning "pydantic.config.Extra is deprecated, use literal values instead (e.g. extra='allow')"
2023-09-04 16:44:29 +01:00
Chris McCarthy
ccad5ba8a3
#1800 - Ran pre-commit
2023-09-04 16:34:55 +01:00
Chris McCarthy
5981bc7255
Merge remote-tracking branch 'devops/feature/1800_model-a-basic-router-subclass-of-node' into feature/1800_model-a-basic-router-subclass-of-node
2023-09-04 14:58:52 +01:00
Chris McCarthy
3075d1985b
#1800 - Renamed all ip fields so that they're post-fixed with ip_address
2023-09-04 14:58:34 +01:00
Christopher McCarthy
d9feb67e02
Apply suggestions from code review
2023-09-04 11:20:40 +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
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