noc.core.confdb.applicator.interfacetype

Module Contents

class noc.core.confdb.applicator.interfacetype.InterfaceTypeApplicator

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

Set missed interface types via profile’s .get_interface_type()

QUERY = ["NotMatch('interfaces', X, 'type') and Set(if_type=profile.get_interface_type(X)) and Filter(if_type is not None) and Fact('interfaces', X, 'type', if_type)"]