noc.cm.validators.interface.cdp_enabled

Module Contents

class noc.cm.validators.interface.cdp_enabled.InterfaceCDPEnabledValidator

Bases: noc.cm.validators.clipsinterface.CLIPSInterfaceValidator

TITLE = Interface *MUST HAVE* CDP enabled
DESCRIPTION = Interface must have CDP enabled
TAGS = ['admin.status']
RULES = (defrule {{RULENAME}} (not (exists (interface (name "{{name}}") (protocols $? "CDP" $?)))) => (assert (error (type "Interface | CDP Disabled") (obj "{{name}}"))) )