aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-12-27 13:29:22 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-12-27 13:41:58 +0100
commitc2d961d0ac69db088913efd4bf2e0810fbc08b6e (patch)
tree465cac693aa8b353200834cf32116f71187762fa
parent66f141f3b8dece28d7fe90b5c719b3781d38da9f (diff)
downloadrumba-c2d961d0ac69db088913efd4bf2e0810fbc08b6e.tar.gz
rumba-c2d961d0ac69db088913efd4bf2e0810fbc08b6e.zip
prototypes: Avoid warnings on autobind of non normal IPCPs
Autobind was happening for all IPCPs, regardless if they were normal IPCPs or not. This fixes it so that it is only called for normal IPCPs, which avoids warnings in the logs.
-rw-r--r--rumba/prototypes/ouroboros.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rumba/prototypes/ouroboros.py b/rumba/prototypes/ouroboros.py
index 055ed43..2d92533 100644
--- a/rumba/prototypes/ouroboros.py
+++ b/rumba/prototypes/ouroboros.py
@@ -86,7 +86,7 @@ class Experiment(mod.Experiment):
for ipcp in node.ipcps:
cmds2 = list()
if ipcp.dif_bootstrapper:
- cmd = "irm i b n " + ipcp.name + " autobind"
+ cmd = "irm i b n " + ipcp.name
else:
cmd = "irm i c n " + ipcp.name
@@ -99,7 +99,7 @@ class Experiment(mod.Experiment):
elif isinstance(ipcp.dif, mod.NormalDIF):
cmd += " type normal"
if ipcp.dif_bootstrapper:
- cmd += " layer " + ipcp.dif.name
+ cmd += " layer " + ipcp.dif.name + " autobind"
cmd2 = "irm r n " + ipcp.name
for dif_b in node.dif_registrations[ipcp.dif]:
cmd2 += " layer " + dif_b.name