[
https://issues.apache.org/jira/browse/LIBCLOUD-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133127#comment-13133127
]
Hutson Betts commented on LIBCLOUD-119:
---------------------------------------
Tomaz,
Under further consideration, I decided to sub-class NodeSize to implement the
CPU and VCPU properties.
Though I believe we'll continue to face duplication in this area. I believe
drivers might have to handle peculiarities amongst their sizes until we derive
a definition for CPU, and VCPU.
Such as, I don't believe we can specify a CPU frequency as a property of a node
type/size, since it is not concrete. A unit of "CPU", or "Compute Unit" might
stand for any number of possible processing metrics. For Amazon, a Compute Unit
implies a range, such as "1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor" -
Amazon. Whereas, on an OpenNebula infrastructure, CPU is associated with the
number of cores reserved for the virtual instance. That CPU could represent any
processor, frequency, etc.
> OpenNebula Node Types Updates
> -----------------------------
>
> Key: LIBCLOUD-119
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-119
> Project: Libcloud
> Issue Type: Improvement
> Components: Compute
> Affects Versions: 0.5.2, 0.6.0
> Environment: Debian Squeeze, using libcloud 0.5.2 extracted from an
> archive file.
> Reporter: Hutson Betts
> Priority: Minor
> Labels: patch
> Fix For: 0.5.2, 0.6.0
>
> Attachments: size.diff
>
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> I updated the list_sizes() function to return the correct definitions for
> each size as specified in the current release (3.0) of OpenNebula.
> Template directory where sizes are specified:
> http://dev.opennebula.org/projects/opennebula/repository/revisions/master/show/src/cloud/occi/etc/templates
> Furthermore, I added a CPU and Virtual CPU attribute to NodeSize. These
> attributes are part of the Node Sizes as used by OpenNebula. This changed
> required the addition of CPU and VCPU parameters to the NodeSize base class.
--
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