Add release version to test and cluster tags

Release version will allow us to filter tests that should be
executed only on specific release, like neutron for 2014.2-6.0

Change-Id: I8cd108156c95b119b11e84f772280846b7953d6b
Closes-Bug: 1397020
This commit is contained in:
Dima Shulyak 2014-11-27 16:32:31 +02:00
parent a35f516f16
commit ccab72934d
2 changed files with 3 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class NetworksTest(nmanager.SanityChecksTest):
2. Confirm that a response is received.
Duration: 20 s.
Deployment tags: neutron, 6.0
Deployment tags: neutron, 2014.2-6.0
"""
fail_msg = "Networks list is unavailable. "
networks = self.verify(20, self._list_networks, 1,

View File

@ -136,7 +136,8 @@ def _get_cluster_depl_tags(cluster_id, token=None):
deployment_tags.add(mode)
deployment_tags.add(release_data.get(
'operating_system', 'failed to get os'))
if 'version' in release_data:
deployment_tags.add(release_data['version'])
# networks manager
network_type = response.get('net_provider', 'nova_network')
deployment_tags.add(network_type)