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

update vc_node to add br0 after VC algo

parent 704de563
No related branches found
No related tags found
No related merge requests found
......@@ -232,6 +232,10 @@ def proceed_simple_VC():
print("I am", "IN VC" if node.state == State.DECIDED_IN_VC else "NOT in VC")
# Start a new Python process to run another script based on Node decision
subprocess.run("/home/node/Desktop/gns3_unikernel_testbed/ubuntu_base /./initiate", shell=True, check=True)
print("A bridge br0 created")
if node.state == State.DECIDED_IN_VC:
subprocess.Popen([sys.executable, '/home/node/Desktop/gns3_unikernel_testbed/ubuntu_base/opportunistic_monitor.py'])
elif node.state == State.DECIDED_NOT_VC:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment