X-Git-Url: http://git.onelab.eu/?p=tests.git;a=blobdiff_plain;f=system%2FTestBonding.py;h=d9d8c1d08c09b9a51992e258dbcc7a2d30462388;hp=9f4c43263ddad299a5123983211a37294461cddb;hb=6f9cfa7ae380b6582f2ef85b39d01399093baf11;hpb=ebb13397ac064e2d85861908fa68523d2c1aa942 diff --git a/system/TestBonding.py b/system/TestBonding.py index 9f4c432..d9d8c1d 100644 --- a/system/TestBonding.py +++ b/system/TestBonding.py @@ -107,7 +107,7 @@ class TestBonding(object): if self.persistent_load(): print("Re-using bonding nodes attributes from {}".format(self.persistent_name())) else: - print("Could not load bonding nodes attributes from {}".format(self.persistent_name())) + print("Sensing for an avail. IP (Could not load from {})".format(self.persistent_name())) vnode_pool = self.substrate.vnode_pool vnode_pool.sense() try: @@ -119,6 +119,8 @@ class TestBonding(object): except: raise Exception("Cannot provision bonding node") + print("Bonding on node {} - {}".format(self.vnode_hostname, self.vnode_ip)) + # implement the node on another IP node_spec['node_fields']['hostname'] = self.vnode_hostname node_spec['interface_fields']['ip'] = self.vnode_ip