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

pull/53903/head
David Passante 6 years ago committed by René Moser
parent 851cfc0c18
commit e62fc508ad

@ -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…
Cancel
Save