noc.core.confdb.applicator.ntp

Module Contents

class noc.core.confdb.applicator.ntp.DefaultNTPVersionApplicator

Bases: noc.core.confdb.applicator.query.QueryApplicator

CHECK_QUERY = Match('hints', 'protocols', 'ntp', 'version')
QUERY = ["Match('hints', 'protocols', 'ntp', 'version', default_version) and NotMatch('protocols', 'ntp', X, 'version') and Fact('protocols', 'ntp', X, 'version', default_version)"]
class noc.core.confdb.applicator.ntp.DefaultNTPModeApplicator

Bases: noc.core.confdb.applicator.query.QueryApplicator

CHECK_QUERY = Match('hints', 'protocols', 'ntp', 'mode')
QUERY = ["Match('hints', 'protocols', 'ntp', 'mode', default_mode) and NotMatch('protocols', 'ntp', X, 'mode') and Fact('protocols', 'ntp', X, 'mode', default_mode)"]