Alona Kaplan has uploaded a new change for review. Change subject: core: adding "LinkStateChangeable" to vdc_options ......................................................................
core: adding "LinkStateChangeable" to vdc_options LinkState of a Vnic is changeable only in 3.2 cluster version. Change-Id: I72e8fd298db5672b5af9bb6475020ac181b00f39 Signed-off-by: Alona Kaplan <alkap...@redhat.com> --- M backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java 3 files changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/48/9448/1 diff --git a/backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql b/backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql index 3331e88..7f33a94 100644 --- a/backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql +++ b/backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql @@ -150,6 +150,10 @@ select fn_db_add_config_value('HotPlugEnabled','false','3.0'); select fn_db_add_config_value('HotPlugEnabled','true','3.1'); select fn_db_add_config_value('HotPlugEnabled','true','3.2'); +select fn_db_add_config_value('LinkStateChangeable','false','2.2'); +select fn_db_add_config_value('LinkStateChangeable','false','3.0'); +select fn_db_add_config_value('LinkStateChangeable','false','3.1'); +select fn_db_add_config_value('LinkStateChangeable','true','3.2'); select fn_db_add_config_value('DisconnectPoolOnReconstruct','0,2','general'); select fn_db_add_config_value('HotPlugUnsupportedOsList','','general'); select fn_db_add_config_value('InitStorageSparseSizeInGB','1','general'); diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java index 6a46b74..bf8dfb8 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java @@ -1559,6 +1559,11 @@ @DefaultValueAttribute("300") GlusterRefreshRateHeavy(396), + @Reloadable + @TypeConverterAttribute(Boolean.class) + @DefaultValueAttribute("false") + LinkStateChangeable(397), + Invalid(65535); private int intValue; diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java index a8aa28e..f085a9a 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java @@ -68,6 +68,7 @@ CustomPublicConfig_AppsWebSite(ConfigAuthType.User), DocsURL(ConfigAuthType.User), HotPlugEnabled(ConfigAuthType.User), + LinkStateChangeable(ConfigAuthType.User), SupportBridgesReportByVDSM(ConfigAuthType.User), ManagementNetwork, ApplicationMode(ConfigAuthType.User), -- To view, visit http://gerrit.ovirt.org/9448 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I72e8fd298db5672b5af9bb6475020ac181b00f39 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alona Kaplan <alkap...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches