1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

cs_network_offering: Add choice list for supported_services in arg_spec (#53901)

This commit is contained in:
David Passante 2019-03-16 13:43:27 +01:00 committed by René Moser
parent 851cfc0c18
commit e62fc508ad
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- cs_network_offering - Add a choice list for supported_services parameter in arg_spec.

View file

@ -345,7 +345,17 @@ def main():
display_text=dict(),
guest_ip_type=dict(choices=['Shared', 'Isolated']),
name=dict(required=True),
supported_services=dict(type='list', aliases=['supported_service']),
supported_services=dict(type='list', aliases=['supported_service'], choices=[
'Dns',
'PortForwarding',
'Dhcp',
'SourceNat',
'UserData',
'Firewall',
'StaticNat',
'Vpn',
'Lb',
]),
traffic_type=dict(default='Guest'),
availability=dict(),
conserve_mode=dict(type='bool'),