You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
508 B

def set_options(parser):
parser.add_argument('--driver',
default='openstack',
choices=['libvirt', 'openstack'])
parser.add_argument('--inventory', action='append')
o = parser.add_argument_group(title='OpenStack',
description='Only when --driver=openstack')
o.add_argument(
'--cloud',
default='production',
help='Name of the cloud in which resources are provisionned')
return parser