noc.main.models.refbookfield

Module Contents

class noc.main.models.refbookfield.RefBookField

Bases: noc.core.model.base.NOCModel

Refbook fields

class Meta

Bases: object

app_label = main
verbose_name = Ref Book Field
verbose_name_plural = Ref Book Fields
unique_together = [['ref_book', 'order'], ['ref_book', 'name']]
ordering = ['ref_book', 'order']
ref_book
name
order
is_required
description
search_method
rx_mac_3_octets
__str__(self)
get_extra(self, search)
search_string(self, search)

string search method

search_substring(self, search)

substring search method

search_starting(self, search)

starting search method

search_mac_3_octets_upper(self, search)

Match 3 first octets of the MAC address