Merge "labels for MapR plugin"

This commit is contained in:
Jenkins 2016-08-06 13:50:04 +00:00 committed by Gerrit Code Review
commit e0896cb080
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---
features:
- MapR 5.1.0.mrv2 is now Enabled.
deprecations:
- MapR 5.0.0.mrv2 is now Deprecated. It is not
recommended for usage. It is better to use MapR 5.1.0.mrv2
instead. This version of plugin will be removed in Ocata release.

View File

@ -34,6 +34,16 @@ class MapRPlugin(p.ProvisioningPluginBase):
def get_description(self):
return MapRPlugin.description
def get_labels(self):
return {
'plugin_labels': {'enabled': {'status': True}},
'version_labels': {
'5.1.0.mrv2': {'enabled': {'status': True}},
'5.0.0.mrv2': {'enabled': {'status': False},
'deprecated': {'status': True}}
}
}
def get_versions(self):
return vhf.VersionHandlerFactory.get().get_versions()