Add support to run tests in a user-specified single tenant
Currently each test suite creates its own projects/users
In production test environments, the admin could allocate
a specific project where the tests are expected to run
(In env.test dict, stack_user, stack_password and stack_tenant
in testbed.py)
Reviewed: https:/ /review. opencontrail. org/18122 github. org/Juniper/ contrail- fabric- utils/commit/ 7bf2b99db323c4d 52055e9badebdf8 5a38a9fd09
Committed: http://
Submitter: Zuul
Branch: R3.0
commit 7bf2b99db323c4d 52055e9badebdf8 5a38a9fd09
Author: Vedu Joshi <email address hidden>
Date: Mon Jan 25 16:18:28 2016 +0530
Add support to run tests in a user-specified single tenant
Currently each test suite creates its own projects/users
In production test environments, the admin could allocate
a specific project where the tests are expected to run
(In env.test dict, stack_user, stack_password and stack_tenant
in testbed.py)
Ex testbed.py changes:
env.test = {
'stack_user': 'testuser',
'stack_password' : 'testuser123',
'stack_tenant' : 'testproject',
'tenant_isolation' : False,
}
Corresponding test code changes : https:/ /review. opencontrail. org/16484
Closes-Bug: 1537700 bb35c27d9447eb5 2b03fbae9f7
Change-Id: Icd0cefad5d6c24