Fix has_ipv6 property in network fixture

By mistake "has_ipv6" propery was based on ipv4 config option.
This patch fixes it.

TrivialFix

Change-Id: I4b118380bba2661d1fbdf6409d12eb4f86b31b28
changes/75/712975/1
Slawek Kaplonski 3 years ago
parent f0abb26100
commit 23ea0d95d0

@ -91,7 +91,7 @@ class NetworkStackFixture(heat.HeatStackFixture):
@property
def has_ipv6(self):
"""Whenever to setup IPv6 subnet"""
return bool(CONF.tobiko.neutron.ipv4_cidr)
return bool(CONF.tobiko.neutron.ipv6_cidr)
@property
def ipv6_cidr(self):

Loading…
Cancel
Save