
17 Mar
2009
17 Mar
'09
7:13 a.m.
Kaitlin Rupert wrote:
@@ -210,10 +211,25 @@ subnet = '192.168.122.' self.add_sub_node(network, 'bridge', name=self.vbr, stp='on', forwardDelay='0') - ip = self.add_sub_node(network, 'ip', address=subnet+'1', + ip_base = random.randint(1, 100) + addr = subnet+'%d' % ip_base + addr = subnet+'1' You are reassigning addr variable which removes the purpose of assigning new random ip.
Oops! I had made some changes to do some testing, and I forgot to revert my changes before sending. =( I'll clean this up and send again.
No problem at all... :-) -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik@linux.vnet.ibm.com