noc.cm.validators.service.disabled

Module Contents

class noc.cm.validators.service.disabled.ServiceDisabledValidator

Bases: noc.cm.validators.clipsobject.CLIPSObjectValidator

TITLE = Service *MUST BE* disabled
DESCRIPTION = Service must be disabled
TAGS = ['service']
RULES = (defrule {{RULENAME}} ?s <- (service (name "{{service}}") (enabled 1)) => (assert (error (type "Service | Enabled") (obj "{{service}}"))) )
CONFIG_FORM