neutron-tempest-plugin/neutron_tempest_plugin
Slawek Kaplonski da17f00f2f Use advanced image only when it's necessary
In some scenario tests there is need to use advanced image,
like Ubuntu or Centos, because Cirros doesn't provide required
features.
It is like that in some tests from modules:

    neutron_tempest_plugin.scenario.test_mtu
    neutron_tempest_plugin.scenario.test_trunk

But such advanced image needs much more time to boot and to
have SSH to vm available.

There is no need to use such advanced image in all tests.

This patch makes some changes in tempest plugin config options:

* image_is_advanced - option is removed,
* advanced_image_ref - new option added - it's uuid for advanced image,
* advanced_flavor_ref - new option added - id of flavor to use with
  advanced image
* advanced_image_ssh_user - new option added - name of user to use
  to ssh to vm booted from advanced image,

This patch also modify neutron_tempest_plugin devstack plugin that
it now can find advanced image id in installed Glance service and
configure those new config options in Tempest's config file.

This patch also modifies scenario jobs definitions that this
new advanced_image can be configured and used when it's nesessary.

Finally this patch also changes tests mentioned above that now
this advanced image is used in those tests.
All other scenario tests should works with default, Cirros image.

Change-Id: If1b83fbaf33cc01473badeb5cabc8e8670d51d9e
2018-10-15 23:03:25 +02:00
..
api Refactor test cases after adding new params to create_floatingip. 2018-09-27 07:16:17 +00:00
common Reuse SSH connections for executing multiple commands. 2018-08-27 15:27:07 +00:00
scenario Use advanced image only when it's necessary 2018-10-15 23:03:25 +02:00
services Fix raising TimeoutException in tests 2018-10-05 06:54:53 +00:00
README.rst Refactored Neutron tempest plugin directory structure 2017-11-13 09:19:11 +05:30
__init__.py Refactored Neutron tempest plugin directory structure 2017-11-13 09:19:11 +05:30
config.py Use advanced image only when it's necessary 2018-10-15 23:03:25 +02:00
exceptions.py Refactored Neutron tempest plugin directory structure 2017-11-13 09:19:11 +05:30
plugin.py Refactored Neutron tempest plugin directory structure 2017-11-13 09:19:11 +05:30

README.rst

WARNING

Some files under this path were copied from tempest as part of the move of the api tests, and they will be removed as required over time to minimize the dependency on the tempest testing framework. While it exists, only neutron_tempest_plugin.* should be importing files from this path. neutron_tempest_plugin.config uses the global cfg.CONF instance and importing it outside of the api tests has the potential to break Neutron's use of cfg.CONF.