#2418 Add Printer and Wireless router to config parser

This commit is contained in:
Marek Wolan
2024-03-26 12:06:23 +00:00
parent 8b8940f465
commit e560529639
4 changed files with 26 additions and 3 deletions

View File

@@ -681,6 +681,12 @@ simulation:
- ref: client_2_dns_client
type: DNSClient
- ref: HP_LaserJet_Pro_4102fdn_printer
type: printer
hostname: HP_LaserJet_Pro_4102fdn_printer
ip_address: 192.168.10.99
subnet_mask: 255.255.255.0
links:
- ref: router_1___switch_1
endpoint_a_ref: router_1

View File

@@ -29,7 +29,7 @@ class TestPrimaiteSession:
assert session.env
assert session.env.game.simulation.network
assert len(session.env.game.simulation.network.nodes) == 10
assert len(session.env.game.simulation.network.nodes) == 11
@pytest.mark.skip(reason="Session is not being maintained and will be removed in the subsequent beta release.")
@pytest.mark.parametrize("temp_primaite_session", [[CFG_PATH]], indirect=True)