(self, pool_name, pg_num=16, erasure_code_profile_name=None)
| 2225 | |
| 2226 | @contextlib.contextmanager |
| 2227 | def pool(self, pool_name, pg_num=16, erasure_code_profile_name=None): |
| 2228 | self.create_pool(pool_name, pg_num, erasure_code_profile_name) |
| 2229 | yield |
| 2230 | self.remove_pool(pool_name) |
| 2231 | |
| 2232 | def create_pool(self, pool_name, pg_num=16, |
| 2233 | erasure_code_profile_name=None, |