Vinzenz Feenstra has uploaded a new change for review.

Change subject: db: Remove RenameManagementNetwork stored procedure
......................................................................

db: Remove RenameManagementNetwork stored procedure

This stored procedure is no longer necessary and used by the
RHEVM setup plugins, since we're going now to align the naming
of the bridge with the upstream naming

Change-Id: I1328f4ad8e359e411f4474f68cee36556a127c69
Bug-URL: https://bugzilla.redhat.com/1204793
Signed-off-by: Vinzenz Feenstra <vfeen...@redhat.com>
---
M packaging/dbscripts/network_sp.sql
1 file changed, 0 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/84/42384/1

diff --git a/packaging/dbscripts/network_sp.sql 
b/packaging/dbscripts/network_sp.sql
index 4766019..e5cb605 100644
--- a/packaging/dbscripts/network_sp.sql
+++ b/packaging/dbscripts/network_sp.sql
@@ -1390,19 +1390,6 @@
 END; $procedure$
 LANGUAGE plpgsql;
 
-Create or replace FUNCTION RenameManagementNetwork(v_name varchar(50)) RETURNS 
VOID
-   AS $procedure$
-DECLARE
-    v_old_name  varchar(4000);
-BEGIN
-    select option_value into v_old_name from vdc_options where option_name = 
'DefaultManagementNetwork' and version = 'general';
-    perform fn_db_update_config_value('DefaultManagementNetwork', v_name, 
'general');
-    update network set name = v_name where name = v_old_name;
-    update vnic_profiles set name = v_name where name = v_old_name;
-END; $procedure$
-LANGUAGE plpgsql;
-
-
 ----------------------------------------------------------------------
 --  hostNicVfsConfig
 ----------------------------------------------------------------------


-- 
To view, visit https://gerrit.ovirt.org/42384
To unsubscribe, visit https://gerrit.ovirt.org/settings

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

Reply via email to