noc.core.mib

Module Contents

noc.core.mib.logger
noc.core.mib.MissedModuleError
class noc.core.mib.MIBRegistry

Bases: object

PATHS
load_lock
__getitem__(self, item)
static mib_to_modname(name)

Convert MIB name to module name (without .py) :param name: MIB name, like IF-MIB :return: Module name, like if_mib

load_mib(self, name)

Load MIB by name

Parameters:name – MIB name, like IF-MIB
Returns:
is_loaded(self, name)

Check MIB is loaded :param name: :return:

reset(self)

Reset MIB cache

Returns:
noc.core.mib.mib