text: # -*- coding: utf-8 -*-
  # ---------------------------------------------------------------------
  # inv.coverage application
  # ---------------------------------------------------------------------
  # Copyright (C) 2007-2019 The NOC Project
  # See LICENSE for details
  # ---------------------------------------------------------------------
  
  # NOC modules
  from noc.lib.app.extdocapplication import ExtDocApplication
  from noc.lib.app.docinline import DocInline
  from noc.inv.models.coverage import Coverage
  from noc.inv.models.coveredobject import CoveredObject
  from noc.inv.models.coveredbuilding import CoveredBuilding
  from noc.core.translation import ugettext as _
  
  
  class CoverageApplication(ExtDocApplication):
      """
      Coverage application
      """
  
      title = _("Coverage")
      menu = [_("Setup"), _("Coverage")]
      model = Coverage
      query_fields = ["name", "description"]
  
      objects = DocInline(CoveredObject)
      buildings = DocInline(CoveredBuilding)
  