cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahu...@apache.org
Subject [45/50] [abbrv] git commit: There can be only one physical network in basic zone
Date Thu, 13 Sep 2012 18:43:49 GMT
There can be only one physical network in basic zone


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

Branch: refs/heads/javelin
Commit: cc6dae1eb4794e79f22e245004886809854100cd
Parents: ce59b31
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Wed Aug 22 16:12:20 2012 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Wed Sep 12 18:48:33 2012 +0530

----------------------------------------------------------------------
 tools/marvin/marvin/deployDataCenter.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/cc6dae1e/tools/marvin/marvin/deployDataCenter.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/deployDataCenter.py b/tools/marvin/marvin/deployDataCenter.py
index 52c701b..177c070 100644
--- a/tools/marvin/marvin/deployDataCenter.py
+++ b/tools/marvin/marvin/deployDataCenter.py
@@ -289,7 +289,7 @@ class deployDataCenters():
                 listnetworkoffering = listNetworkOfferings.listNetworkOfferingsCmd()
                 
                 listnetworkoffering.name = "DefaultSharedNetscalerEIPandELBNetworkOffering"
\
-                        if len(filter(lambda x : x.typ == 'Public', zone.physical_networks.traffictypes))
> 0 \
+                        if len(filter(lambda x : x.typ == 'Public', zone.physical_networks[0].traffictypes))
> 0 \
                         else "DefaultSharedNetworkOfferingWithSGService"
 
                 listnetworkofferingresponse = \
@@ -318,7 +318,7 @@ class deployDataCenters():
         return
     
     def isEipElbZone(self, zone):
-        if zone.networktype == "Basic" and len(filter(lambda x : x.typ == 'Public', zone.physical_networks.traffictypes))
> 0:
+        if zone.networktype == "Basic" and len(filter(lambda x : x.typ == 'Public', zone.physical_networks[0].traffictypes))
> 0:
             return True
         return False
 


Mime
View raw message