Commit Graph

  • 44de1531a5 Added PrimAITE_logo_transparent.png file #9 Chris McCarthy 2023-08-15 13:56:06 +01:00
  • 5e526ba81e Merge pull request #7 from Autonomous-Resilient-Cyber-Defence/dev Chris McCarthy 2023-08-15 13:29:06 +01:00
  • 58048cd0e1 Dropped sphinx-pipeline Chris McCarthy 2023-08-15 13:28:02 +01:00
  • 506b0836ea Dropped sphinx-pipeline #7 Chris McCarthy 2023-08-15 13:28:02 +01:00
  • eb70acf0c6 Create spinx-pipeline ARCD 2023-08-15 13:23:25 +01:00
  • c2992c3348 Create spinx-pipeline ARCD 2023-08-15 13:23:25 +01:00
  • 1a1c3c9344 Added sphinx docs build pipeline for GitHub pages on release Chris McCarthy 2023-08-15 11:26:15 +01:00
  • aaf1b16912 Added sphinx docs build pipeline for GitHub pages on release Chris McCarthy 2023-08-15 11:26:15 +01:00
  • 01fb9e65fe Added the DSTL MIT license and updated the license in pyproject.toml Chris McCarthy 2023-08-15 11:14:23 +01:00
  • 6bf348e5c3 Added the DSTL MIT license and updated the license in pyproject.toml Chris McCarthy 2023-08-15 11:14:23 +01:00
  • d972fcc07e Merged PR 164: File System Class setup fixing tests Czar Echavez 2023-08-14 08:27:09 +00:00
  • c4aacb8c69 #1714: Change file and folder uuid checking to check for file or folder names already existing Czar Echavez 2023-08-11 15:33:07 +01:00
  • 1b84d28c48 Merged PR 161: Working base Node class Christopher McCarthy 2023-08-10 14:30:04 +00:00
  • 49f855c320 #1706 - Synced with Dev Chris McCarthy 2023-08-10 13:33:32 +01:00
  • b902d945ee Merge remote-tracking branch 'devops/dev' into feature/1706_node_class_and_node_type_subclasses Chris McCarthy 2023-08-10 13:29:14 +01:00
  • 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. Chris McCarthy 2023-08-10 13:26:51 +01:00
  • 586f210402 Merged PR 160: Permission system, account skeleton, and group skeleton Marek Wolan 2023-08-10 12:07:38 +00:00
  • e24d4b8890 Fix typo in test Marek Wolan 2023-08-10 09:14:45 +01:00
  • ad81a81949 #1706 - Applied some code suggestions from the PR Chris McCarthy 2023-08-09 20:38:45 +01:00
  • b46057841d #1706 - Refactored a bunch of if statements in base.py to improve readability Chris McCarthy 2023-08-09 20:31:42 +01:00
  • 34ff9abd7a Apply changes from code review. Marek Wolan 2023-08-09 15:55:28 +01:00
  • cf241366dc #1714: apply suggestions for preventing addition of objects with similar uuid Czar Echavez 2023-08-09 15:15:45 +01:00
  • f198a8b94d Fix bad merge Marek Wolan 2023-08-09 12:36:09 +01:00
  • 51baabb35b Update enums to uppercase in docs Marek Wolan 2023-08-09 12:34:56 +01:00
  • 596bbaacde Change enum strings to uppercase Marek Wolan 2023-08-09 12:06:06 +01:00
  • 572f457231 #1714: fixing minor error in test + adding a check for existing uuid when adding file Czar Echavez 2023-08-09 11:19:58 +01:00
  • be8c2955ce Change Accountstatus to a bool Marek Wolan 2023-08-09 10:26:52 +01:00
  • 1de8e0a058 Update tests Marek Wolan 2023-08-09 09:19:11 +01:00
  • a3c2ae6c7d Merge dev into feature/1716-accounts-and-groups Marek Wolan 2023-08-09 09:18:06 +01:00
  • a840159460 #1706 - Fixed the "smart" merging of SimComponent that PyCharm performed. Integrated the Filesystem class into the Node. Added prettytable to deps in pyproject.toml Chris McCarthy 2023-08-08 20:30:37 +01:00
  • 9fbc3c91f7 #1706 - Finished up the Node and Switch MVP. Added full extensive documentation on what's happening at each step. Chris McCarthy 2023-08-08 20:22:18 +01:00
  • 4e4c2b501a Merge remote-tracking branch 'devops/dev' into feature/1706_node_class_and_node_type_subclasses Chris McCarthy 2023-08-08 20:05:11 +01:00
  • 5f097b7c1b Merged PR 157: File System Class setup Czar Echavez 2023-08-08 09:29:46 +00:00
  • 2f27e02877 #1714: fix precommit Czar Echavez 2023-08-08 09:53:32 +01:00
  • c2b783c858 Apply suggestions from code review Czar Echavez 2023-08-08 08:17:40 +00:00
  • f854404ba0 #1714: added file system to changelog Czar Echavez 2023-08-08 08:41:50 +01:00
  • c8ee409b3b #1714: run precommit Czar Echavez 2023-08-08 08:29:51 +01:00
  • 139d739732 #1706 - Tidies up the sysLog ARPCache, and ICMP classes and integrated them into the Node. Tidied up the base implementation of SoftwareManager and SessionManager. Tidies up the public API for Services and Applications. Added the SwitchPort and Switch classes. Added a basic test in test_frame_transmission.py that tests sending a frame from one node to another across a multi-switch network. Chris McCarthy 2023-08-07 19:33:52 +01:00
  • 7eb0bb428f Update code based on PR comments. Marek Wolan 2023-08-07 17:24:14 +01:00
  • 700950b856 Apply suggestions from code review Czar Echavez 2023-08-07 15:38:15 +00:00
  • a4c193cd34 #1714: apply recommended changes with removing get methods and using the properties directly Czar Echavez 2023-08-07 16:20:55 +01:00
  • 554619e4b4 #1714: conver file and folder lists to dicts + fixing and adding a few more tests Czar Echavez 2023-08-07 14:49:59 +01:00
  • b58a3a3e24 #1714: FileSystemItem is no longer an abstract base class + Added enums and enum sizes + stream lined FileSystemFile init Czar Echavez 2023-08-07 11:52:54 +01:00
  • 22afdc9134 Updated pull_request_template.md Marek Wolan 2023-08-07 10:19:06 +00:00
  • 84b6e2206e Updated CHANGELOG.md Marek Wolan 2023-08-07 10:18:27 +00:00
  • f0d7e03fd7 Add docs and tests Marek Wolan 2023-08-07 10:55:29 +01:00
  • d57c2a936e #1714: remove duplicate method Czar Echavez 2023-08-07 10:10:05 +01:00
  • 028211d288 #1714: update to use objects instead of uuids + tests Czar Echavez 2023-08-07 09:34:59 +01:00
  • ac9b83cc42 Merge remote-tracking branch 'origin/dev' into feature/1716-accounts-and-groups Marek Wolan 2023-08-07 09:15:35 +01:00
  • 46c70ac084 #1714: refactor private attributes and made them public + serialisation tests Czar Echavez 2023-08-03 22:20:14 +01:00
  • 04f1cb0dc6 #1706 - Got the code services, application, and process base classes stubbed out. Need them now so that I can leverage them for core node services required. Chris McCarthy 2023-08-03 21:30:13 +01:00
  • 2a680c1e48 Test my validators Marek Wolan 2023-08-03 16:26:33 +01:00
  • e7e39a8c1d Merge branch 'github_dev' into downstream_github_sync Chris McCarthy 2023-08-03 16:07:15 +01:00
  • 4ed31a52e5 Updated the What is PrimAITE? section in index.rst. Dropped the use of sphinx-code-tabs in the docs as building the docs in pdf (make latexpdf) is suddenly complaining about the tab buttons. Chris McCarthy 2023-08-03 16:04:23 +01:00
  • fed65db7fc Updated the What is PrimAITE? section in index.rst. Dropped the use of sphinx-code-tabs in the docs as building the docs in pdf (make latexpdf) is suddenly complaining about the tab buttons. Chris McCarthy 2023-08-03 16:04:23 +01:00
  • cac4779244 #1706 - Started adding the core node software required by all nodes. Made some tweaks to the Frame to have send and receive timestamp. Chris McCarthy 2023-08-03 14:37:55 +01:00
  • 94617c57a4 Make register and deregister acct private Marek Wolan 2023-08-03 13:24:27 +01:00
  • 3a2840bed8 Overhaul sim component for permission management. Marek Wolan 2023-08-03 13:09:04 +01:00
  • b08683fcd3 #1714: fix tests Czar Echavez 2023-08-03 12:42:16 +01:00
  • 483fa7d841 Merge branch 'dev' into feature/1714-file-system-file-system-folder-and-file-system-file-class-skeletons Czar Echavez 2023-08-03 12:15:08 +01:00
  • a0356a7fbc #1714: updated file system classes Czar Echavez 2023-08-03 12:14:11 +01:00
  • 209f934abd #1706 - Added some extra logging Chris McCarthy 2023-08-02 22:01:15 +01:00
  • 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. Chris McCarthy 2023-08-02 21:54:21 +01:00
  • 3660e27c15 Merged PR 156: Model a minimal implementation of a network Frame Christopher McCarthy 2023-08-02 14:25:58 +00:00
  • 091b4a801d Make some progress on accounts Marek Wolan 2023-08-02 13:43:31 +01:00
  • 95f5515d69 #1724 - Added documentation for the transport layer down to data link layer Chris McCarthy 2023-08-02 12:12:08 +01:00
  • 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. Chris McCarthy 2023-08-01 22:25:00 +01:00
  • 841aafd259 Merge branch 'dev' into feature/1714-file-system-file-system-folder-and-file-system-file-class-skeletons Czar Echavez 2023-08-01 16:20:08 +01:00
  • ea8c65a17e #1714: set up files Czar Echavez 2023-08-01 16:18:49 +01:00
  • dda986fc56 Merge remote-tracking branch 'origin/dev' into feature/1716-accounts-and-groups Marek Wolan 2023-08-01 12:52:17 +01:00
  • f41fc241b7 Merged PR 152: Model Link and NIC Christopher McCarthy 2023-08-01 12:31:42 +00:00
  • 0f33b837aa #1715 - Fixed up pr code suggestion flake8 issues Chris McCarthy 2023-08-01 12:45:36 +01:00
  • 5ee3eff0e9 Apply suggestions from code review Christopher McCarthy 2023-08-01 11:14:36 +00:00
  • 2769b1bfb1 Apply suggestions from code review Christopher McCarthy 2023-08-01 11:04:16 +00:00
  • 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 Chris McCarthy 2023-08-01 10:32:16 +01:00
  • 5ebbfab0ff Create some files for domain sim Marek Wolan 2023-08-01 10:02:13 +01:00
  • 557caeaac4 #1715 - Added suppress-none-returning and suppress-dummy-args to .flake8 as flake8-annotations can get very annoying Chris McCarthy 2023-08-01 08:19:28 +01:00
  • c05cb62aa9 Merge branch 'dev' into feature/1715_model_link Chris McCarthy 2023-08-01 08:12:39 +01:00
  • 0f0c61642c Merged PR 151: Check type hints with pre-commit Marek Wolan 2023-07-31 19:34:48 +00:00
  • 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. Chris McCarthy 2023-07-31 20:05:36 +01:00
  • 3324a8caae Apply suggestions from code review Marek Wolan 2023-07-31 18:54:29 +00:00
  • c1bb6d8b7f Update the PR template Marek Wolan 2023-07-31 17:09:38 +01:00
  • 9cf5bfa1b2 Fix typehint issues Marek Wolan 2023-07-31 17:07:56 +01:00
  • 0a079832e9 Add self,cls to flake8-ann ignore list Marek Wolan 2023-07-31 17:00:28 +01:00
  • 0532db960a #1715 - Added more tests. MAde use of the pydantic model_post_init function for proper ipv4 cofiguration checking. Added NetworkError to exceptions.py. Chris McCarthy 2023-07-31 16:55:45 +01:00
  • c4adc2f543 add flake8-annotations to pre-commits Marek Wolan 2023-07-31 16:47:13 +01:00
  • 59394c3642 #1715 - Added Link class in physical_layer.py. Also added NIC class in physical_layer.py for #1672. Added attributes and public API functions. test_physical_layer.py ready to house the tests once logic has been implemented. Chris McCarthy 2023-07-31 15:55:22 +01:00
  • 020682f546 Merged PR 149: Base class for Simulation Components Marek Wolan 2023-07-31 12:43:07 +00:00
  • 954026d3e0 Comment out RLLib support Marek Wolan 2023-07-31 12:13:52 +01:00
  • a486780fba Add timestep function Marek Wolan 2023-07-31 11:39:33 +01:00
  • fa2cdf853c Drop Ray Marek Wolan 2023-07-31 11:27:16 +01:00
  • 8e2ef1b695 Apply suggestions from code review Marek Wolan 2023-07-31 10:25:29 +00:00
  • efb230a5fc Update README.md jamesshort1 2023-07-31 09:17:48 +01:00
  • 80ddf511dc Update README.md jamesshort1 2023-07-31 09:17:48 +01:00
  • da8f91c78c Update README.md jamesshort1 2023-07-31 09:16:24 +01:00
  • 61fe8c2031 Update README.md jamesshort1 2023-07-31 09:16:24 +01:00
  • 3b4a01760b Rework apply_actions to make it more standard Marek Wolan 2023-07-28 15:14:43 +01:00
  • c1bcc372b1 Merge remote-tracking branch 'origin/dev' into feature/1709-base-simulation-class Marek Wolan 2023-07-28 14:49:56 +01:00
  • fd28475e83 Merged PR 148: 1711 Fix legacy config loading issues Christopher McCarthy 2023-07-28 14:45:58 +00:00
  • b129c4fc97 Add SimComponent core class Marek Wolan 2023-07-28 14:49:21 +01:00