You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by je...@apache.org on 2010/05/06 21:01:23 UTC

svn commit: r941859 - /incubator/libcloud/trunk/libcloud/drivers/opennebula.py

Author: jerry
Date: Thu May  6 19:01:23 2010
New Revision: 941859

URL: http://svn.apache.org/viewvc?rev=941859&view=rev
Log:
Comment out unused info in OpenNebula create_node

Modified:
    incubator/libcloud/trunk/libcloud/drivers/opennebula.py

Modified: incubator/libcloud/trunk/libcloud/drivers/opennebula.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/opennebula.py?rev=941859&r1=941858&r2=941859&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/opennebula.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/opennebula.py Thu May  6 19:01:23 2010
@@ -150,12 +150,15 @@ class OpenNebulaNodeDriver(NodeDriver):
         name = ET.SubElement(compute, 'NAME')
         name.text = kwargs['name']
 
-        instance_type = ET.SubElement(compute, 'INSTANCE_TYPE')
-        instance_type.text = kwargs['size'].name
-
-        storage = ET.SubElement(compute, 'STORAGE')
-        disk = ET.SubElement(storage, 'DISK', {'image': str(kwargs['image'].id),
-                                               'dev': 'sda1'})
+        # """
+        # Other extractable (but unused) information
+        # """
+        # instance_type = ET.SubElement(compute, 'INSTANCE_TYPE')
+        # instance_type.text = kwargs['size'].name
+        #
+        # storage = ET.SubElement(compute, 'STORAGE')
+        # disk = ET.SubElement(storage, 'DISK', {'image': str(kwargs['image'].id),
+        #                                        'dev': 'sda1'})
 
         xml = ET.tostring(compute)