Czar.Echavez
8b85d5d55b
#1947 : node startup/shutdown now take multiple timesteps to complete
2023-10-24 10:11:50 +01:00
Czar.Echavez
724beb1a29
#1947 : folder/file scan now take multiple time steps to complete
2023-10-23 15:58:37 +01:00
Czar.Echavez
4ee2235dd1
#1947 : temp commit what is done so far
2023-10-16 11:42:56 +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
Marek Wolan
2722abe428
Fix typos and formattig (based on PR Review)
2023-10-09 11:49:38 +01:00
Marek Wolan
df22d0de0b
Merge remote-tracking branch 'origin/dev' into feature/1812-traverse-actions-dict
2023-10-09 11:39:31 +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
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
4b5a73bd32
#1943 : web server + client + tests + a few improvements to syslogging
2023-10-03 14:59:48 +01:00
Czar.Echavez
fdebfce406
#1796 : Fix test + making the restore test better
2023-10-02 12:14:59 +01:00
Czar.Echavez
6202d320a6
#1796 : Add ability to create and restore database backups + add more sys log messages + remove the link size checks temporarily
2023-09-28 12:23:49 +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
860b3fb801
Add test to new action functionliaty
2023-09-19 16:11:42 +01:00
Marek Wolan
610517d817
Underscore 'parent' refs to make pydantic happy.
...
Rename attributes like connected_link and connected_node to start with
an underscore.
This will prevent circular dependency and stack recursion depth error.
2023-09-19 11:28:13 +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
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
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
f19dc9892b
#1816 - Fixed tests. Used node and link added number (id) in observation space.
2023-09-11 11:31: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
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
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
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
415ee3b3a7
Merge branch 'dev' into feature/1800_model-a-basic-router-subclass-of-node
2023-08-31 11:39:21 +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
f0b82cbdfb
Add ability to uninstall service
2023-08-29 14:15:49 +01:00
Marek Wolan
9c8b7a7b7a
Merge remote-tracking branch 'origin/feature/1789-add-convenience-methods-to-network-object' into feature/1801-Database
2023-08-29 13:22:14 +01:00
Marek Wolan
94325d1fde
Add Install method to software.
2023-08-29 13:21:34 +01:00
Marek Wolan
6e602aa151
Fix unit tests by removing warning checks
2023-08-25 17:56:05 +01:00
Chris McCarthy
c6f71600fc
#1800 - Fixed the ping functionality so that it actually checks for replies and returns True if the right number of replies have been received.
...
- Added the foundations of a Router class along with ACLRule and RouteTableEntry classes.
2023-08-25 09:07:32 +01:00
Marek Wolan
fec44aef53
Rename connect_nodes to connect and fix minor bug
2023-08-24 13:03:16 +01:00
Marek Wolan
7058c7e9a8
Rename networkcontainer to network
2023-08-24 12:41:46 +01:00
Marek Wolan
a818de8f01
Add ability to connect nodes via the network.
2023-08-24 12:40:00 +01:00
Marek Wolan
4077eb3a5c
Add tests for network node adding/removal
2023-08-24 10:26:17 +01: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
Chris McCarthy
ad81a81949
#1706 - Applied some code suggestions from the PR
2023-08-09 20:38:45 +01:00
Marek Wolan
596bbaacde
Change enum strings to uppercase
2023-08-09 12:06:06 +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
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.
2023-08-07 19:33:52 +01:00
Marek Wolan
f0d7e03fd7
Add docs and tests
2023-08-07 10:55:29 +01:00
Marek Wolan
ac9b83cc42
Merge remote-tracking branch 'origin/dev' into feature/1716-accounts-and-groups
2023-08-07 09:15:35 +01:00