cloudstack: use CS_HYPERVISORS from cloudstack utils

reviewable/pr18780/r1
Rene Moser 9 years ago
parent 1b5c9ee7f9
commit db31914f58

@ -887,7 +887,7 @@ def main():
disk_size = dict(type='int', default=None), disk_size = dict(type='int', default=None),
root_disk_size = dict(type='int', default=None), root_disk_size = dict(type='int', default=None),
keyboard = dict(choices=['de', 'de-ch', 'es', 'fi', 'fr', 'fr-be', 'fr-ch', 'is', 'it', 'jp', 'nl-be', 'no', 'pt', 'uk', 'us'], default=None), keyboard = dict(choices=['de', 'de-ch', 'es', 'fi', 'fr', 'fr-be', 'fr-ch', 'is', 'it', 'jp', 'nl-be', 'no', 'pt', 'uk', 'us'], default=None),
hypervisor = dict(choices=['KVM', 'VMware', 'BareMetal', 'XenServer', 'LXC', 'HyperV', 'UCS', 'OVM', 'Simulator'], default=None), hypervisor = dict(choices=CS_HYPERVISORS, default=None),
security_groups = dict(type='list', aliases=[ 'security_group' ], default=[]), security_groups = dict(type='list', aliases=[ 'security_group' ], default=[]),
affinity_groups = dict(type='list', aliases=[ 'affinity_group' ], default=[]), affinity_groups = dict(type='list', aliases=[ 'affinity_group' ], default=[]),
domain = dict(default=None), domain = dict(default=None),

@ -592,7 +592,7 @@ def main():
is_routing = dict(type='bool', default=False), is_routing = dict(type='bool', default=False),
checksum = dict(default=None), checksum = dict(default=None),
template_filter = dict(default='self', choices=['featured', 'self', 'selfexecutable', 'sharedexecutable', 'executable', 'community']), template_filter = dict(default='self', choices=['featured', 'self', 'selfexecutable', 'sharedexecutable', 'executable', 'community']),
hypervisor = dict(choices=['KVM', 'VMware', 'BareMetal', 'XenServer', 'LXC', 'HyperV', 'UCS', 'OVM', 'Simulator'], default=None), hypervisor = dict(choices=CS_HYPERVISORS, default=None),
requires_hvm = dict(type='bool', default=False), requires_hvm = dict(type='bool', default=False),
password_enabled = dict(type='bool', default=False), password_enabled = dict(type='bool', default=False),
template_tag = dict(default=None), template_tag = dict(default=None),

Loading…
Cancel
Save