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
Marek Wolan
1dccceaf56
Verify that action tree is starting to work!
2023-09-05 15:53:22 +01:00
Marek Wolan
2b68ed813c
Make actions more recursive
2023-09-05 14:51:04 +01:00
Marek Wolan
0c362da789
Merge remote-tracking branch 'origin/dev' into feature/1812-traverse-actions
2023-09-05 13:20:20 +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
Christopher McCarthy
0892a976fd
Apply suggestions from code review
2023-09-04 18:37:05 +00:00
Marek Wolan
289f818266
Apply suggestions from code review
2023-09-04 16:11:47 +00:00
Chris McCarthy
596ad20cc6
#1800 - Added better logging and error messages to AccessControlList class. Updated usage of extra following pydantic deprecated warning "pydantic.config.Extra is deprecated, use literal values instead (e.g. extra='allow')"
2023-09-04 16:44:29 +01:00
Chris McCarthy
ccad5ba8a3
#1800 - Ran pre-commit
2023-09-04 16:34:55 +01:00
Chris McCarthy
5981bc7255
Merge remote-tracking branch 'devops/feature/1800_model-a-basic-router-subclass-of-node' into feature/1800_model-a-basic-router-subclass-of-node
2023-09-04 14:58:52 +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
Christopher McCarthy
d9feb67e02
Apply suggestions from code review
2023-09-04 11:20:40 +00: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
33b4911cb1
Move actions to pydantic
2023-09-04 10:20:06 +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
89ad22aceb
#1800 - Synced with dev.
...
- Added the UC2 network.
- Added a Computer class.
2023-08-31 13:35:56 +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
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
Chris McCarthy
e73d7f49d6
#1800 - Fixed routing and processing of ICMP packets in the Router class
2023-08-31 11:03:38 +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
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
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
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
6e602aa151
Fix unit tests by removing warning checks
2023-08-25 17:56:05 +01:00
Marek Wolan
ae6e835955
Apply suggestions from code review.
2023-08-25 15:58:07 +01:00
Marek Wolan
a9e969aa13
init work on database
2023-08-25 15:29:53 +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
05bb0f295b
Update notebook tutorial on creating a simulation
2023-08-24 13:06:45 +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
f38b423886
Update comment
2023-08-24 10:27:30 +01:00
Marek Wolan
4077eb3a5c
Add tests for network node adding/removal
2023-08-24 10:26:17 +01:00
Marek Wolan
a82ffb9747
Add notebook outputs back into src control
2023-08-23 15:44:23 +01:00
Marek Wolan
1613bbe27a
Add methods for adding/removing nodes form network
2023-08-23 14:41:30 +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
Marek Wolan
7e64acd368
Update container docstrings
2023-08-21 10:04:23 +01:00
SunilSamra
a0b258a597
#1752 - Added a dns_lookup function to dns_server.py
2023-08-21 09:02:04 +01:00
Marek Wolan
7c16a9cdde
Update notebook
2023-08-20 18:43:21 +01:00
Marek Wolan
3911010777
update notebook
2023-08-20 18:42:58 +01:00
Marek Wolan
01c912c094
fix type hints and describe state functions
2023-08-20 18:38:02 +01:00
Marek Wolan
6ca53803cd
Describe state
2023-08-17 15:32:12 +01:00