An (unmounted) cephfs instance to be shared by any classes within this mgr module that want one.
(self)
| 2586 | |
| 2587 | @property |
| 2588 | def cephfs(self) -> cephfs.LibCephFS: |
| 2589 | """ |
| 2590 | An (unmounted) cephfs instance to be shared by any classes within this |
| 2591 | mgr module that want one. |
| 2592 | """ |
| 2593 | if self._cephfs: |
| 2594 | return self._cephfs |
| 2595 | |
| 2596 | self._cephfs = cephfs.LibCephFS(rados_inst=self.rados) |
| 2597 | self._cephfs.init() |
| 2598 | return self._cephfs |
| 2599 | |
| 2600 | @staticmethod |
| 2601 | def can_run() -> Tuple[bool, str]: |