incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edison Su <Edison...@citrix.com>
Subject RE: patch for python test client configGenerator.py
Date Fri, 22 Jun 2012 17:25:50 GMT
Applied, thanks!
Prasanna, do we still need tools/testClient folder? Seems you already copy the code to tools/marvin/marvin.

> -----Original Message-----
> From: Jason Bausewein [mailto:jason.bausewein@tier3.com]
> Sent: Friday, June 22, 2012 9:59 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: patch for python test client configGenerator.py
> 
> 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