From c05c1052f516178d75b667cbc1c060c85265692d Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Thu, 6 Jun 2013 09:36:55 +0530 Subject: [PATCH] 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 --- test/integration/smoke/test_internal_lb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/smoke/test_internal_lb.py b/test/integration/smoke/test_internal_lb.py index 0de2d4cf338..0535d6a5345 100644 --- a/test/integration/smoke/test_internal_lb.py +++ b/test/integration/smoke/test_internal_lb.py @@ -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)