noc.cm.models.objectvalidationpolicy

Module Contents

noc.cm.models.objectvalidationpolicy.id_lock
class noc.cm.models.objectvalidationpolicy.ObjectValidationRule

Bases: mongoengine.document.EmbeddedDocument

query
query_params
filter_query
is_active
error_code
error_text_template
alarm_class
is_fatal
__str__(self)
class noc.cm.models.objectvalidationpolicy.ObjectValidationPolicy

Bases: mongoengine.document.Document

meta
name
description
filter_query
rules
_id_cache
__str__(self)
classmethod get_by_id(cls, id)
iter_problems(self, engine)

Check rules against ConfDB engine

Parameters:engine – ConfDB Engine instance
Returns:List of problems