From 2be506dbdf64b1d4367d5d3f9aec7fae822963fc Mon Sep 17 00:00:00 2001 From: Darren Worrall Date: Tue, 11 Aug 2015 15:42:55 +0100 Subject: [PATCH] Add alias --- cloud/cloudstack/cs_instance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/cloudstack/cs_instance.py b/cloud/cloudstack/cs_instance.py index 6ca3a9f3b38..7bd06a797d9 100644 --- a/cloud/cloudstack/cs_instance.py +++ b/cloud/cloudstack/cs_instance.py @@ -103,6 +103,7 @@ options: - Mutually exclusive with C(networks) option. required: false default: null + aliases: [ 'ip_to_network' ] disk_offering: description: - Name of the disk offering to be used. @@ -821,7 +822,7 @@ def main(): template = dict(default=None), iso = dict(default=None), networks = dict(type='list', aliases=[ 'network' ], default=None), - ip_to_networks = dict(type='list', default=None), + ip_to_networks = dict(type='list', aliases=['ip_to_network'], default=None), ip_address = dict(defaul=None), ip6_address = dict(defaul=None), disk_offering = dict(default=None),