Add tempest_service_available_mistral with distro packages

This patch adds support for tempest_service_available_mistral and
the ability to install the needed packages to run tests under
the distro.

Change-Id: I2e19efd5fdcb0bdbb3d1cd5ee44f20e4807ea537
This commit is contained in:
Mohammed Naser 2019-02-06 10:01:36 -05:00
parent d7b49f5ada
commit c26b65ed0e
2 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,7 @@ tempest_service_available_horizon: "{{ groups['horizon_all'] is defined and grou
tempest_service_available_ironic: "{{ groups['ironic_all'] is defined and groups['ironic_all'] | length > 0 }}"
tempest_service_available_magnum: "{{ groups['magnum_all'] is defined and groups['magnum_all'] | length > 0 }}"
tempest_service_available_manila: "{{ groups['manila_all'] is defined and groups['manila_all'] | length > 0 }}"
tempest_service_available_mistral: "{{ groups['mistral_all'] is defined and groups['mistral_all'] | length > 0 }}"
tempest_service_available_neutron: "{{ groups['neutron_all'] is defined and groups['neutron_all'] | length > 0 }}"
tempest_service_available_neutron_bgpvpn: "{{ (groups['neutron_all'] is defined) and (groups['neutron_all'] | length > 0) and ('bgpvpn' in neutron_plugin_base | default([])) }}"
tempest_service_available_neutron_fwaas: "{{ (groups['neutron_all'] is defined) and (groups['neutron_all'] | length > 0) and (('firewall' in neutron_plugin_base | default([])) or ('firewall_v2' in neutron_plugin_base | default([]))) }}"

View File

@ -36,6 +36,7 @@ tempest_plugin_distro_packages:
- python-keystone-tests-tempest
- "{{ (tempest_service_available_magnum | bool) | ternary('python-magnum-tests-tempest', '') }}"
- "{{ (tempest_service_available_manila | bool) | ternary('python-manila-tests-tempest', '') }}"
- "{{ (tempest_service_available_mistral | bool) | ternary('python-mistral-tests-tempest', '') }}"
- "{{ (tempest_service_available_neutron | bool) | ternary('python-neutron-tests-tempest', '') }}"
- "{{ (tempest_service_available_neutron_fwaas | bool) | ternary('python-networking-fwaas-tests', '') }}"
- "{{ (tempest_service_available_neutron_vpnaas | bool) | ternary('python-networking-vpnaas-tests', '') }}"