noc.peer.models.whoisoriginroute

Module Contents

class noc.peer.models.whoisoriginroute.WhoisOriginRoute

Bases: mongoengine.document.Document

origin -> route

meta
origin
routes
__str__(self)
classmethod lookup(cls, key)
classmethod upload(cls, data)

Replace cache with the new data :param cls: :param data: List of {origin:, routes:} :return: Number of inserted records