VM objects are required for deletion/remove from LB

Application Loadbalancer remove and delete will get the id/uuid from the
vm object.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-06-06 09:36:55 +05:30
parent bdada27416
commit c05c1052f5
1 changed files with 2 additions and 2 deletions

View File

@ -170,10 +170,10 @@ class TestInternalLb(cloudstackTestCase):
networkid=ntwk.id)
#5) Assign the VM to the Internal Load Balancer
applb.assign(self.apiclient, vms=[vm.id])
applb.assign(self.apiclient, vms=[vm])
#6) Remove the vm from the Interanl Load Balancer
applb.remove(self.apiclient, vms=[vm.id])
applb.remove(self.apiclient, vms=[vm])
#7) Delete the Load Balancer
applb.delete(self.apiclient)