6 from util import mactobinary
10 def __init__(self, addr):
20 return mactobinary(self.address)
29 def __eq__(self, other):
30 if isinstance(other, self.__class__):
31 return self.address == other.address
32 elif hasattr(other, "bytes"):
34 return self.bytes == other.bytes
36 raise TypeError("Comparing VppMacAddress:%s"
37 "with unknown type: %s" %