noc.models

Module Contents

noc.models.logger
noc.models.get_model_id(object)
Returns model id for instance object
noc.models.get_model(model_id)
Returns model/document class for given model id
noc.models.get_object(model_id, object_id)
Return an object instance or None
noc.models.load_models()
noc.models.iter_model_id()
Iterate all model ids
noc.models._MCACHE
noc.models._MODELS
noc.models.FTS_MODELS = ['ip.Address', 'ip.Prefix', 'ip.VRF', 'vc.VC', 'sa.ManagedObject']
noc.models.COLLECTIONS = ['fm.SyntaxAlias', 'sa.Profile', 'dev.Quiz', 'dev.Spec', 'sa.Action', 'inv.Capability', 'pm.MetricScope', 'pm.MetricType', 'fm.Enumeration', 'inv.ConnectionRule', 'inv.ConnectionType', 'inv.Vendor', 'inv.Platform', 'inv.Firmware', 'fm.MIBAlias', 'gis.Layer', 'cm.ErrorType', 'fm.OIDAlias', 'inv.Technology', 'fm.MIBPreference', 'inv.ModelInterface', 'fm.AlarmSeverity', 'sa.ActionCommands', 'inv.ObjectModel', 'fm.AlarmClass', 'fm.EventClass', 'fm.EventClassificationRule', 'fm.CloneClassificationRule', 'sa.ProfileCheckRule', 'bi.DashboardLayout', 'cm.ConfDBQuery']