noc.fm.models.ttsystem

Module Contents

noc.fm.models.ttsystem.id_lock
noc.fm.models.ttsystem.logger
noc.fm.models.ttsystem.DEFAULT_TTSYSTEM_SHARD = default
class noc.fm.models.ttsystem.TTSystem

Bases: mongoengine.document.Document

meta
name
is_active
handler
description
connection
failure_cooldown
failed_till
shard_name
max_threads
telemetry_sample
tags
remote_system
remote_id
_id_cache
_name_cache
__str__(self)
classmethod get_by_id(cls, id)
classmethod get_by_name(cls, name)
get_system(self)

Return BaseTTSystem instance

is_failed(self)

Check TTSystem is in failed state :return:

register_failure(self)