fuel_version in metadata should be a list, not a string

A single plugin can be compatible with several versions
of fuel, it's the reason why fuel_version should be
an array of strings.

Change-Id: I42b462562fa6d112023c98e8f8cba7add6900608
Implements: blueprint cinder-neutron-plugins-in-fuel
This commit is contained in:
Evgeniy L 2014-11-05 16:29:52 +04:00
parent f92b5f89b4
commit 172aa0dd6b
3 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ version: ${plugin_version}
# Description
description: Enable to use plugin X for Neutron
# Required fuel version
fuel_version: '6.0'
fuel_version: ['6.0']
# The plugin is compatible with releases in the list
releases:

View File

@ -36,7 +36,8 @@ METADATA_SCHEMA = {
'version': {'type': 'string'},
'package_version': {'type': 'string'},
'description': {'type': 'string'},
'fuel_version': {'type': 'string'},
'fuel_version': {'type': 'array',
'items': {'type': 'string'}},
'releases': {
'type': 'array',
'items': PLUGIN_RELEASE_SCHEMA}}}

View File

@ -5,7 +5,7 @@ version: '0.1.0'
# Description
description: Enable to use plugin X for Neutron
# Required fuel version
fuel_version: '6.0'
fuel_version: ['6.0']
# The plugin is compatible with releases in the list
releases: