CLOUDSTACK-8217: Fixed marvin base library method for passing 
'lbdevicecapacity' parameter while adding netscaler device

Signed-off-by: SrikanteswaraRao Talluri <[email protected]>


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

Branch: refs/heads/hotfix/scp-exception
Commit: 015aed9befcd4f433bebe2f01135456b9688f3c9
Parents: eab63a6
Author: Gaurav Aradhye <[email protected]>
Authored: Thu Feb 5 15:53:20 2015 +0530
Committer: SrikanteswaraRao Talluri <[email protected]>
Committed: Fri Feb 13 12:53:54 2015 +0530

----------------------------------------------------------------------
 tools/marvin/marvin/lib/base.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/015aed9b/tools/marvin/marvin/lib/base.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py
index e38c394..bc68630 100755
--- a/tools/marvin/marvin/lib/base.py
+++ b/tools/marvin/marvin/lib/base.py
@@ -3655,8 +3655,7 @@ class NetScaler:
             str(services["privateinterface"]) + '&'
         url = url + 'numretries=' + str(services["numretries"]) + '&'
 
-        if not services["lbdevicededicated"] and \
-           "lbdevicecapacity" in services:
+        if "lbdevicecapacity" in services:
             url = url + 'lbdevicecapacity=' + \
                 str(services["lbdevicecapacity"]) + '&'
 

Reply via email to