Roy Golan has uploaded a new change for review. Change subject: core: add clusterEmulatedMachines config values ......................................................................
core: add clusterEmulatedMachines config values Change-Id: Icb035879bd2a25ecba72ac7691aaddcd9581e11a Signed-off-by: Roy Golan <[email protected]> --- 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 2 files changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/06/15906/1 diff --git a/backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql b/backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql index 8875e35..4a8f57e 100644 --- a/backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql +++ b/backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql @@ -69,6 +69,10 @@ --Handling Configuration directory for ENGINE select fn_db_add_config_value('ConfigDir','/etc/engine','general'); select fn_db_add_config_value('ConnectToServerTimeoutInSeconds','20','general'); +select fn_db_add_config_value('ClusterEmulatedMachines','rhel6.2.0,pc-1.0','3.0'); +select fn_db_add_config_value('ClusterEmulatedMachines','rhel6.3.0,pc-1.0','3.1'); +select fn_db_add_config_value('ClusterEmulatedMachines','rhel6.4.0,pc-1.0','3.2'); +select fn_db_add_config_value('ClusterEmulatedMachines','rhel6.4.0,pc-1.0','3.3'); select fn_db_add_config_value('CpuOverCommitDurationMinutes','2','general'); --Handling Data directory for ENGINE select fn_db_add_config_value('DataDir','/usr/share/engine','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 ef9bff6..e33fd4c 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 @@ -1378,6 +1378,10 @@ @DefaultValueAttribute("/osinfo.conf.d") OsRepositoryConfDir(512), + @TypeConverterAttribute(java.util.List.class) + @DefaultValueAttribute("rhel6.2.0,pc-1.0") + ClusterEmulatedMachines(513), + Invalid(65535); private int intValue; -- To view, visit http://gerrit.ovirt.org/15906 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icb035879bd2a25ecba72ac7691aaddcd9581e11a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roy Golan <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
