Classes and utility methods for datastore selection.
Bases: object
Class for selecting datastores which satisfy input requirements.
Get vCenter profile ID for the given profile name.
Parameters: | profile_name – profile name |
---|---|
Returns: | vCenter profile ID |
Raises: | ProfileNotFoundException |
Check if the datastore is compliant with given profile.
Parameters: |
|
---|---|
Returns: | True if the datastore is compliant; False otherwise |
Raises: | ProfileNotFoundException |
Selects a datastore satisfying the given requirements.
Returns the selected datastore summary along with a compute host and resource pool where a VM can be created.
Parameters: |
|
---|---|
Returns: | (host, resourcePool, summary) |