old_contents: from pecan import expose
  from ceph_installer.controllers import (
      tasks, mon, osd, rgw, calamari, errors, setup, agent
  )
  
  
  class ApiController(object):
  
      @expose('json')
      def index(self):
          # TODO: allow some autodiscovery here so that clients can see what is
          # available
          return dict()
  
      agent = agent.AgentController()
      tasks = tasks.TasksController()
      mon = mon.MONController()
      osd = osd.OSDController()
      rgw = rgw.RGWController()
      calamari = calamari.CalamariController()
  
  
  class RootController(object):
  
      @expose('json')
      def index(self):
          return dict()
  
      api = ApiController()
      errors = errors.ErrorController()
      setup = setup.SetupController()
  
new_contents: from pecan import expose
  from ceph_installer.controllers import (
      tasks, mon, osd, rgw, calamari, errors, setup, agent,
      status
  )
  
  
  class ApiController(object):
  
      @expose('json')
      def index(self):
          # TODO: allow some autodiscovery here so that clients can see what is
          # available
          return dict()
  
      agent = agent.AgentController()
      tasks = tasks.TasksController()
      mon = mon.MONController()
      osd = osd.OSDController()
      rgw = rgw.RGWController()
      calamari = calamari.CalamariController()
      status = status.StatusController()
  
  
  class RootController(object):
  
      @expose('json')
      def index(self):
          return dict()
  
      api = ApiController()
      errors = errors.ErrorController()
      setup = setup.SetupController()
  
subject: add the status controller to the /api/