]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/services/cluster.py
1 # -*- coding: utf-8 -*-
15 def __init__(self
, status
=Status
.INSTALLED
.name
):
16 self
.status
= self
.Status
[status
]
19 return {'status': self
.status
.name
}
22 mgr
.set_store('cluster/status', self
.status
.name
)
26 return cls(status
=mgr
.get_store('cluster/status', cls
.Status
.INSTALLED
.name
))