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
Marek Wolan
4266618ba5
Make pcap logs and sys logs optional
2024-01-05 11:25:57 +00:00
Marek Wolan
81734e7ad3
Merged PR 241: Add service patch and fix apply timestep issues.
...
## Summary
Replaces Action ID 13 in UC2 with SERVICE.PATCH.
Fixes issue where apply_timestep was not happening at all
Fixes issue where file actions were not correctly being forwarded
## Test process
All pytests passing including a new one for service patch.
## 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
- [ ] 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: #2143
2024-01-05 09:58:16 +00:00
Marek Wolan
ec7723732b
Merge remote-tracking branch 'origin/dev' into feature/2137-refactor-request-api
2024-01-04 14:40:20 +00:00
Marek Wolan
bc367222a8
Change software describe state keys
2024-01-04 12:55:46 +00:00
Marek Wolan
528e3b22a9
Add integration tests
2024-01-04 12:47:35 +00:00
Marek Wolan
2aa7c18ad3
Merge remote-tracking branch 'origin/dev' into bugfix/2143-node-service-patch-main
2024-01-03 14:43:46 +00:00
Chris McCarthy
ade5f133d0
#2139 - Implemented routing
2023-12-22 10:31:11 +00:00
Marek Wolan
2135bdcd10
Add unit test
2023-12-21 16:08:09 +00:00
Marek Wolan
96f8435c5e
Add service patch and fix other bugs
2023-12-21 15:07:41 +00:00
Marek Wolan
a798d262b8
use names instead of uuids for requests
2023-12-18 14:03:47 +00:00
Marek Wolan
ffeb04d6ed
Merged PR 235: Refactor describe_state to use name/hostname instead of UUID as primary key
...
## Summary
- Refactor Simulator state to use service/application name instead of UUID, and node hostname instead of UUID.
- Refactor observations to read the hostname/name instead of UUID.
- Refactor rewards as well.
- Refactor configs to specify name instead of reference that will be translated to UUID.
## Test process
Existing unit tests pass. Inspected the printout from running 'describe_state' on arcd_uc2_network' to verify that names are used to report state.
## Checklist
- [x] PR is linked to a **work item**
- [x] **acceptance criteria** of linked ticket are met
- [x] performed **self-review** of the code
- [na] written **tests** for any new functionality added with this PR
- [na] updated the **documentation** if this PR changes or adds functionality
- [x] written/updated **design docs** if this PR implements new functionality
- [na] 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: #2131
2023-12-15 16:02:29 +00:00
Marek Wolan
495d847a71
Use service and app name for node software requests
2023-12-15 13:04:18 +00:00
Marek Wolan
a16028d10c
Merge remote-tracking branch 'origin/feature/2131-refactor-describe-state' into feature/2137-refactor-request-api
2023-12-15 10:10:39 +00:00
Nick Todd
fab39b1506
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-12-15 09:50:19 +00:00
Marek Wolan
1ec7df1170
Change describe_state to use names instead of uuids
2023-12-14 11:19:32 +00:00
Czar Echavez
592e1a3610
#2059 : apply suggestions from PR + adding another test that checks for dos affecting green agent
2023-12-13 11:56:25 +00:00
Nick Todd
f7b5c8ae2f
2041: Remove NTPRequest class (review comment)
2023-12-13 10:34:52 +00:00
Czar Echavez
f0be77c79b
#2059 : configure missing configurable items
2023-12-12 17:20:31 +00:00
Nick Todd
e620771c8d
2041: Remove IP address from NTP client (review comment)
2023-12-12 17:08:11 +00:00
Czar Echavez
4f79d2ad36
#2059 : moved connection handling from Service to IOSoftware + changes that now utilise connections from IOSoftware + dos bot attacking now works + tests
2023-12-12 17:01:03 +00:00
Czar Echavez
cd5ed48b00
#2059 : implementing the service connections limit
2023-12-08 17:07:57 +00:00
Czar Echavez
094e89fff1
#2059 : Renamed Red service to red application and moved the datamanipulation bot to the red application folder
2023-12-08 14:54:29 +00:00
Nick Todd
c3015b7f0e
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-12-07 14:55:01 +00:00
Nick Todd
50a6e17fab
2041: Make NTP work with TCP transport layer
2023-12-06 16:42:28 +00:00
Nick Todd
39694fcec2
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-12-04 11:23:35 +00:00
Marek Wolan
8ea9db2d34
Merge remote-tracking branch 'origin/dev' into feature/2085-dump_describe_state
2023-12-04 10:38:41 +00:00
Marek Wolan
105763971d
Merge 'origin/dev' into bugfix/episode-length-and-rewards
2023-12-03 14:49:34 +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
008efa1e9d
Merge remote-tracking branch 'devops/bugfix/episode-length-and-rewards' into feature/2085-dump_describe_state
2023-12-01 15:55:22 +00:00
Marek Wolan
eeedea2eff
Make more friendly user outputs when training SB3
2023-12-01 15:36:07 +00:00
Marek Wolan
3642e87eda
Remove distracting debug print statements
2023-12-01 11:07:57 +00:00
Nick Todd
a073038ec0
#2085 : Get enum value data
2023-12-01 09:52:31 +00:00
Czar Echavez
c2f7d737f7
#2084 : missed change to logger
2023-11-30 21:11:35 +00:00
Czar Echavez
423436c3ad
#2084 : testing webbrowser requesting database service user data via web server
2023-11-30 16:32:31 +00:00
Czar Echavez
d9de57757f
#2084 : more tests + remove concurrency in test to make sure coverage works
2023-11-30 15:47:31 +00:00
Czar Echavez
3cf21e4015
#2084 : change all instances of retrieving software from software['software_name'] to software.get() + adding some tests for describe state
2023-11-30 13:49:37 +00:00
Czar Echavez
349f9dee38
Merge remote-tracking branch 'origin/dev' into feature/2084-add-more-tests-to-make-primaite-more-robust
2023-11-30 09:29:34 +00:00
Czar Echavez
b2a52b2ec0
#2084 : created a fixture that we can use to test things at a non end to end level
2023-11-29 16:31:21 +00:00
Marek Wolan
ac2f7ba757
Fix web browser tests.
2023-11-29 14:33:52 +00:00
Marek Wolan
a16116a688
Fix file system reset error
2023-11-29 13:22:15 +00:00
Marek Wolan
05d62a956d
Fix software reset issues
2023-11-29 13:18:38 +00:00
Chris McCarthy
bf73cc2eb7
#1859 - Re-ordered the node reset function again
2023-11-29 13:45:34 +00:00
Czar Echavez
19d534395b
#2084 : beginning the introduction of code coverage + adding tests to try to meet the 80% code coverage target
2023-11-29 01:28:40 +00:00
Chris McCarthy
94f8a45a4d
#1859 - Re-ordered the node reset function
2023-11-28 15:29:13 +00:00
Chris McCarthy
9a4855e7bd
#1859 - Added the call to file system reset
2023-11-28 11:58:09 +00:00
Marek Wolan
2de1d02c48
Fix app install logic
2023-11-27 22:55:00 +00:00
Marek Wolan
b0399195bb
Fix software manager usage in uc2 network func
2023-11-27 22:20:44 +00:00
Marek Wolan
21b865d8a8
Merge origin/dev into feature/1859
2023-11-27 22:13:42 +00:00