Muli Salem has uploaded a new change for review.

Change subject: core: Adding HotPlug to FeatureSupported
......................................................................

core: Adding HotPlug to FeatureSupported

This patch adds the Hot Plug feature to the
FeatureSupported class.

Change-Id: I1efa16a90e2177d196ba9b8cd08d407865cfbfbb
Bug-Url: https://bugzilla.redhat.com/873338
Signed-off-by: Muli Salem <msa...@redhat.com>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/FeatureSupported.java
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/67/12967/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 91f97d9..57b9fc7 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
@@ -77,4 +77,13 @@
     public static boolean tunnelMigration(Version version) {
         return supportedInConfig(ConfigValues.TunnelMigrationEnabled, version);
     }
+
+    /**
+     * @param version
+     *            Compatibility version to check for.
+     * @return <code>true</code> if hot plug is supported for the version, 
<code>false</code> if it's not.
+     */
+    public static boolean hotPlug(Version version) {
+        return supportedInConfig(ConfigValues.HotPlugEnabled, version);
+    }
 }


--
To view, visit http://gerrit.ovirt.org/12967
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1efa16a90e2177d196ba9b8cd08d407865cfbfbb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Muli Salem <msa...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to