noc.inv.models.macdb

Module Contents

class noc.inv.models.macdb.MACDB

Bases: mongoengine.document.Document

Customer MAC address database

meta
mac
vc_domain
vlan
managed_object
interface
last_changed
__str__(self)
save(self, *args, **kwargs)
classmethod submit(cls, mac, vc_domain, vlan, interface, timestamp=None)

Submit mac to database Returns True if database been changed :param cls: :param mac: :param vc_domain :param vlan :param interface: :param timestamp: :return: