The TC vision has proposed the idea of "constellations" - specific OpenStack deployment patterns that involve a set of OpenStack services for specific use-cases. Constellations could be tested via Tempest scenario tests, hosted in dedicated plugins.
During this hands-on workshop we will write an example Tempest plugin to demonstrate using service clients from both other plugins as well as Tempest.
- Starting the plugin with cookie-cutter
- Implementing the configuration interfaces
- Include multiple other plugins via requirements
- Write tests using Tempest base test class and fixtures
Example of cross-service tests, for which the relevant service client is held in a plugin: Barbican & Octavia: TLS termination in a LB; Sahara & Heat: cross-check cluster resource creation via Heat API; Nova, Cinder, Barbican, Designate: boot a VM from an encrypted volume, assign a record.
Bring your laptop to follow the hands-on. A plus if you can stand-up devstack on it and test your plugin.
Attendees will learn how to write and use a Tempest plugin holding cross-service scenario tests.