noc.cm.validators.interface.ip_redirects_disabled

Module Contents

class noc.cm.validators.interface.ip_redirects_disabled.InterfaceIPProxyArpDisabledValidator

Bases: noc.cm.validators.clipssubinterface.CLIPSSubInterfaceValidator

TITLE = Interface *MUST HAVE* IP redirects disabled
DESCRIPTION = Interface must have IP redirects disabled
TAGS = []
RULES = (defrule {{RULENAME}} (subinterface (name "{{name}}") (admin_status 1) (afi $? "IPv4" $?) (ip_redirects 1) ) => (assert (error (type "Interface | IP Redirects Enabled") (obj "{{name}}"))) )