vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y..@apache.org
Subject svn commit: r1650599 - /vcl/trunk/managementnode/lib/VCL/Module/Provisioning/openstack.pm
Date Fri, 09 Jan 2015 16:54:35 GMT
Author: yoh
Date: Fri Jan  9 16:54:35 2015
New Revision: 1650599

URL: http://svn.apache.org/r1650599
Log:
Change database name from openstackComputerMap to openstackcomputermap


Modified:
    vcl/trunk/managementnode/lib/VCL/Module/Provisioning/openstack.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/openstack.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/openstack.pm?rev=1650599&r1=1650598&r2=1650599&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/openstack.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/openstack.pm Fri Jan  9 16:54:35
2015
@@ -119,7 +119,7 @@ sub unload {
 	# Remove existing openstack id for computer mapping in database 
 	# Althought the instance is not pingable (delete it accidently), it should delete the instance
from database
 	if (!$self->_delete_os_computer_mapping()) {
-		notify($ERRORS{'WARNING'}, 0, "failed to delete the openstack instance id from openstackComputerMap");
+		notify($ERRORS{'WARNING'}, 0, "failed to delete the openstack instance id from openstackcomputermap");
 		return 0;
 	}
 
@@ -161,7 +161,7 @@ sub load {
 	# Remove existing openstack id for computer mapping in database 
 	# Althought the instance is not pingable (delete it accidently), it should delete the instance
from database
 	if (!$self->_delete_os_computer_mapping()) {
-		notify($ERRORS{'WARNING'}, 0, "failed to delete the openstack instance id from openstackComputerMap");
+		notify($ERRORS{'WARNING'}, 0, "failed to delete the openstack instance id from openstackcomputermap");
 		return;
 	}
 
@@ -414,7 +414,7 @@ sub _delete_os_computer_mapping {
 SELECT
 computerid
 FROM
-openstackComputerMap
+openstackcomputermap
 WHERE
 computerid = '$computer_id'
 EOF
@@ -428,7 +428,7 @@ EOF
 
 	$sql_statement = <<EOF;
 DELETE FROM
-openstackComputerMap
+openstackcomputermap
 WHERE
 computerid = '$computer_id'
 EOF
@@ -562,7 +562,7 @@ sub _get_os_instance_id {
 SELECT
 instanceid as id
 FROM
-openstackComputerMap
+openstackcomputermap
 WHERE
 computerid = '$computer_id'
 EOF
@@ -772,7 +772,7 @@ sub _insert_os_instance_id {
 
 	my $sql_statement = <<EOF;
 INSERT INTO
-openstackComputerMap (
+openstackcomputermap (
 instanceid,
 computerid)
 VALUES



Mime
View raw message