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/16483 github. org/Juniper/ contrail- fabric- utils/commit/ 7afc4bf2932757a 7fbd7dca96d99d1 6027d99263
Committed: http://
Submitter: Zuul
Branch: master
commit 7afc4bf2932757a 7fbd7dca96d99d1 6027d99263
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