Skip IPv6 scenarios for baremetal
These tests attempt to create two isolated tenant networks and boot servers on each. Baremetal relies on flat networking that does not support network isolation, so these tests should be skipped in that case. Change-Id: Ia7383114c17e4d901c81b8e7b6b2822a7ec4f908
This commit is contained in:
parent
721f80d90d
commit
ab6106ddaa
@ -48,6 +48,9 @@ class TestGettingAddress(manager.NetworkScenarioTest):
|
|||||||
msg = ('Either tenant_networks_reachable must be "true", or '
|
msg = ('Either tenant_networks_reachable must be "true", or '
|
||||||
'public_network_id must be defined.')
|
'public_network_id must be defined.')
|
||||||
raise cls.skipException(msg)
|
raise cls.skipException(msg)
|
||||||
|
if CONF.baremetal.driver_enabled:
|
||||||
|
msg = ('Baremetal does not currently support network isolation')
|
||||||
|
raise cls.skipException(msg)
|
||||||
|
|
||||||
super(TestGettingAddress, cls).check_preconditions()
|
super(TestGettingAddress, cls).check_preconditions()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user