Merge "Add groups field for plugins"
This commit is contained in:
commit
db74673e4f
|
@ -14,6 +14,9 @@ licenses: ['Apache License Version 2.0']
|
|||
authors: ['Specify author or company name']
|
||||
# A link to the plugin's page
|
||||
homepage: 'https://github.com/stackforge/fuel-plugins'
|
||||
# Specify a group which your plugin implements, possible options:
|
||||
# network, storage, storage::cinder, storage::glance, hypervisor
|
||||
groups: []
|
||||
|
||||
# The plugin is compatible with releases in the list
|
||||
releases:
|
||||
|
|
|
@ -35,7 +35,8 @@ class SchemaV2(BaseSchema):
|
|||
'licenses',
|
||||
'authors',
|
||||
'homepage',
|
||||
'releases'],
|
||||
'releases',
|
||||
'groups'],
|
||||
'properties': {
|
||||
'name': {
|
||||
'type': 'string',
|
||||
|
@ -48,6 +49,13 @@ class SchemaV2(BaseSchema):
|
|||
'fuel_version': self.list_of_strings,
|
||||
'licenses': self.list_of_strings,
|
||||
'authors': self.list_of_strings,
|
||||
'groups': {'type': 'array', 'uniqueItems': True, 'items':
|
||||
{'enum':
|
||||
['network',
|
||||
'storage',
|
||||
'storage::cinder',
|
||||
'storage::glance',
|
||||
'hypervisor']}},
|
||||
'homepage': {'type': 'string'},
|
||||
'releases': {
|
||||
'type': 'array',
|
||||
|
|
Loading…
Reference in New Issue