Merge "labels for MapR plugin"
This commit is contained in:
commit
e0896cb080
7
releasenotes/notes/mapr-labels-5cc318616db59403.yaml
Normal file
7
releasenotes/notes/mapr-labels-5cc318616db59403.yaml
Normal 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.
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user