
Dan Smith wrote:
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.
I can see what you mean with EnumInstances, although if this is how the DMTF wants things done I still take issue with it since it just feels like a broken way of doing what the associations do. -- -Jay