[Libvirt-cim] [PATCH 6 of 6] Add another relationship to ElementCapabilities, the ResourcePool-AllocationCapabilities connection. Only supports the pool_to_alloc direction, because it is the only one that's terribly interesting, but the other direction will need to be added at some point

Dan Smith danms at us.ibm.com
Fri Nov 9 20:46:40 UTC 2007


JG> I'm honestly not even sure what it's supposed to do on its own .
JG> Reading through the entire Allocation Capabilities Profile
JG> (DSP1043) provides no insight into what get/enumerateInstance(s)
JG> would do.  Reasonable detail is given about how it should be
JG> connected to things via associations, but there isn't much concept
JG> of a standalone instance.

The instance functions for AllocationCapabilities could probably be
left unimplemented without anyone noticing, I imagine.  However, I
think that EnumInstances should return an instance of every
AllocationCapabilities that could possibly be had through association
with a pool.  Thus, enumerate all the pools, create an AC instance for
each and return them.  GetInstance works the same.  Should be
trivial.

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20071109/6243c776/attachment.sig>


More information about the Libvirt-cim mailing list