~doanac/utah/bug1179531

« back to all changes in this revision

Viewing changes to utah/config.py

  • Committer: Javier Collado
  • Date: 2013-05-01 23:13:12 UTC
  • mfrom: (879.1.43 consolidate-scripts)
  • Revision ID: javier.collado@canonical.com-20130501231312-vlf5i89gccjojpnz
Merged changes to consolidate scripts functionality

Source branch: lp:~nuclearbob/utah/consolidate-scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
    boottimeout=90,
61
61
    # Time to wait between checking if system is available over ssh
62
62
    checktimeout=15,
 
63
    # Default setting for whether to clean up after a test run
 
64
    clean=True,
63
65
    # Default log level to print to the console
64
66
    consoleloglevel=logging.WARNING,
65
67
    # Default debug setting
67
69
    # Command to download test images
68
70
    dlcommand='dl-ubuntu-test-iso',
69
71
    # Percentage increment at which to report download updates
70
 
    dlpercentincrement=1,
 
72
    dlpercentincrement=10,
71
73
    # Number of times to retry image download
72
74
    dlretries=10,
73
75
    # Default diskbus for VMs
93
95
    installtype='mini',
94
96
    # Directory to store local images
95
97
    isodir='/var/cache/utah/iso',
 
98
    # Overall timeout for run_utah_tests
 
99
    jobtimeout=None,
96
100
    # Default kernel for installation
97
101
    kernel=None,
98
102
    # Default location of log directory
99
103
    logpath=os.path.join('/', 'var', 'log', 'utah'),
 
104
    # Directory to hold non-temporary files (mostly for VM)
 
105
    machinedir=None,
100
106
    # Default machine ID
101
107
    machineid=None,
 
108
    # Machine information object for physical machines
 
109
    machineinfo=None,
102
110
    # Default machine type
103
111
    machinetype='virtual',
 
112
    # UUID for machine
 
113
    machineuuid=None,
 
114
    # List of mac addresses for VM
 
115
    macs=[],
104
116
    # Default machine name
105
117
    name=None,
106
118
    # Default setting of installing a new machine vs. using an existing one
117
129
    outputpreseed=False,
118
130
    # Directory where utah client and other needed packages reside
119
131
    packagedir=os.path.join('/', 'usr', 'share', 'utah'),
 
132
    # Command to use to power cycle machine
 
133
    powercmd=None,
120
134
    # Time to wait between power off and power on for physical systems
121
135
    powertimeout=15,
 
136
    # Preboot for bamboo-feeder panda boards
 
137
    preboot=None,
 
138
    # Prefix for machine names
 
139
    prefix='utah',
122
140
    # Default preseed
123
141
    preseed=os.path.join('/', 'etc', 'utah', 'default-preseed.cfg'),
124
142
    # Location of PXE configuration files
125
143
    pxedir=os.path.join('/', 'var', 'lib', 'tftpboot', 'pxelinux.cfg'),
126
144
    # libvirt URL for virtual machine creation
127
145
    qemupath='qemu:///system',
 
146
    # default timeout between retry attempts
 
147
    retry_timeout=3,
128
148
    # Default setting for configuration rewriting
129
149
    rewrite='all',
130
150
    # Time to wait for client process to finish in run.py
140
160
        'quantal',
141
161
        'raring',
142
162
    ],
 
163
    # sqlite database connection timeout
 
164
    # a value higher than the default is used to avoid db locking problems
 
165
    sqlite3_db_connection_timeout=30,
143
166
    # Default machine template
144
167
    template=None,
 
168
    # location of the jinja2 templates used by the provisionig module
 
169
    template_dir=os.path.join('/', 'usr', 'share', 'utah', 'templates'),
145
170
    # Directory to hold web-accessible files
146
171
    wwwdir=os.path.join('/', 'var', 'www', 'utah'),
 
172
    # Default architecture variant (armel, armhd, non-pae, etc.)
 
173
    variant=None,
147
174
    # Default VM XML file
148
175
    xml=os.path.join('/', 'etc', 'utah', 'default-vm.xml'),
149
 
    # sqlite database connection timeout
150
 
    # a value higher than the default is used to avoid db locking problems
151
 
    sqlite3_db_connection_timeout=30,
152
 
    # location of the jinja2 templates used by the provisionig module
153
 
    template_dir=os.path.join('/', 'usr', 'share', 'utah', 'templates'),
154
176
 
155
177
    install_steps=[
156
178
        {
208
230
            'timeout': 180,
209
231
        }
210
232
    ],
211
 
 
212
 
    # default timeout between retry attempts
213
 
    retry_timeout=3,
214
233
)
215
234
 
216
235
# These depend on the local user/path, and need to be filtered out