libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1338981 - in /libcloud/trunk: libcloud/compute/ libcloud/compute/drivers/ test/compute/ test/compute/fixtures/ibm_sbc/ test/compute/fixtures/ibm_sce/
Date Wed, 16 May 2012 03:13:10 GMT
Author: tomaz
Date: Wed May 16 03:13:10 2012
New Revision: 1338981

URL: http://svn.apache.org/viewvc?rev=1338981&view=rev
Log:
Rename "ibm_sbc" files and constants to "ibm_sce".

Added:
    libcloud/trunk/libcloud/compute/drivers/ibm_sce.py
      - copied unchanged from r1338979, libcloud/trunk/libcloud/compute/drivers/ibm_sbc.py
    libcloud/trunk/test/compute/fixtures/ibm_sce/
      - copied from r1338970, libcloud/trunk/test/compute/fixtures/ibm_sbc/
    libcloud/trunk/test/compute/fixtures/ibm_sce/locations.xml
      - copied unchanged from r1338979, libcloud/trunk/test/compute/fixtures/ibm_sbc/locations.xml
    libcloud/trunk/test/compute/test_ibm_sce.py
      - copied, changed from r1338979, libcloud/trunk/test/compute/test_ibm_sbc.py
Removed:
    libcloud/trunk/libcloud/compute/drivers/ibm_sbc.py
    libcloud/trunk/test/compute/fixtures/ibm_sbc/
    libcloud/trunk/test/compute/test_ibm_sbc.py
Modified:
    libcloud/trunk/libcloud/compute/drivers/__init__.py
    libcloud/trunk/libcloud/compute/providers.py

Modified: libcloud/trunk/libcloud/compute/drivers/__init__.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/__init__.py?rev=1338981&r1=1338980&r2=1338981&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/__init__.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/__init__.py Wed May 16 03:13:10 2012
@@ -27,7 +27,7 @@ __all__ = [
     'elastichosts',
     'cloudsigma',
     'gogrid',
-    'ibm_sbc',
+    'ibm_sce',
     'linode',
     'opennebula',
     'rackspace',

Modified: libcloud/trunk/libcloud/compute/providers.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/providers.py?rev=1338981&r1=1338980&r2=1338981&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/providers.py (original)
+++ libcloud/trunk/libcloud/compute/providers.py Wed May 16 03:13:10 2012
@@ -82,7 +82,7 @@ DRIVERS = {
     Provider.EUCALYPTUS:
         ('libcloud.compute.drivers.ec2', 'EucNodeDriver'),
     Provider.IBM:
-        ('libcloud.compute.drivers.ibm_sbc', 'IBMNodeDriver'),
+        ('libcloud.compute.drivers.ibm_sce', 'IBMNodeDriver'),
     Provider.OPENNEBULA:
         ('libcloud.compute.drivers.opennebula', 'OpenNebulaNodeDriver'),
     Provider.DREAMHOST:

Copied: libcloud/trunk/test/compute/test_ibm_sce.py (from r1338979, libcloud/trunk/test/compute/test_ibm_sbc.py)
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/compute/test_ibm_sce.py?p2=libcloud/trunk/test/compute/test_ibm_sce.py&p1=libcloud/trunk/test/compute/test_ibm_sbc.py&r1=1338979&r2=1338981&rev=1338981&view=diff
==============================================================================
--- libcloud/trunk/test/compute/test_ibm_sbc.py (original)
+++ libcloud/trunk/test/compute/test_ibm_sce.py Wed May 16 03:13:10 2012
@@ -16,7 +16,7 @@ from libcloud.utils.py3 import httplib
 import sys
 
 from libcloud.compute.types import InvalidCredsError
-from libcloud.compute.drivers.ibm_sbc import IBMNodeDriver as IBM
+from libcloud.compute.drivers.ibm_sce import IBMNodeDriver as IBM
 from libcloud.compute.base import Node, NodeImage, NodeSize, NodeLocation
 
 from test import MockHttp
@@ -156,7 +156,7 @@ class IBMTests(unittest.TestCase, TestCa
             self.fail('test should have thrown')
 
 class IBMMockHttp(MockHttp):
-    fixtures = ComputeFileFixtures('ibm_sbc')
+    fixtures = ComputeFileFixtures('ibm_sce')
 
     def _computecloud_enterprise_api_rest_20100331_instances(self, method, url, body, headers):
         body = self.fixtures.load('instances.xml')



Mime
View raw message