distrax.pools.get_pool#
- distrax.pools.get_pool(name='')[source]#
Gets the pool as specified by the name.
- Parameters:
name (
str
) – Name of a supported pool, i.e. ceph- Return type:
Optional
[POOL
]- Returns:
A name tuple with the name of the storage and the class
Examples
>>> distrax.pools as pools >>> pool = pools.get_pool("ceph") >>> pool.name ceph >>> pool.POOL CephPool