Heya, I'm trying to make some changes to the cloudstack backend to support projects. CloudStack projects are a special beast where resources and permissions can be shared outside regular account/domain separation.
The also means that resources are either part of a project or belong to a user (account/domain). So if i retrieve a list of virtual machines as a user i will only see the virtual machines that are mine. If i want to see the virtual machine that i have access to by being part of a project i need to supply a project id. Currently in jclouds the "standard" calls like listNodes() and others work for the regular items, but not for the project items. I was thinking of writing a patch for this, but i need some pointers to get started. I was thinking of adding a property to CloudStackProperties so the user can supply a projectid when creating the context. How do i get the value of this property when i want to add project id to the options in for example CloudStackComputeServiceAdapter.listNodes()? Or is there a better way of doing this? Any pointers will be much appreciated. Cheers, Hugo -- Tsune ni ite, kyu ni awasu. Hugo [email protected]
