ghanshyam b4fe45496c Set Tempest's service_availability setting for Barbican
Tempest's service_available config option includes all the service
availability which is further used by tests to take decision of skip
or run the test.

For example, [service_available].barbican is true then, barbican test will run
or if [service_available].barbican is false then, all barbican related tests either
in barbican tempest plugin or any other plugins[1] will be skipped.

So it is important that when barbican is installed via devstack plugin then,
it set the service_available.barbican value to True in tempest conf.

This commit add the setting of barbican service[2] on barbican devstack plugin.

Related-Bug: #1743688
Related-Bug: #1817154

[1] 0a0f9b342a/octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py (L53)
[2] 123dd7d416/barbican_tempest_plugin/config.py (L18)

Change-Id: I7fd60d48802cc5e9071c39eaeb83351bec36cc41
2019-02-26 12:04:43 +00:00
..
2019-01-14 17:55:36 -06:00
2017-02-28 20:49:05 +00:00

This directory contains the Barbican DevStack plugin.

To configure Barbican with DevStack, you will need to enable this plugin and the Barbican service by adding one line to the local section of your local.conf file.

To enable the plugin, add a line of the form:

enable_plugin barbican <GITURL> [GITREF]

where

<GITURL> is the URL of a Barbican repository
[GITREF] is an optional git ref (branch/ref/tag).  The default is master.

For example

enable_plugin barbican https://git.openstack.org/openstack/barbican stable/liberty

For more information, see the "Externally Hosted Plugins" section of https://docs.openstack.org/devstack/latest/plugins.html