Only accept supported services for rax module
Even though others are possible, fail early on unsupported ones.
This commit is contained in:
parent
55ef1d6e47
commit
59d0fb6c95
1 changed files with 4 additions and 2 deletions
|
@ -105,8 +105,10 @@ except ImportError:
|
|||
print("failed=True msg='pyrax required for this module'")
|
||||
sys.exit(1)
|
||||
|
||||
SUPPORTEDSERVICES = ['cloudservers', 'cloudfiles', 'cloud_blockstorage',
|
||||
'cloud_databases', 'cloud_loadbalancers']
|
||||
# These are possible services, but only cloudservers is supported at this time
|
||||
#SUPPORTEDSERVICES = ['cloudservers', 'cloudfiles', 'cloud_blockstorage',
|
||||
# 'cloud_databases', 'cloud_loadbalancers']
|
||||
SUPPORTEDSERVICES = ['cloudservers']
|
||||
|
||||
def cloudservers(module, state, name, flavor, image, meta, key_name, files,
|
||||
wait, wait_timeout):
|
||||
|
|
Loading…
Reference in a new issue