Skip to content
Snippets Groups Projects
Commit 37bfa9d0 authored by BRONES Romain's avatar BRONES Romain
Browse files

Add reset on comlbp on stop, insist on ack ccn error

parent e74d2293
No related branches found
No related tags found
No related merge requests found
...@@ -170,6 +170,9 @@ def start_ccn(nodename): ...@@ -170,6 +170,9 @@ def start_ccn(nodename):
return return
logger.info("Starting CCN on {}".format(nodename)) logger.info("Starting CCN on {}".format(nodename))
ack_ccn(nodename)
nint=1 nint=1
if 'central' in nodename: if 'central' in nodename:
nint = 4 nint = 4
...@@ -292,6 +295,9 @@ def stop_comlbp(cellnodename): ...@@ -292,6 +295,9 @@ def stop_comlbp(cellnodename):
return return
logger.info("Stopping ComLBP on {}".format(cellnodename)) logger.info("Stopping ComLBP on {}".format(cellnodename))
for n in range(4):
prx["comlbp{}_control".format(n)] = 1
time.sleep(1)
for n in range(4): for n in range(4):
prx["comlbp{}_control".format(n)] = 0 prx["comlbp{}_control".format(n)] = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment