Tempest: Change tenant to project

Since tenant has been changed to project in upstream tempest. In
this patch, change tenant_networks_reachable option to be
project_networks_reachable.

Change-Id: If6f56ec9db55e643882b879df61883268e99830e
This commit is contained in:
Tong Liu 2016-05-20 22:24:53 +00:00
parent 82f331e039
commit e82577c096

View File

@ -46,9 +46,9 @@ class TestMicroSegmentationOps(manager.NetworkScenarioTest):
@classmethod
def skip_checks(cls):
super(TestMicroSegmentationOps, cls).skip_checks()
if not (CONF.network.tenant_networks_reachable or
if not (CONF.network.project_networks_reachable or
CONF.network.public_network_id):
msg = ('Either tenant_networks_reachable must be "true", or '
msg = ('Either project_networks_reachable must be "true", or '
'public_network_id must be defined.')
raise cls.skipException(msg)
for ext in ['router', 'security-group']: