noc.inv.models.firmware

Module Contents

noc.inv.models.firmware.id_lock
class noc.inv.models.firmware.Firmware

Bases: mongoengine.document.Document

meta
uuid
profile
vendor
version
description
download_url
full_name
bi_id
_id_cache
_bi_id_cache
_ensure_cache
__str__(self)
clean(self)
classmethod get_by_id(cls, id)
classmethod get_by_bi_id(cls, id)
to_json(self)
get_json_path(self)
classmethod ensure_firmware(cls, profile, vendor, version)

Get or create firmware by profile, vendor and version :param profile: :param vendor: :param version: :return: