Add support to run tests in a user-specified single tenant

Bug #1537700 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Vedamurthy Joshi
Trunk
Fix Committed
High
Vedamurthy Joshi

Bug Description

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

Tags: sanity
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16483
Submitter: Vedamurthy Joshi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/16483
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/7afc4bf2932757a7fbd7dca96d99d16027d99263
Submitter: Zuul
Branch: master

commit 7afc4bf2932757a7fbd7dca96d99d16027d99263
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
Change-Id: Icd0cefad5d6c24bb35c27d9447eb52b03fbae9f7

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/18122
Submitter: Vedamurthy Joshi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/18122
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/7bf2b99db323c4d52055e9badebdf85a38a9fd09
Submitter: Zuul
Branch: R3.0

commit 7bf2b99db323c4d52055e9badebdf85a38a9fd09
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
Change-Id: Icd0cefad5d6c24bb35c27d9447eb52b03fbae9f7

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.