noc.cm.validators.interface.admin_up

Module Contents

class noc.cm.validators.interface.admin_up.InterfaceAdminUpValidator

Bases: noc.cm.validators.clipsinterface.CLIPSInterfaceValidator

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