noc.core.confdb.applicator.fitype

Module Contents

class noc.core.confdb.applicator.fitype.DefaultForwardingInstanceTypeApplicator

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

Set forwarding instance type if not set

QUERY = ["Match('virtual-router', vr, 'forwarding-instance', fi) and NotMatch('virtual-router', vr, 'forwarding-instance', fi, 'type') and Fact('virtual-router', vr, 'forwarding-instance', fi, 'type', default)"]
CONFIG