(self, pool: str)
| 1197 | @API.perm('w') |
| 1198 | @API.expose |
| 1199 | def create_pool(self, pool: str) -> None: |
| 1200 | c = { |
| 1201 | 'prefix': 'osd pool create', |
| 1202 | 'format': 'json', |
| 1203 | 'pool': pool, |
| 1204 | 'pg_num': 1, |
| 1205 | 'pg_num_min': 1, |
| 1206 | 'pg_num_max': 32, |
| 1207 | 'yes_i_really_mean_it': True |
| 1208 | } |
| 1209 | self.check_mon_command(c) |
| 1210 | |
| 1211 | @API.perm('w') |
| 1212 | @API.expose |
no test coverage detected