text: # -*- coding: utf-8 -*-
  # ---------------------------------------------------------------------
  # Vitesse.VSC.get_inventory
  # ---------------------------------------------------------------------
  # Copyright (C) 2007-2019 The NOC Project
  # See LICENSE for details
  # ---------------------------------------------------------------------
  
  # NOC modules
  from noc.core.script.base import BaseScript
  from noc.sa.interfaces.igetinventory import IGetInventory
  
  
  class Script(BaseScript):
      name = "Vitesse.VSC.get_inventory"
      interface = IGetInventory
  
      def execute_cli(self):
          v = self.scripts.get_version()
          return [{"type": "CHASSIS", "vendor": "VITESSE", "part_no": [v["platform"]]}]
  