November 6-8, 2017

Event Details

Please note: All times listed below are in Central Time Zone

Writing cross-service Tempest Plugins

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.

What can I expect to learn?

Attendees will learn how to write and use a Tempest plugin holding cross-service scenario tests.

Monday, November 6, 1:30pm-3:00pm (2:30am - 4:00am UTC)
Difficulty Level: Intermediate
Developer Advocate
Andrea Frittoli is the PTL of the QA Program in OpenStack. He started working with OpenStack in 2011 - he has been focussing mostly on Quality Engineering and CI/CD.  He is a Developer Advocate at IBM.  Before joining IBM he was QA Technical Lead at HP/HPE for the Helion Public Cloud and OpenStack Distribution.  Earlier he worked as integration engineer and architect,... FULL PROFILE