#2457 - Syncing changes made. Updates to documentation and tests
This commit is contained in:
@@ -234,7 +234,9 @@ simulation:
|
||||
endpoint_a_port: 1
|
||||
endpoint_b_hostname: client_1
|
||||
endpoint_b_port: 1
|
||||
bandwidth: 200
|
||||
- endpoint_a_hostname: switch_1
|
||||
endpoint_a_port: 2
|
||||
endpoint_b_hostname: client_2
|
||||
endpoint_b_port: 1
|
||||
bandwidth: 200
|
||||
|
||||
@@ -43,3 +43,6 @@ def test_basic_config():
|
||||
# client 3 should not be online
|
||||
client_3: Computer = network.get_node_by_hostname("client_3")
|
||||
assert client_3.operating_state == NodeOperatingState.OFF
|
||||
|
||||
for link in network.links:
|
||||
assert network.links[link].bandwidth == 200
|
||||
|
||||
Reference in New Issue
Block a user