incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Bausewein <jason.bausew...@tier3.com>
Subject patch for python test client configGenerator.py
Date Fri, 22 Jun 2012 16:58:53 GMT
I have a small patch for the configGenerator.py in the test client.   I needed to change the
case in the sim url so the SimulatorDiscover will detect the simulator hosts.

Thanks,
Jason

diff --git a/tools/testClient/configGenerator.py b/tools/testClient/configGenerator.py
index a5bf0ea..52373bf 100644
--- a/tools/testClient/configGenerator.py
+++ b/tools/testClient/configGenerator.py
@@ -198,8 +198,8 @@ def describe_setup_in_basic_mode():
                     h.password = "password"
                     memory = 8*1024*1024*1024
                     localstorage=1*1024*1024*1024*1024
-                    #h.url = "http://Sim/%d%d%d%d/cpucore=1&cpuspeed=8000&memory=%d&localstorage=%d"%(l,i,j,k,memory,localstorage)
-                    h.url = "http://Sim/%d%d%d%d"%(l,i,j,k)
+                    #h.url = "http://sim/%d%d%d%d/cpucore=1&cpuspeed=8000&memory=%d&localstorage=%d"%(l,i,j,k,memory,localstorage)
+                    h.url = "http://sim/%d%d%d%d"%(l,i,j,k)
                     c.hosts.append(h)
                 
                 '''add 2 primary storages'''
@@ -297,8 +297,8 @@ def describe_setup_in_advanced_mode():
                     h.password = "password"
                     memory = 8*1024*1024*1024
                     localstorage=1*1024*1024*1024*1024
-                    #h.url = "http://Sim/%d%d%d%d/cpucore=1&cpuspeed=8000&memory=%d&localstorage=%d"%(l,i,j,k,memory,localstorage)
-                    h.url = "http://Sim/%d%d%d%d"%(l,i,j,k)
+                    #h.url = "http://sim/%d%d%d%d/cpucore=1&cpuspeed=8000&memory=%d&localstorage=%d"%(l,i,j,k,memory,localstorage)
+                    h.url = "http://sim/%d%d%d%d"%(l,i,j,k)
                     c.hosts.append(h)
                 
                 '''add 2 primary storages'''



Mime
View raw message