def get_server(self, hostname): """ Called by the plugin to load information about a particular node from ceph-mgr. :param hostname: a hostame """ return ceph_state.get_server(self._handle, hostname)
def list_servers(self): """ Like ``get_server``, but instead of returning information about just one node, return all the nodes in an array. """ return ceph_state.get_server(self._handle, None)