noc.cm.validators.interface.admin_down

Module Contents

class noc.cm.validators.interface.admin_down.InterfaceAdminDownValidator

Bases: noc.cm.validators.clipsinterface.CLIPSInterfaceValidator

TITLE = Interface *MUST BE* administratively down
DESCRIPTION = Interface must be administratively down
TAGS = ['admin.status']
RULES = (defrule {{RULENAME}} ?i <- (interface (name "{{name}}") (admin_status 1)) => (assert (error (type "Interface | Admin Status Up") (obj "{{name}}"))) )