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

fix wrong location

parent 62fefebd
Branches
No related tags found
No related merge requests found
......@@ -260,14 +260,14 @@ if __name__ == "__main__":
# Create Windows hosts
array_window_hosts.append(Node(1, 1, GNS3Manager.create_window(pc_location_lst[0]["x"], pc_location_lst[0]["y"], 1), WINDOW_TYPE))
for i in range(1, NUM_HOST):
y_temp = pc_location_lst[i]["x"]
x_temp = pc_location_lst[i]["y"]
x_temp = pc_location_lst[i]["x"]
y_temp = pc_location_lst[i]["y"]
array_window_hosts.append(Node(1, 1, GNS3Manager.create_window(x_temp, y_temp, 0), WINDOW_TYPE))
# create ubuntu base
for i in range(NUM_UBUNTU_BASE):
y_temp = ub_location_lst[i]["x"]
x_temp = ub_location_lst[i]["y"]
x_temp = ub_location_lst[i]["x"]
y_temp = ub_location_lst[i]["y"]
array_ubuntu_base.append(Node(1, MAX_SIZE_OF_UBUNTU_BASE_PORT, GNS3Manager.create_ubuntu_base(x_temp, y_temp), UBUNTU_BASE_TYPE))
# create dhcp unikernel
......@@ -282,8 +282,8 @@ if __name__ == "__main__":
# create ubuntu intermediate
for i in range(NUM_UBUNTU_INTERMEDIATE):
y_temp = ui_location_lst[i]["x"]
x_temp = ui_location_lst[i]["y"]
x_temp = ui_location_lst[i]["x"]
y_temp = ui_location_lst[i]["y"]
array_ubuntu_intermediate.append(Node(1, MAX_SIZE_OF_UBUNTU_BASE_PORT, GNS3Manager.create_ubuntu_intermediate(x_temp, y_temp), UBUNTU_INTERMEDIATE_TYPE))
if is_default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment