Add alias

reviewable/pr18780/r1
Darren Worrall 9 years ago
parent 53e447e38e
commit 2be506dbdf

@ -103,6 +103,7 @@ options:
- Mutually exclusive with C(networks) option. - Mutually exclusive with C(networks) option.
required: false required: false
default: null default: null
aliases: [ 'ip_to_network' ]
disk_offering: disk_offering:
description: description:
- Name of the disk offering to be used. - Name of the disk offering to be used.
@ -821,7 +822,7 @@ def main():
template = dict(default=None), template = dict(default=None),
iso = dict(default=None), iso = dict(default=None),
networks = dict(type='list', aliases=[ 'network' ], 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), ip_address = dict(defaul=None),
ip6_address = dict(defaul=None), ip6_address = dict(defaul=None),
disk_offering = dict(default=None), disk_offering = dict(default=None),

Loading…
Cancel
Save