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(),
|
||||
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'),
|
||||
|
|
Loading…
Reference in a new issue