[openstack-dev] How does tempest read in the variables defined in tempest.conf?

Danny Choi (dannchoi) dannchoi at cisco.com
Fri Mar 25 17:17:33 UTC 2016


Hi,

There are variables defined in the tempest.conf.  How does tempest read them and use them in the tests?

I'm trying to write scenario tests in multiple regions.

Under tempest.conf:


[identity]

Region = RegionOne


[compute]

image_ref = b6f85abb-c582-40e4-ad18-5a01431a6bfd

image_ref_alt = b6f85abb-c582-40e4-ad18-5a01431a6bfd


[network]

public_network_id = 51efe3a5-390f-4a40-a480-8aa41d704c69


I'm thinking to change these variables within the test on the fly to run test within that particular region

(region name, image id, public network id).


My question is what tempest variables uses these conf variables?


Is this the right approach or there is a better way to do it?


Thanks,

Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160325/9947d111/attachment.html>


More information about the OpenStack-dev mailing list