[
https://issues.apache.org/jira/browse/LIBCLOUD-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hutson Betts updated LIBCLOUD-121:
----------------------------------
Attachment: opennebula.patch
I've improved upon the second issue regarding the api_version check. However,
with regard to the first issue involving a circular reference, I've removed the
constructor. I simply don't understand the issue well enough to incorporate
code related to it.
I've also rolled in changes I made in a second patch, which was meant to be a
patch to the previous patch. These changes, in addition to those mentioned in
my previous file attachment, include:
* I added a test to the base compute TestCaseMixin to check for the
proper value of NodeSize.price. Also, I fixed a PEP8 compliance issue
with the same file.
* Furthermore, I replaced _xml_action with ex_node_action in the
OpenNebula driver. Since _xml_action what specific to node actions, I
though a more targeted method was more appropriate. Furthermore, users
can now use ex_node_action to specify more actions on a node other than
just reboot_node.
* Replaced the default price value in the BrightBox compute driver to be
an int rather than a string to comply with the NodeSize.price test.
* Updated the OpenNebula 2.0 collection fixtures to include the name
attribute.
* Added additional NodeSize tests to OpenNebula.
This attached file contains all changes made as a results of this issue, 121.
> OpenNebula Driver Improvements and Additional Driver Updates
> ------------------------------------------------------------
>
> Key: LIBCLOUD-121
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-121
> Project: Libcloud
> Issue Type: Improvement
> Components: Core
> Affects Versions: 0.6.1
> Environment: Latest Libcloud trunk with contents of diff operating on
> Debian 6.0 (Stable).
> Reporter: Hutson Betts
> Priority: Minor
> Labels: api-change, patch
> Attachments: base-update.diff, opennebula.diff, opennebula.patch,
> opennebula.patch, update.diff
>
>
> I'm attaching a diff/patch that contains modifications to several compute
> drivers; OpenNebula in particular.
> With regard to OpenNebula, these changes include the ability to request a
> list of virtual networks provided by the OpenNebula infrastructure provider.
> Furthermore, the OpenNebula NodeDriver has been extended to extract the disk
> and network descriptions from the compute XML description. Disks and networks
> are instantiated as NodeImage and NodeNetwork objects and then attached to a
> newly instantiated Node. To support this capability, I added a NodeNetwork
> class to the base compute class.
> Furthermore, I modified the Opsource and OpenStack drivers to match in
> consistency with the OpenNebula driver. This also included changes to include
> httplib. I hope to extend that work later to other drivers, if the work is
> desired.
> This patch really requires additional, more in-depth testing, during this
> following week, but I wanted to present that patch for consideration, and
> comments.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira