noc.ip.models.prefixbookmark

Module Contents

class noc.ip.models.prefixbookmark.PrefixBookmark

Bases: noc.core.model.base.NOCModel

User Bookmarks

class Meta

Bases: object

verbose_name
verbose_name_plural
db_table = ip_prefixbookmark
app_label = ip
unique_together = [['user', 'prefix']]
user
prefix
__str__(self)
classmethod user_bookmarks(cls, user, vrf=None, afi=None)

Returns a prefixes bookmarked by user :param cls: :param user: :param vrf: :param afi: :return: