noc.core.confdb.applicator.adminstatus

Module Contents

class noc.core.confdb.applicator.adminstatus.DefaultAdminStatusApplicator

Bases: noc.core.confdb.applicator.query.QueryApplicator

Set missed interface’s AdminStatus from “hints interfaces defaults admin-status”

CHECK_QUERY = Match('hints', 'interfaces', 'defaults', 'admin-status')
QUERY = ["Match('hints', 'interfaces', 'defaults', 'admin-status', default_status) and NotMatch('interfaces', X, 'admin-status') and Fact('interfaces', X, 'admin-status', default_status)"]