def info(self): """ A record dict containing IEEE registration details for this EUI (MAC-48) if available, None otherwise. """ data = {'OUI': self.oui.registration()} if self.is_iab(): data['IAB'] = self.iab.registration() return DictDotLookup(data)
def registration(self, index=0): """ The IEEE registration details for this OUI. :param index: the index of record (may contain multiple registrations) (Default: 0 - first registration) :return: Objectified Python data structure containing registration details. """ return DictDotLookup(self.records[index])
def registration(self): """ The IEEE registration details for this IAB""" return DictDotLookup(self.record)