Nick Todd
4c66d2b252
2297: Change missed reference TCP to UDP.
2024-02-12 17:24:28 +00:00
Nick Todd
697e53def8
2297: Doc update.
2024-02-12 17:12:59 +00:00
Chris McCarthy
0acd9a2938
#2248 - Removed redundant code and added more documentation from PR suggestions
2024-02-09 10:27:22 +00:00
Chris McCarthy
a036160515
#2248 - Enhances the PrimAITE documentation, covering the Node, network interfaces, Session Manager, Software Manager, PCAP service, SysLog functionality, and network devices like Routers, Switches, Computers, and Switch Nodes. It details their roles, workflows, and integration within the simulation, focusing on frame processing, software management, and logging. The documentation also clarifies the frame reception process, including port checks and application-level dispatching, ensuring a thorough understanding of network operations within the simulation
2024-02-08 22:37:21 +00:00
Chris McCarthy
7bbfd564fb
#2248 - Big refactor of base with all Network Interface subclasses created to allow for proper management of ports on devices as it was starting to get messy with the Router. Some routing tests still need fixing as ARP doesn't seem to be working properly
2024-02-05 08:44:10 +00:00
Nick Todd
39694fcec2
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-12-04 11:23:35 +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
7c1ffb5ba1
#2084 : change all instances of retrieving software from software['software_name'] to software.get() + adding some tests for describe state
2023-11-30 13:48:57 +00:00
Marek Wolan
21b865d8a8
Merge origin/dev into feature/1859
2023-11-27 22:13:42 +00:00
Nick Todd
95f6cf6691
Merged PR 221: Version 3 beta 2 doc changes
...
## Summary
*Replace this text with an explanation of what the changes are and how you implemented them. Can this impact any other parts of the codebase that we should keep in mind?*
## Test process
*How have you tested this (if applicable)?*
## Checklist
- [Y] PR is linked to a **work item**
- [Y] **acceptance criteria** of linked ticket are met
- [Y ] performed **self-review** of the code
- [N] written **tests** for any new functionality added with this PR
- [Y] updated the **documentation** if this PR changes or adds functionality
- [N] written/updated **design docs** if this PR implements new functionality
- [N] updated the **change log**
- [Y] ran **pre-commit** checks for code style
- [N] attended to any **TO-DOs** left in the code
Related work items: #2068
2023-11-27 21:35:37 +00:00
Nick Todd
40d596c373
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-11-27 15:07:06 +00:00
Czar Echavez
299729d5b4
#2064 : documentation EVERYWHERE
2023-11-27 11:38:03 +00:00
Nick Todd
a2a27697a3
Merge branch 'dev' into feature/2068-Validate_documentation
2023-11-24 15:27:33 +00:00
Nick Todd
355cbedbae
#2068 : Further typo and formatting changes.
2023-11-24 15:17:08 +00:00
Jake Walker
e6f75f8b32
Improve data manipulation bot documentation
2023-11-24 15:15:24 +00:00
Jake Walker
4e104a4d99
Update data manipulation bot
2023-11-24 10:33:19 +00:00
Jake Walker
178d911be0
Update data manipulation bot
2023-11-24 10:05:36 +00:00
Nick Todd
dd7c2b05f8
#2041 : Add RST doc
2023-11-22 08:54:39 +00:00
Marek Wolan
fdb48c0ded
Update docs for Database
2023-11-18 03:46:24 +00:00
Marek Wolan
77f3806ba7
Remove real database in favour of simulated
2023-11-18 03:40:08 +00:00
Marek Wolan
1ec1b319e5
Fix formatting in docs
2023-10-27 12:24:22 +01:00
Czar.Echavez
ac23633d82
#1947 : Added documentation on how the node initialisation works
2023-10-24 15:41:39 +01:00
Czar.Echavez
853bb9eecc
#1943 : unit tests + refactoring HTTP -> Http
2023-10-06 12:10:57 +01:00
Czar.Echavez
4699e87ea8
Merge branch 'dev' into feature/1943-service-web-server
2023-10-04 16:35:23 +01:00
Czar.Echavez
97f0267539
#1796 : apply PR suggestions + fix tests
2023-10-04 11:33:18 +01:00
Czar.Echavez
82da21b073
\#1943:
...
- changelog added
- added documentation + example of using web server + web browser
- extended web server so that it also accepts ip addresses
- web server can differentiate between a normal page request and one that propagates into a DB request
- rename WebServerService -> WebServer
2023-10-03 16:56:35 +01:00
Czar.Echavez
bca3e6344e
#1796 : documentation
2023-09-28 14:09:32 +01:00
Czar.Echavez
c096d06bcd
#1796 : pre installing system software
2023-09-26 15:14:24 +01:00
Czar.Echavez
79615243e4
#1916 : Added example usage for FTP
2023-09-26 12:09:41 +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
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
98e103a984
#1752 : added documentation for DNS Client and Server
2023-09-13 09:48:38 +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
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
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
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
Chris McCarthy
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.
2023-08-10 13:26:51 +01:00
Chris McCarthy
9fbc3c91f7
#1706 - Finished up the Node and Switch MVP. Added full extensive documentation on what's happening at each step.
2023-08-08 20:22:18 +01:00
Chris McCarthy
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.
2023-08-02 21:54:21 +01:00
Chris McCarthy
95f5515d69
#1724 - Added documentation for the transport layer down to data link layer
2023-08-02 12:12:08 +01:00
Chris McCarthy
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
2023-08-01 10:32:16 +01:00
Chris McCarthy
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.
2023-07-31 20:05:36 +01:00