Use network 'heat-net' for integration_tests
Neutron support for ipv6 is not complete yet (ex. LBaaS
only supports ipv4). We'had some gate issues after dual
stack was enabled in devstack. We had put some tactical
fixes to resolve those[1][2].
This fix adds usage of heat-net/heat-subnet(only ipv4)
for integration tests. This also rolls back the earlier
tactical changes.
https://review.openstack.org/#/c/178576
https://review.openstack.org/#/c/178933/
Change-Id: Ia863edb8932b8dea5c4fa110c97dcfdadca85bb9
diff --git a/functional/test_create_update.py b/functional/test_create_update.py
index 37b1790..6053303 100644
--- a/functional/test_create_update.py
+++ b/functional/test_create_update.py
@@ -116,6 +116,8 @@
type: string
image:
type: string
+ network:
+ type: string
resources:
server:
@@ -123,6 +125,7 @@
properties:
image: {get_param: image}
flavor: {get_param: flavor}
+ networks: [{network: {get_param: network} }]
user_data_format: SOFTWARE_CONFIG
user_data: {get_param: user_data}
'''
@@ -369,6 +372,7 @@
parms = {'flavor': self.conf.minimal_instance_type,
'image': self.conf.minimal_image_ref,
+ 'network': self.conf.fixed_network_name,
'user_data': ''}
name = self._stack_rand_name()