Daniel Erez has uploaded a new change for review. Change subject: core: FeatureSupported - adding CinderProviderSupported ......................................................................
core: FeatureSupported - adding CinderProviderSupported Adding 'cinderProviderSupported' method to FeatureSupported. Change-Id: I65e96449d455bc6b001c8cfba028d43d0c168cc7 Bug-Url: https://bugzilla.redhat.com/1185826 Signed-off-by: Daniel Erez <[email protected]> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/FeatureSupported.java 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/05/38905/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/FeatureSupported.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/FeatureSupported.java index b0ae5e6..9cc0bdb 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/FeatureSupported.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/FeatureSupported.java @@ -497,4 +497,12 @@ public static boolean reportWhetherDomainMonitoringResultIsActual(Version version) { return supportedInConfig(ConfigValues.ReportWhetherDomainMonitoringResultIsActual, version); } + + /** + * @param version - compatibility version to check for + * @return <code>true</code> if the Cinder provider is supported for the specified Cluster + */ + public static boolean cinderProviderSupported(Version version) { + return supportedInConfig(ConfigValues.CinderProviderSupported, version); + } } -- To view, visit https://gerrit.ovirt.org/38905 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I65e96449d455bc6b001c8cfba028d43d0c168cc7 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Daniel Erez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
