Skip to content
Snippets Groups Projects
Commit 997e349d authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

fix wrong port

parent 5ffaad8d
No related branches found
No related tags found
No related merge requests found
......@@ -328,8 +328,8 @@ def generate_topohub_GNS3_topology():
# Link the VC server host to sw
array_switches[0].connect(ubuntu_vc_server)
# Link ub
map_connection_ubuntu_base = setup_transit_AS(array_ubuntu_base, array_switches, array_ubuntu_intermediate, g, "192", "123", NUM_UBUNTU_BASE)
map_connection_ubuntu_unctrl = setup_transit_AS(array_ubuntu_unctrl, array_switches, array_ubuntu_intermediate, g, "172", "124", NUM_UBUNTU_UNCTRL)
# Link ub_0 to ubuntu_server
ub_0 = array_ubuntu_base[0]
......@@ -346,6 +346,9 @@ def generate_topohub_GNS3_topology():
ui = array_ubuntu_intermediate[i]
pc.connect(ui)
# Link unctrl
map_connection_ubuntu_unctrl = setup_transit_AS(array_ubuntu_unctrl, array_switches, array_ubuntu_intermediate, g, "172", "124", NUM_UBUNTU_UNCTRL)
# if input("Start Ubuntu VC Server (y/N)?") != "y":
# sys.exit()
threading.Thread(target=run_vc_server, args=[map_connection_ubuntu_base, is_reaction], daemon=True).start()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment