Czar Echavez
539577ddc3
#2658 : added monitored traffic into config + default obs space
2024-06-13 11:48:13 +01:00
Czar Echavez
76e954d1a1
Merge remote-tracking branch 'origin/dev' into feature/1847-more-red-agents
2024-06-11 14:26:11 +01:00
Czar Echavez
e1ba0ff125
#2610 : apply suggestions from PR
2024-06-06 01:46:42 +01:00
Marek Wolan
c5f131ece5
fix reward logging
2024-05-31 15:00:18 +01:00
Chris McCarthy
5eea5bf4f9
#2618 - Integrated the NMAP into the action and requests functionality to enable agent usage. added NMAP agents tests.
2024-05-31 13:53:18 +01:00
Charlie Crane
85f03570f7
Merged PR 376: 2457 - Remove Hardcoding from Links
...
## Summary
This PR removes the hardcoding of Link bandwidth, and makes it possible to be configured via the network yaml definitions.
Link bandwidth will still default to 100 if this is not present, to prevent breaking all previous defined networks.
## Test process
All tests continue to pass.
`basic_network_config.yaml` now provides a non-default link bandwidth which is confirmed within unit tests.
## Checklist
- [X] PR is linked to a **work item**
- [X] **acceptance criteria** of linked ticket are met
- [X] performed **self-review** of the code
- [X] written **tests** for any new functionality added with this PR
- [X] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [] updated the **change log**
- [X] ran **pre-commit** checks for code style
- [X] attended to any **TO-DOs** left in the code
Related work items: #2457
2024-05-22 11:35:48 +00:00
Czar Echavez
f45df780c9
#2606 : correcting the access verb
2024-05-20 15:02:05 +01:00
Czar Echavez
80b1988ab9
#2606 : add agent actions + test
2024-05-20 13:10:21 +01:00
Czar Echavez
406d4e889b
#2606 : pre-commit check
2024-05-17 17:05:14 +01:00
Archer Bowen
13fcda7a26
#2606 - Added initial attempts and created for visibility
2024-05-17 09:28:03 +01:00
Charlie Crane
71684dc5f0
#2457 - Initial commit removing the hardcoding of bandwidth values within links. Now pull it from configuration files, defaulting to 100 if not implemented
2024-05-13 14:42:15 +01:00
Charlie Crane
4cd15a39aa
#2457 - Commit before switching branches to review
2024-05-03 08:35:24 +01:00
Chris McCarthy
d72622f3f7
Merge branch 'dev' into feature/2519_Make-airspace-an-attribute-of-Simulation
...
# Conflicts:
# CHANGELOG.md
2024-05-01 10:22:44 +01:00
Chris McCarthy
bc573dfed0
#2519 - refactored all air-space usage to that a new instance of AirSpace is created for each instance of Network. This 1:1 relationship between network and airspace will allow parallelization. Added additional WirelessRouter test that tests wireless connectivity from config file too.
2024-04-30 15:46:16 +01:00
Chris McCarthy
081ff0647f
Merge branch 'dev' into feature/2266_network-focussed-dev-documentation
...
# Conflicts:
# src/primaite/game/agent/observations/observations.py
2024-04-24 16:04:46 +01:00
Christopher McCarthy
a60e8b2203
Merged PR 349: #2511 - Upgraded pydantic to version 2.7.0
...
## Summary
- Upgraded pydantic to version 2.7.0.
- Added ipywidgets to the dependencies (for #2300 )
## Test process
N/A
## Checklist
- [X] PR is linked to a **work item**
- [X] **acceptance criteria** of linked ticket are met
- [X] performed **self-review** of the code
- [ ] written **tests** for any new functionality added with this PR
- [ ] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [X] updated the **change log**
- [X] ran **pre-commit** checks for code style
- [ ] attended to any **TO-DOs** left in the code
#2511 - Upgraded pydantic to version 2.7.0. Added ipywidgets to the dependencies (for #2300 )
Related work items: #2300 , #2511
2024-04-23 13:43:44 +00:00
Marek Wolan
8e008b6d24
#2511 Appease isort pre commit hook
2024-04-23 13:54:56 +01:00
Chris McCarthy
6060cbbc5b
#2511 - Put the ray rlllib dep back to "ray[rllib] == 2.8.0, < 3"
2024-04-23 09:04:17 +01:00
Nick Todd
6726a2da37
#2245 : Add comment
2024-04-22 14:09:12 +01:00
Chris McCarthy
9a55b7b864
#2266 - Fixed some minor bugs that prevented basic networks without a default gateway from being parsed. Completed the basic client-server P2P network documentation, file and retrieval method.
2024-04-19 15:58:50 +01:00
Nick Todd
873b70c2c9
Merge branch 'dev' into bugfix/2455-notebook_updates
2024-04-19 11:52:09 +01:00
Nick Todd
9334b1e79b
#2455 : Add NICObservation.ConfigSchema to NIC list.
2024-04-19 11:07:32 +01:00
Marek Wolan
8d0d323e0b
#2374 Remove primaite session
2024-04-16 11:26:17 +01:00
Marek Wolan
72283e6184
#2459 Align whitespace and typing
2024-04-15 12:40:50 +01:00
Marek Wolan
0828f70b4c
#2459 back-sync b8 changes into core
2024-04-15 11:50:08 +01:00
Marek Wolan
3b4962830a
#2450 remove unused ref maps in PrimaiteGame
2024-04-03 22:52:06 +01:00
Marek Wolan
698cb83e41
#2450 change link definition schema
2024-04-03 22:20:33 +01:00
Marek Wolan
526dcc7ffe
#2450 remove the need to pass Game to observation objects
2024-04-03 22:16:54 +01:00
Marek Wolan
e99d238568
#2450 remove link refs and put nice naming convention instead
2024-04-03 21:39:13 +01:00
Marek Wolan
a4caa3dfe4
#2449 fix observation integration
2024-04-03 15:58:01 +01:00
Marek Wolan
d2c7ae481c
#2417 Add categorisation and updated new configs from merge
2024-04-01 22:03:28 +01:00
Marek Wolan
e4300faa1c
Merge remote-tracking branch 'origin/dev' into feature/2417-observation-refactor
2024-04-01 19:21:40 +01:00
Marek Wolan
2513646205
#2417 fix last observation tests
2024-04-01 16:50:59 +01:00
Marek Wolan
709486d739
#2417 test firewall and router obs
2024-04-01 16:06:12 +01:00
Cristian-VM2
80c13adfdf
#2402 add action maps on all yaml scenarios used for testing
2024-04-01 14:28:41 +00:00
Cristian-VM2
2096b619ec
#2402 raise error if action map is not specified. update comment in firewall.py
2024-04-01 12:32:44 +00:00
Marek Wolan
0ba767d2a0
#2417 update observation tests and make old tests pass
2024-04-01 00:54:55 +01:00
Marek Wolan
0e0df1012f
#2417 update observations init to autoimport all obs types
2024-03-31 23:39:24 +01:00
Marek Wolan
8da53db822
#2417 Finalise parsing of observation space
2024-03-31 23:20:48 +01:00
Marek Wolan
62ebca8c08
#2417 Remove references to old obs names and add link obs
2024-03-31 21:39:24 +01:00
Marek Wolan
15cb2e6970
#2417 Add NestedObservation
2024-03-31 17:31:10 +01:00
Cristian-VM2
2546f268eb
#2402 refactor port actions to take same input params (hostname) as new acl actions for routers and firewalls
2024-03-31 11:59:31 +00:00
Cristian-VM2
8763a27cca
Merge remote-tracking branch 'origin/dev' into feature/2402-add-acl-actions-for-routers-and-firewalls
2024-03-29 16:37:37 +00:00
Cristian-VM2
7299a12c64
#2402 add firewall acl actions
2024-03-29 16:30:39 +00:00
Marek Wolan
22e1dfea2f
#2417 Move classes to correct files
2024-03-29 14:14:03 +00:00
Marek Wolan
9123aff592
#2417 Add hella docstrings
2024-03-29 13:15:31 +00:00
Marek Wolan
1751714d3d
Tidy up node observation file
2024-03-29 12:21:52 +00:00
Marek Wolan
d8a66104f5
Fixed observations
2024-03-29 11:55:22 +00:00
Cristian-VM2
2eb900746b
#2402 rename network_acl actions to router_acl and refactor how router_name is given
2024-03-29 11:34:43 +00:00
Marek Wolan
f88b4c0f97
#2417 more observations
2024-03-28 17:40:27 +00:00