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

provider_segmentation_id is int (#51600)

According to the OpenStack Networking API
the attribute provider:segmentation_id of a network has to be
an integer.
Even if neutron accepts provider:segmentation_id to be a
string, other implementations may not.
This commit is contained in:
Dominik Holler 2019-02-19 00:26:03 +01:00 committed by ansibot
parent c254b93796
commit 4df55bea2f
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
bugfixes:
- os_network - According to the OpenStack Networking API the attribute
provider:segmentation_id of a network has to be an integer.
(https://github.com/ansible/ansible/issues/51655)

View file

@ -161,7 +161,7 @@ def main():
external=dict(default=False, type='bool'),
provider_physical_network=dict(required=False),
provider_network_type=dict(required=False),
provider_segmentation_id=dict(required=False),
provider_segmentation_id=dict(required=False, type='int'),
state=dict(default='present', choices=['absent', 'present']),
project=dict(default=None),
port_security_enabled=dict(default=False, type='bool')