]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/controllers/host.py
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / controllers / host.py
1 # -*- coding: utf-8 -*-
2 from __future__ import absolute_import
3
4 from . import ApiController, RESTController
5 from .. import mgr
6 from ..security import Scope
7
8
9 @ApiController('/host', Scope.HOSTS)
10 class Host(RESTController):
11 def list(self):
12 return mgr.list_servers()