You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2013/06/10 02:53:56 UTC

[07/50] [abbrv] git commit: updated refs/heads/vmsync to aaa16af

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 <ts...@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/vmsync
Commit: c05c1052f516178d75b667cbc1c060c85265692d
Parents: bdada27
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Thu Jun 6 09:36:55 2013 +0530
Committer: Prasanna Santhanam <ts...@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)