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

Merge pull request #20832 from Logan2211/os-network-provider-types

os_network: Allow freeform provider_network_type string
This commit is contained in:
David Shrewsbury 2017-01-30 15:34:13 -05:00 committed by GitHub
commit 83d767ca37

View file

@ -73,7 +73,6 @@ options:
provider_network_type:
description:
- The type of physical network that maps to this network resource.
choices: ['flat', 'vlan', 'vxlan', 'gre', 'uplink']
required: false
default: None
version_added: "2.1"
@ -172,8 +171,7 @@ def main():
admin_state_up=dict(default=True, type='bool'),
external=dict(default=False, type='bool'),
provider_physical_network=dict(required=False),
provider_network_type=dict(required=False, default=None,
choices=['flat', 'vlan', 'vxlan', 'gre', 'uplink']),
provider_network_type=dict(required=False),
provider_segmentation_id=dict(required=False),
state=dict(default='present', choices=['absent', 'present']),
project=dict(default=None)