noc.cm.validators.service.enabled

Module Contents

class noc.cm.validators.service.enabled.ServiceDisabledValidator

Bases: noc.cm.validators.clipsobject.CLIPSObjectValidator

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