Kiril Nesenko has uploaded a new change for review. Change subject: packaging: Add posixfs DC type to engine-setup. (BZ#853972) ......................................................................
packaging: Add posixfs DC type to engine-setup. (BZ#853972) https://bugzilla.redhat.com/show_bug.cgi?id=853972 This patch add posixfs DC type to engine-setup. Change-Id: I382b1fb925807c841ad430381f16a41aa6f55a6b Signed-off-by: Kiril Nesenko <knese...@redhat.com> --- M backend/manager/dbscripts/inst_sp.sql M packaging/fedora/setup/engine-setup.py 2 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/09/7809/1 diff --git a/backend/manager/dbscripts/inst_sp.sql b/backend/manager/dbscripts/inst_sp.sql index 71fad4b..2fd75af 100644 --- a/backend/manager/dbscripts/inst_sp.sql +++ b/backend/manager/dbscripts/inst_sp.sql @@ -4,7 +4,7 @@ RETURNS VOID AS $procedure$ BEGIN - if (v_storage_pool_type > 0 and v_storage_pool_type < 5) then + if (v_storage_pool_type > 0 and v_storage_pool_type < 7) then UPDATE storage_pool SET storage_pool_type = v_storage_pool_type, _update_date = LOCALTIMESTAMP WHERE storage_pool.name = 'Default' and not exists diff --git a/packaging/fedora/setup/engine-setup.py b/packaging/fedora/setup/engine-setup.py index 2ba7c18..a9b595a 100755 --- a/packaging/fedora/setup/engine-setup.py +++ b/packaging/fedora/setup/engine-setup.py @@ -308,7 +308,7 @@ { "CMD_OPTION" :"default-dc-type", "USAGE" :output_messages.INFO_CONF_PARAMS_DC_TYPE_USAGE, "PROMPT" :output_messages.INFO_CONF_PARAMS_DC_TYPE_PROMPT, - "OPTION_LIST" :["NFS","FC","ISCSI"], + "OPTION_LIST" :["NFS","FC","ISCSI","POSIXFS"], "VALIDATION_FUNC" :validate.validateOptions, "DEFAULT_VALUE" :"NFS", "MASK_INPUT" : False, @@ -504,7 +504,7 @@ controller.addGroup(group, paramList) #data center types enum -controller.CONF["DC_TYPE_ENUM"] = utils.Enum(NFS=1, FC=2, ISCSI=3) +controller.CONF["DC_TYPE_ENUM"] = utils.Enum(NFS=1, FC=2, ISCSI=3, POSIXFS=6) def _getColoredText (text, color): ''' gets text string and color -- To view, visit http://gerrit.ovirt.org/7809 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I382b1fb925807c841ad430381f16a41aa6f55a6b Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Kiril Nesenko <knese...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches