MCPcopy Create free account
hub / github.com/ceph/ceph / appify_pool

Method appify_pool

src/pybind/mgr/mgr_module.py:1213–1221  ·  view source on GitHub ↗
(self, pool: str, app: str)

Source from the content-addressed store, hash-verified

1211 @API.perm('w')
1212 @API.expose
1213 def appify_pool(self, pool: str, app: str) -> None:
1214 c = {
1215 'prefix': 'osd pool application enable',
1216 'format': 'json',
1217 'pool': pool,
1218 'app': app,
1219 'yes_i_really_mean_it': True
1220 }
1221 self.check_mon_command(c)
1222
1223 @API.perm('w')
1224 @API.expose

Callers 2

create_mgr_poolMethod · 0.95

Calls 1

check_mon_commandMethod · 0.95

Tested by

no test coverage detected