mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
cloudstack: fix E326 (#54657)
* cloudstack: remove choice list for hypervisor param * cloudstack: streamline network_type with returned value by the API * cloudstack: remove E326 * add changelog fragment
This commit is contained in:
@@ -22,17 +22,6 @@ except ImportError:
|
||||
CS_IMP_ERR = traceback.format_exc()
|
||||
HAS_LIB_CS = False
|
||||
|
||||
CS_HYPERVISORS = [
|
||||
'KVM', 'kvm',
|
||||
'VMware', 'vmware',
|
||||
'BareMetal', 'baremetal',
|
||||
'XenServer', 'xenserver',
|
||||
'LXC', 'lxc',
|
||||
'HyperV', 'hyperv',
|
||||
'UCS', 'ucs',
|
||||
'OVM', 'ovm',
|
||||
'Simulator', 'simulator',
|
||||
]
|
||||
|
||||
if sys.version_info > (3,):
|
||||
long = int
|
||||
|
||||
Reference in New Issue
Block a user