mirror of https://github.com/apache/cloudstack.git
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:
parent
bdada27416
commit
c05c1052f5
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue