text: # ---------------------------------------------------------------------
  # Raisecom.ROS.get_tech_support
  # ---------------------------------------------------------------------
  # Copyright (C) 2007-2019 The NOC Project
  # See LICENSE for details
  # ---------------------------------------------------------------------
  
  # NOC modules
  from noc.core.script.base import BaseScript
  from noc.sa.interfaces.igettechsupport import IGetTechSupport
  from noc.core.comp import smart_text, smart_bytes
  
  
  class Script(BaseScript):
      name = "Raisecom.ROS.get_tech_support"
      interface = IGetTechSupport
  
      def execute_cli(self):
          try:
              c = self.cli("show tech-support")
          except self.CLISyntaxError:
              raise self.NotSupportedError()
          return smart_bytes(smart_text(c, errors="ignore"))
  