chi.storage¶
The chi.storage
module provides methods for using the shared
filesystem and object store on chameleon.
- class chi.storage.ObjectBucket(name: str)[source]¶
Class representing an object store bucket
- Parameters:
name (str) – name of the bucket
Represents a manilla share
- Parameters:
- Fields:
id (str): id of the share export_locations: list of mount paths
Delete the share.
Extend the size of the specific share.
- Parameters:
new_size – desired size to extend share to.
Shrink the size of the specific share.
- Parameters:
new_size – desired size to extend share to.
Create the share.
- Parameters:
idempotent (bool, optional) – Whether to create the share only if it doesn’t already exist.
Get a share by its ID or name.
- Parameters:
ref (str) – The ID or name of the share.
- Returns:
The share matching the ID or name.
- Raises:
NotFound – If the share could not be found.
Get a list of all available flavors.
- Returns:
A list of all flavors.