Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
-l <limit>, --limit <limit>
Queue at most this many jobs
[default: 0]
- -w <worker>, --worker <worker>
- Which worker to use (type of machine)
+ -m <type>, --machine-type <type>
+ Machine type
[default: plana]
"""
name = args['--name']
priority = int(args['--priority'])
num = int(args['--num'])
- worker = args['--worker']
+ machine_type = args['--machine-type']
owner = args['--owner']
base = args['--base']
suite = args['--suite']
teuthology.log.setLevel(logging.DEBUG)
arch = get_arch(base_yaml_paths)
- machine_type = get_machine_type(base_yaml_paths)
+
+ if ',' in machine_type:
+ worker = 'multi'
+ else:
+ worker = machine_type
base_args = [
os.path.join(os.path.dirname(sys.argv[0]), 'teuthology-schedule'),