Bases: object
Abstraction layer for Keystone V2 and V3 project objects
A Helper method to get the project hierarchy.
Along with hierarchical multitenancy in keystone API v3, projects can be hierarchically organized. Therefore, we need to know the project hierarchy, if any, in order to do nested quota operations properly. If the domain is being used as the top most parent, it is filtered out from the parent tree and parent_id.
Validates the setup supports using nested quotas.
Ensures that Keystone v3 or greater is being used, that the current user is of the cloud admin role, and that the existing quotas make sense to nest in the current hierarchy (e.g. that no child quota would be larger than it’s parent).
Parameters: |
|
---|