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'),