]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/controllers/crush_rule.py
import 15.2.5
[ceph.git] / ceph / src / pybind / mgr / dashboard / controllers / crush_rule.py
index 6a2ffd8f7709c064a28446a73bfe042530206c89..3aeef258aa3bbf862d5c9926909493c31866ff98 100644 (file)
@@ -3,7 +3,8 @@ from __future__ import absolute_import
 
 from cherrypy import NotFound
 
-from . import ApiController, RESTController, Endpoint, ReadPermission, UiApiController
+from . import ApiController, ControllerDoc, RESTController, Endpoint, ReadPermission, \
+    UiApiController
 from ..security import Scope
 from ..services.ceph_service import CephService
 from .. import mgr
@@ -35,6 +36,7 @@ class CrushRule(RESTController):
 
 
 @UiApiController('/crush_rule', Scope.POOL)
+@ControllerDoc("Dashboard UI helper function; not part of the public API", "CrushRuleUi")
 class CrushRuleUi(CrushRule):
     @Endpoint()
     @ReadPermission