Ask Your Question
0

Testing Open-stack deployment

asked 2016-05-20 06:11:38 -0500

anonymous user

Anonymous

Hi All,

I'm new to open-stack and am exploring ways to test open-stack deployment (not on devstack but a setup configured on physical machines).I'm aware of the fact that tempest is used for testing open-stack deployments but we are looking forward to add some complicated workflows which are currently not covered under tempest.

Here are a few ways I found out: 1) Developing a test framework from scratch using open-stack client python API bindings 2) Using tempest framework as base and developing test cases/test suites on top of that

Please do suggest, which one of the 2 options listed above is good enough to proceed with.

Additionally, I have also found out that customized test plugins can be added using tempest libraries. If the second option is good, Does creating a new plugin is the right thing to do?

Regards, Siddiq

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-11-23 10:18:19 -0500

Hi,

In my opinion the best way to go would be to extend Tempest using the plugin functionality, it is fairly easy to create a new plugin (http://docs.openstack.org/developer/tempest/plugin.html#tempest-test-plugin-interface (http://docs.openstack.org/developer/t...)) and in this way you can leverage from the functionality already built on Tempest so it will save you a lot of time in comparison to building your own framework from scratch, while at the same time providing you with the freedom you need to implement most or all of the test scenarios you need.

I have tried both approaches in the past and I'd definitely go for the plugin approach.

Here is another link I like with info about how to set up your Tempest plugin: https://opensource.com/business/15/10/creating-a-tempest-plugin-for-openstack (https://opensource.com/business/15/10...)

Best regards,

Castulo

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-05-20 06:11:38 -0500

Seen: 55 times

Last updated: Nov 23 '16