Czar.Echavez
4ee2235dd1
#1947 : temp commit what is done so far
2023-10-16 11:42:56 +01:00
Czar.Echavez
c9e4ba3c7d
#1947 : File and Folder hash checks
2023-10-12 11:16:25 +01:00
Czar.Echavez
060bbf0506
#1947 : added ability for files and folders to be scanned, corrupted and repaired
2023-10-10 15:14:47 +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
5a5710c6ae
Rename Sim Actions to request
2023-10-09 13:24:08 +01:00
Czar.Echavez
853bb9eecc
#1943 : unit tests + refactoring HTTP -> Http
2023-10-06 12:10:57 +01:00
Czar.Echavez
be6b904db9
- Fixed FTP client server infinite recursion - ftp server and clients can be installed on the same node, this could cause a loop of requests
...
- fixed tests broken by merged with dev
2023-10-05 16:24:48 +01:00
Czar.Echavez
97f0267539
#1796 : apply PR suggestions + fix tests
2023-10-04 11:33:18 +01:00
Czar.Echavez
c096d06bcd
#1796 : pre installing system software
2023-09-26 15:14:24 +01:00
Czar.Echavez
2c234ab67a
#1916 : Setting up a connected states + added tests + error states for if service is interacted with when not running
2023-09-22 15:38:01 +01:00
Czar.Echavez
2e76b3f162
#1916 : FTP client STOR request to FTP server
2023-09-20 16:23:35 +01:00
Czar.Echavez
f913294058
#1916 : moved services into their own subdirectories
2023-09-18 14:20:19 +01:00
Czar Echavez
8b6bc84321
#1752 : simplifying the DNS implementation - switch to TCP + fixing the DNS integration test
2023-09-12 13:37:11 +01:00
Czar Echavez
1a81285b76
#1752 : Added send+receive functionality for DNS client and server + tests + added simulation_output to gitignore
2023-09-12 08:46:07 +01:00
Czar Echavez
ee730d4ab0
Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client
2023-09-11 16:22:18 +01:00
Chris McCarthy
695b3ceab4
#1816 - Updated the DataManipulationBot to subclass DatabaseClient. Extended logging. Dropped the Link loading logging as it was clogging up the terminal output.
2023-09-11 16:15:03 +01:00
Czar Echavez
4c67365d4f
Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client
2023-09-11 15:23:39 +01:00
Chris McCarthy
f19dc9892b
#1816 - Fixed tests. Used node and link added number (id) in observation space.
2023-09-11 11:31:03 +01:00
Czar Echavez
5a101d5426
Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client
2023-09-11 09:50:16 +01:00
Chris McCarthy
388176b8bd
#1816 - Added full documentation on the database client/server, and the internal frame processing process
2023-09-11 09:30:40 +01:00
Czar Echavez
97a38efc27
Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client
2023-09-08 10:41:03 +01:00
Czar Echavez
47dd23311b
#1752 : added more functionality to DNS client and server + tests
2023-09-07 15:45:37 +01:00
Chris McCarthy
2f744af34e
#1816 - Added the final pieces of the puzzle to get data up from NIC → session manager → software manager → service.
...
- Implemented a basic sim DB that matches UC2 data manipulation DB in IY.
- Added a test that confirms DB queries can be sent over the network.
2023-09-06 22:26:23 +01:00
Chris McCarthy
6b41bec32a
#1816 - Added the final pieces of the puzzle to get data up from NIC → session manager → software manager → service.
...
- Implemented a basic sim DB that matches UC2 data manipulation DB in IY.
- Added a test that confirms DB queries can be sent over the network.
2023-09-06 22:01:51 +01:00
Chris McCarthy
65b027bc06
Merge branch 'dev' into feature/1816_Database-Service-(Network-and-User-Interaction)
2023-09-06 13:37:06 +01:00
Chris McCarthy
7c157d27d7
#1800 - Simplified a bunch of stuff in the file system in prep for services and applications. Started adding the database logic. Waiting for the software manager/session manager work from another ticket.
2023-09-06 11:35:41 +01:00
Czar Echavez
d503e51c2d
#1814 : Remove hardcoded values + added test + remove unnecessary private parent attribute
2023-09-06 11:12:03 +01:00
Czar Echavez
c349bb4484
#1814 : initial implementation of data manipulator service
2023-09-05 17:14:47 +01:00
Chris McCarthy
1385adf3fe
Merge remote-tracking branch 'devops/dev' into feature/1801-Database
...
# Conflicts:
# src/primaite/simulator/network/container.py
# src/primaite/simulator/network/hardware/base.py
2023-09-04 19:45:29 +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
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
Marek Wolan
61fa83a00d
Fix failing test
2023-08-31 14:55:14 +01:00
Chris McCarthy
415ee3b3a7
Merge branch 'dev' into feature/1800_model-a-basic-router-subclass-of-node
2023-08-31 11:39:21 +01:00
Marek Wolan
62be66205c
Fix unit tests
2023-08-31 10:57:45 +01:00
Chris McCarthy
1bf51c7741
#1800 - Added ACL and routing classes.
...
- Added .show() methods to new router classes to enable inspection of the components as you would a real router.
- Removed gateway from the NIC and added default_gateway to Node so that Node has a single default gateway.
- Added some routing tests to check that ping can be performed when router between subnets.
2023-08-30 21:38:55 +01:00
Marek Wolan
94325d1fde
Add Install method to software.
2023-08-29 13:21:34 +01:00
Marek Wolan
78008e3c6e
Fix container test
2023-08-24 12:52:38 +01:00
Marek Wolan
7058c7e9a8
Rename networkcontainer to network
2023-08-24 12:41:46 +01:00
Marek Wolan
4077eb3a5c
Add tests for network node adding/removal
2023-08-24 10:26:17 +01:00
Marek Wolan
6ca53803cd
Describe state
2023-08-17 15:32:12 +01:00
Czar Echavez
d972fcc07e
Merged PR 164: File System Class setup fixing tests
...
## Summary
Attempting to fix a test which seems to be broken when integrated with https://dev.azure.com/ma-dev-uk/PrimAITE/_git/PrimAITE/pullrequest/160
## Test process
*How have you tested this (if applicable)?*
## Checklist
- [x] This PR is linked to a **work item**
- [x] I have performed **self-review** of the code
- [x] I have written **tests** for any new functionality added with this PR
- [ ] I have updated the **documentation** if this PR changes or adds functionality
- [ ] I have written/updated **design docs** if this PR implements new functionality.
- [x] I have run **pre-commit** checks for code style
#1714 : fixing minor error in test + adding a check for existing uuid when adding file
Related work items: #1714
2023-08-14 08:27:09 +00:00
Chris McCarthy
b902d945ee
Merge remote-tracking branch 'devops/dev' into feature/1706_node_class_and_node_type_subclasses
...
# Conflicts:
# CHANGELOG.md
# src/primaite/simulator/core.py
2023-08-10 13:29:14 +01:00
Marek Wolan
e24d4b8890
Fix typo in test
2023-08-10 09:14:45 +01:00
Marek Wolan
34ff9abd7a
Apply changes from code review.
2023-08-09 15:55:28 +01:00
Czar Echavez
572f457231
#1714 : fixing minor error in test + adding a check for existing uuid when adding file
2023-08-09 11:19:58 +01:00
Marek Wolan
1de8e0a058
Update tests
2023-08-09 09:19:11 +01:00
Marek Wolan
a3c2ae6c7d
Merge dev into feature/1716-accounts-and-groups
2023-08-09 09:18:06 +01:00
Chris McCarthy
4e4c2b501a
Merge remote-tracking branch 'devops/dev' into feature/1706_node_class_and_node_type_subclasses
...
# Conflicts:
# tests/unit_tests/_primaite/_simulator/test_core.py
2023-08-08 20:05:11 +01:00
Czar Echavez
a4c193cd34
#1714 : apply recommended changes with removing get methods and using the properties directly
2023-08-07 16:20:55 +01:00
Czar Echavez
554619e4b4
#1714 : conver file and folder lists to dicts + fixing and adding a few more tests
2023-08-07 14:49:59 +01:00