Represents an IEEE EUI (Extended Unique Identifier) indentifier.
Input parser is flexible, supporting EUI-48 (including the many Media
Access Control variants) and EUI-64.
|
|
|
oui(self,
fmt=<class 'netaddr.eui.OUI'>)
Returns:
The OUI (Organisationally Unique Identifier) for this EUI. |
source code
|
|
|
ei(self)
Returns:
The EI (Extension Identifier) for this EUI |
source code
|
|
|
isiab(self)
Returns:
True if this EUI is an IAB address, False otherwise |
source code
|
|
|
iab(self,
fmt=<class 'netaddr.eui.IAB'>)
Returns:
If isiab() is True, the IAB (Individual Address Block) is returned,
None otherwise. |
source code
|
|
|
eui64(self)
Returns:
The value of this EUI object as a new 64-bit EUI object. |
source code
|
|
|
|
|
info(self)
Returns:
A record dict containing IEEE registration details for this EUI
(MAC-48) if available, None otherwise. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|
|
__add__(self,
other)
Returns:
A new (potentially larger) Addr class/subclass instance. |
source code
|
|
|
__and__(self,
other)
Returns:
bitwise AND (x & y) of self.value with other.value. |
source code
|
|
|
__eq__(self,
other)
Returns:
True if this address is numerically the same as other,
False otherwise. |
source code
|
|
|
__ge__(self,
other)
Returns:
True if this address is numerically greater or equal in
value to other, False otherwise. |
source code
|
|
|
__getitem__(self,
index)
Returns:
The integer value of the word referenced by index (both positive and
negative). |
source code
|
|
|
__gt__(self,
other)
Returns:
True if this address is numerically greater in value
than other, False otherwise. |
source code
|
|
|
|
|
__hex__(self)
Returns:
hexadecimal string representation of this address (in network byte
order). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
__le__(self,
other)
Returns:
True if this address is numerically lower or equal in
value to other, False otherwise. |
source code
|
|
|
|
|
|
|
|
|
__lt__(self,
other)
Returns:
True if this address is numerically lower in value than
other, False otherwise. |
source code
|
|
|
__ne__(self,
other)
Returns:
False if this address is numerically the same as the
other, True otherwise. |
source code
|
|
|
__or__(self,
other)
Returns:
bitwise OR (x | y) of self.value with other.value. |
source code
|
|
|
|
|
|
|
__setitem__(self,
index,
value)
Sets the value of the word referenced by index in this address |
source code
|
|
|
|
|
__sub__(self,
other)
Returns:
A new (potentially smaller) Addr class/subclass instance. |
source code
|
|
|
__xor__(self,
other)
Returns:
bitwise exclusive OR (x ^ y) of self.value with other.value. |
source code
|
|
|
bin(self)
Returns:
standard Python binary representation of this address. |
source code
|
|
|
bits(self,
word_sep=None)
Returns:
human-readable binary digit string of this address |
source code
|
|
|
|