noc.cm.validators.interface.cdp_disabled

Module Contents

class noc.cm.validators.interface.cdp_disabled.InterfaceCDPDisabledValidator

Bases: noc.cm.validators.clipsinterface.CLIPSInterfaceValidator

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