Logo
Explore Help
Sign In
oxbrbtx/PrimAITE
1
0
Fork 0
You've already forked PrimAITE
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
dev
PrimAITE/tests/integration_tests/network/test_switched_network.py

7 lines
306 B
Python
Raw Permalink Normal View History

Change copyright to 2025
2025-01-02 15:05:06 +00:00
# © Crown-owned copyright 2025, Defence Science and Technology Laboratory UK
#2248 - Tidying up the tests so that they use updated networks
2024-02-02 16:55:43 +00:00
def test_switched_network(client_switch_server):
#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
"""Tests a node can ping another node via the switch."""
#2248 - Tidying up the tests so that they use updated networks
2024-02-02 16:55:43 +00:00
computer, switch, server = client_switch_server
#2248 - ICMP now working as a service using the session manager for transmission. Now started to comb through the tests to fix anything up.
2024-02-02 16:20:15 +00:00
#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
assert computer.ping(server.network_interface[1].ip_address)
Reference in New Issue Copy Permalink
Powered by Gitea Page: 75ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API