noc.sa.models.authprofile

Module Contents

noc.sa.models.authprofile.id_lock
class noc.sa.models.authprofile.AuthProfile

Bases: noc.core.model.base.NOCModel

class Meta

Bases: object

verbose_name = Auth Profile
verbose_name_plural = Auth Profiles
db_table = sa_authprofile
app_label = sa
ordering = ['name']
name
description
type
user
password
super_password
snmp_ro
snmp_rw
remote_system
remote_id
bi_id
tags
_id_cache
enable_suggest
__str__(self)
classmethod get_by_id(cls, id)
on_save(self)
iter_snmp(self)

Yield all possible snmp_ro, snmp_rw tuples :return:

iter_cli(self)

Yield all possible user, password, super_password :return:

class noc.sa.models.authprofile.AuthProfileSuggestSNMP

Bases: noc.core.model.base.NOCModel

class Meta

Bases: object

verbose_name = Auth Profile Suggest SNMP
verbose_name_plural = Auth Profile Suggest SNMP
db_table = sa_authprofilesuggestsnmp
app_label = sa
auth_profile
snmp_ro
snmp_rw
__str__(self)
class noc.sa.models.authprofile.AuthProfileSuggestCLI

Bases: noc.core.model.base.NOCModel

class Meta

Bases: object

verbose_name = Auth Profile Suggest CLI
verbose_name_plural = Auth Profile Suggest CLI
db_table = sa_authprofilesuggestcli
app_label = sa
auth_profile
user
password
super_password
__str__(self)