noc.dev.models.quiz

Module Contents

noc.dev.models.quiz.id_lock
noc.dev.models.quiz.Q_TYPES = ['str', 'bool', 'int', 'cli', 'snmp-get', 'snmp-getnext']
class noc.dev.models.quiz.QuizChange

Bases: mongoengine.document.EmbeddedDocument

date
changes
json_data
class noc.dev.models.quiz.QuizQuestion

Bases: mongoengine.document.EmbeddedDocument

name
question
type
when
json_data
class noc.dev.models.quiz.Quiz

Bases: mongoengine.document.Document

meta
name
uuid
description
revision
changes
disclaimer
questions
_id_cache
_name_cache
json_data
__str__(self)
classmethod get_by_id(cls, id)
classmethod get_by_name(cls, name)
to_json(self)
get_json_path(self)