Marek Wolan
9d4e41435d
End-of-day commit
2023-09-25 16:04:04 +01:00
Czar.Echavez
0140fe7c48
#1916 : fix a problem with process_ftp_command method
2023-09-25 15:59:31 +01:00
Czar.Echavez
2520b67889
#1916 :
...
- Added FTP to changelog
- Added FTP to documentation
- Added documentation in code
- Clean up of methods - prevent repeats of the same code
2023-09-25 14:31:57 +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
58edb6d3e4
#1916 : Created FTP superclass + working retrieve file method for FTP
2023-09-21 15:13:30 +01:00
Czar.Echavez
2e76b3f162
#1916 : FTP client STOR request to FTP server
2023-09-20 16:23:35 +01:00
Marek Wolan
aa6834ad08
Check service actions work.
2023-09-19 11:41:02 +01:00
Czar.Echavez
f913294058
#1916 : moved services into their own subdirectories
2023-09-18 14:20:19 +01:00
Chris McCarthy
939de40f1e
#1752 - Moved dns_server ip address from the NIC to the Node. Updated the arcd_uc2_network so that clients and servers have a dns server. Added sys_log entries for DNSServer and DNSClient. MAde the DNSServer always rend a reply, but for the resolved IP address to be empty if it cannot be resolved.
2023-09-18 10:25:26 +01:00
Czar.Echavez
b1e46b4f9e
#1752 : Apply suggestions from PR review
2023-09-14 20:08:06 +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
fb96ef18c0
#1752 : remove unnecessary changes
2023-09-12 09:32:28 +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
5cd1e2edf0
Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client
2023-09-11 08:58:13 +01:00
Chris McCarthy
b1d8666c16
#1816 - Added database client. Installed the database client on the Web Server node in the UC2 network. Updated the integration test to query the DB server using the DB client.
2023-09-08 16:50:49 +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
Chris McCarthy
ceac89e778
#1816 - DatabaseService now uses the send function when responding.
2023-09-08 10:15:26 +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
Czar Echavez
2cb0c238c9
Merge branch 'dev' into feature/1752-dns-server-and-client
2023-09-06 13:42:07 +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
ccad5ba8a3
#1800 - Ran pre-commit
2023-09-04 16:34:55 +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
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
Marek Wolan
bd5aacaf0c
Remove todo comments
2023-08-31 11:32:11 +01:00
Marek Wolan
f60f775f03
Improve logging
2023-08-31 11:27:52 +01:00
Marek Wolan
7759c178bb
Add logging and service restarting
2023-08-31 11:20:16 +01:00
Marek Wolan
40d3e04e64
Move init action manager function to the top
2023-08-29 14:33:28 +01:00
Marek Wolan
f0b82cbdfb
Add ability to uninstall service
2023-08-29 14:15:49 +01:00
Marek Wolan
94325d1fde
Add Install method to software.
2023-08-29 13:21:34 +01:00
Marek Wolan
7b61322e70
Add service actions
2023-08-29 12:34:41 +01:00
Marek Wolan
319e87d200
Make changes to the way actions work
2023-08-28 22:34:20 +01:00
Marek Wolan
a9e969aa13
init work on database
2023-08-25 15:29:53 +01:00
SunilSamra
c1ba3b0850
#1752 - Added comments to ticket
2023-08-22 21:43:57 +01:00
SunilSamra
550b62f75d
#1752 - Removed unnecessary print statement
...
- Changed docstring on function check_domain_in_cache
2023-08-21 16:09:17 +01:00
SunilSamra
1a13af2f5e
#1752 - Changed DNSReply and DNSResponse to have 1 parameter only
2023-08-21 14:11:53 +01:00
SunilSamra
a0b258a597
#1752 - Added a dns_lookup function to dns_server.py
2023-08-21 09:02:04 +01:00
Marek Wolan
01c912c094
fix type hints and describe state functions
2023-08-20 18:38:02 +01:00