noc.main.models.timepatternterm

Module Contents

class noc.main.models.timepatternterm.TimePatternTerm

Bases: noc.core.model.base.NOCModel

Time pattern terms

class Meta

Bases: object

verbose_name = Time Pattern Term
verbose_name_plural = Time Pattern Terms
db_table = main_timepatternterm
app_label = main
unique_together = [['time_pattern', 'term']]
time_pattern
term
__str__(self)
classmethod check_syntax(cls, term)

Checks Time Pattern syntax. Raises SyntaxError in case of error

save(self, *args, **kwargs)

Check syntax before save

iter_changed_datastream(self, changed_fields=None)