Sandbox scripts for generating one host configuration

- marvin/sandbox/advanced
- marvin/sandbox/basic

* supports generating configurations for cloudstack deployment with
properties files. The format of the config, properties files and the
process is explained in the tutorial:

http://wiki.cloudstack.org/display/QA/Testing+with+python#Testingwithpython-DeploymentConfiguration
This commit is contained in:
Prasanna Santhanam 2012-06-29 13:24:57 +05:30 committed by Prasanna Santhanam
parent 7026822e20
commit ba33a25c57
2 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,43 @@
[globals]
#global settings in cloudstack
expunge.delay=60
expunge.interval=60
storage.cleanup.interval=300
account.cleanup.interval=600
expunge.workers=3
workers=10
use.user.concentrated.pod.allocation=false
vm.allocation.algorithm=random
vm.op.wait.interval=5
guest.domain.suffix=sandbox.kvm
instance.name=QA
direct.agent.load.size=1000
default.page.size=10000
check.pod.cidrs=true
secstorage.allowed.internal.sites=10.147.28.0/24
[environment]
dns=10.147.28.6
mshost=localhost
mysql.host=localhost
mysql.cloud.user=cloud
mysql.cloud.passwd=cloud
[cloudstack]
#guest VLAN
zone.vlan=675-679
#management network
private.gateway=10.147.29.1
private.pod.startip=10.147.29.150
private.pod.endip=10.147.29.159
private.netmask=255.255.255.0
#public network
public.gateway=10.147.31.1
public.vlan.startip=10.147.31.150
public.vlan.endip=10.147.31.159
public.netmask=255.255.255.0
#hypervisor host information
hypervisor=Simulator
host=sim
host.password=password
#storage pools
primary.pool=nfs://10.147.28.6:/export/home/sandbox/kamakura
secondary.pool=nfs://10.147.28.6:/export/home/sandbox/sstor

View File

@ -36,7 +36,6 @@ setup(name="Marvin",
packages=["marvin", "marvin.cloudstackAPI", "marvin.sandbox", "marvin.sandbox.advanced", "marvin.sandbox.basic", "marvin.pymysql", "marvin.pymysql.constants", "marvin.pymysql.tests"],
license="LICENSE.txt",
install_requires=[
"Python>=2.7",
"paramiko",
"nose"
],