cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject [07/50] [abbrv] git commit: updated refs/heads/object_store to 18aeef3
Date Wed, 12 Jun 2013 18:22:16 GMT
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>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c05c1052
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c05c1052
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c05c1052

Branch: refs/heads/object_store
Commit: c05c1052f516178d75b667cbc1c060c85265692d
Parents: bdada27
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Thu Jun 6 09:36:55 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Thu Jun 6 09:37:42 2013 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_internal_lb.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c05c1052/test/integration/smoke/test_internal_lb.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_internal_lb.py b/test/integration/smoke/test_internal_lb.py
index 0de2d4c..0535d6a 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)


Mime
View raw message