noc.cm.validators.object.mplsisis

Module Contents

class noc.cm.validators.object.mplsisis.MPLSISISValidator

Bases: noc.cm.validators.clipsobject.CLIPSObjectValidator

TITLE = MPLS Interfaces *MUST HAVE* ISIS
DESCRIPTION = MPLS Interfaces must have ISIS protocol configured
TAGS = ['isis', 'mpls']
RULES = (defrule {{RULENAME}} (subinterface (admin_status 1) (name ?n)(afi $? "MPLS" $?)) (not (subinterface (name ?n) (protocols $? "ISIS" $?))) => (assert (error (type "Interface | MPLS Without ISIS") (obj ?n))) )