Allow to set is_default property
is_default setting should be set in case pool autoallocation
is used.
Change-Id: Ifc9e0037f5550807b02d246827f0008d64c5bc6d
Related-Prod: https://mirantis.jira.com/browse/PROD-16226
diff --git a/_states/neutronng.py b/_states/neutronng.py
index ca50c21..351b1d1 100644
--- a/_states/neutronng.py
+++ b/_states/neutronng.py
@@ -84,7 +84,8 @@
provider_segmentation_id=None,
profile=None,
endpoint_type=None,
- dns_domain=None):
+ dns_domain=None,
+ is_default=None):
'''
Ensure that the neutron network is present with the specified properties.
name
@@ -105,7 +106,8 @@
shared=shared,
tenant_id=tenant_id,
provider_segmentation_id=provider_segmentation_id,
- dns_domain=dns_domain)
+ dns_domain=dns_domain,
+ is_default=is_default)
if len(existing_networks) == 0:
network_arguments.update(connection_args)