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:
parent
851cfc0c18
commit
e62fc508ad
2 changed files with 13 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- cs_network_offering - Add a choice list for supported_services parameter in arg_spec.
|
|
@ -345,7 +345,17 @@ def main():
|
||||||
display_text=dict(),
|
display_text=dict(),
|
||||||
guest_ip_type=dict(choices=['Shared', 'Isolated']),
|
guest_ip_type=dict(choices=['Shared', 'Isolated']),
|
||||||
name=dict(required=True),
|
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'),
|
traffic_type=dict(default='Guest'),
|
||||||
availability=dict(),
|
availability=dict(),
|
||||||
conserve_mode=dict(type='bool'),
|
conserve_mode=dict(type='bool'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue