Modified test_lb_secondary_ip.py file: Local variable accessed as class variable

Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>

This closes #344
This commit is contained in:
pritisarap12 2015-06-02 13:19:19 +05:30 committed by Daan Hoogland
parent 06f9ee63bb
commit d6052a31a3

View File

@ -1984,7 +1984,7 @@ class TestExternalLoadBalancer(cloudstackTestCase):
defaultEthernetDevice = str(response[2].split()[0])
cmd = "ip addr add {0}/24 broadcast {0} dev {1}".format(
self.secondaryip.ipaddress, defaultEthernetDevice)
secondaryip.ipaddress, defaultEthernetDevice)
sshClient.execute(cmd)
sshClient.execute("ip addr show")