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

fix bug run opportunistic from VC

parent d3d5fd23
No related branches found
No related tags found
Loading
......@@ -233,9 +233,9 @@ def proceed_simple_VC():
# Start a new Python process to run another script based on Node decision
if node.state == State.DECIDED_IN_VC:
subprocess.Popen([sys.executable, '~/Desktop/gns3_unikernel_testbed/ubuntu_base/opportunistic_monitor.py'])
subprocess.Popen([sys.executable, '/home/node/Desktop/gns3_unikernel_testbed/ubuntu_base/opportunistic_monitor.py'])
elif node.state == State.DECIDED_NOT_VC:
subprocess.Popen([sys.executable, '~/Desktop/gns3_unikernel_testbed/ubuntu_base/opportunistic_node.py'])
subprocess.Popen([sys.executable, '/home/node/Desktop/gns3_unikernel_testbed/ubuntu_base/opportunistic_node.py'])
else:
print("Error I cannot decide!!")
......
import socket, struct
import time
import threading
import threading, sys
# Configuration
LISTEN_PORT = 12346 # Specify the port number to listen on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment