mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07: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:
parent
833512b07c
commit
01f63ee871
16 changed files with 35 additions and 69 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue