cloudstack: add api_region arg
@ -366,6 +366,7 @@ def main():
api_url = dict(default=None),
api_http_method = dict(choices=['get', 'post'], default='get'),
api_timeout = dict(type='int', default=10),
api_region = dict(default='cloudstack'),
),
required_together = (
['api_key', 'api_secret', 'api_url'],
@ -215,6 +215,7 @@ def main():
@ -251,6 +251,7 @@ def main():
@ -413,6 +413,7 @@ def main():
required_one_of = (
['ip_address', 'network'],
@ -825,6 +825,7 @@ def main():
mutually_exclusive = (
['template', 'iso'],
@ -182,6 +182,7 @@ def main():
@ -239,6 +239,7 @@ def main():
@ -316,6 +316,7 @@ def main():
@ -552,6 +552,7 @@ def main():
@ -390,6 +390,7 @@ def main():
@ -272,6 +272,7 @@ def main():
@ -163,6 +163,7 @@ def main():
['icmp_type', 'icmp_code'],
@ -218,6 +218,7 @@ def main():
@ -275,6 +275,7 @@ def main():
@ -565,6 +565,7 @@ def main():
['url', 'vm'],
@ -274,6 +274,7 @@ def main():