PNG
IHDR ; IDATxܻn0K
)(pA7LeG{ §㻢|ذaÆ
6lذaÆ
6lذaÆ
6lom$^yذag5 bÆ
6lذaÆ
6lذa{
6lذaÆ
`}HFkm,mӪôô!x|'ܢ˟;E:9&ᶒ}{v]n&6
h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%tMז -lG6mrz2s%9s@-k9=)kB5\+͂ZsٲRn~GRCwIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL /F*\Ԕ#"5m2[S=gnaPeғL
lذaÆ
6l^ḵaÆ
6lذaÆ
6lذa;
_ذaÆ
6lذaÆ
6lذaÆ
R IENDB`
An IEEE EUI (Extended Unique Identifier).
Both EUI-48 (used for layer 2 MAC addresses) and EUI-64 are
supported.
Input parsing for EUI-48 addresses is flexible, supporting many MAC
variants.
|
__init__(self,
addr,
version=None,
dialect=None)
Constructor. |
|
|
|
|
|
|
|
|
|
_set_dialect(self,
value) |
|
|
|
is_iab(self)
Returns:
True if this EUI is an IAB address, False otherwise |
|
|
|
__getitem__(self,
idx)
Returns:
The integer value of the word referenced by index (both positive and
negative). |
|
|
|
__setitem__(self,
idx,
value)
Sets the value of the word referenced by index in this address |
|
|
|
__hash__(self)
Returns:
hash of this EUI object suitable for dict keys, sets etc |
|
|
|
__eq__(self,
other)
Returns:
True if this EUI object is numerically the same as
other, False otherwise. |
|
|
|
__ne__(self,
other)
Returns:
False if this EUI object is numerically the same as the
other, True otherwise. |
|
|
|
__lt__(self,
other)
Returns:
True if this EUI object is numerically lower in value
than other, False otherwise. |
|
|
|
__le__(self,
other)
Returns:
True if this EUI object is numerically lower or equal in
value to other, False otherwise. |
|
|
|
__gt__(self,
other)
Returns:
True if this EUI object is numerically greater in value
than other, False otherwise. |
|
|
|
__ge__(self,
other)
Returns:
True if this EUI object is numerically greater or equal
in value to other, False otherwise. |
|
|
|
bits(self,
word_sep=None)
Returns:
human-readable binary digit string of this address |
|
|
|
eui64(self)
Returns:
The value of this EUI object as a new 64-bit EUI object. |
|
|
|
|
|
__str__(self)
Returns:
EUI in representational format |
|
|
|
__repr__(self)
Returns:
executable Python string to recreate equivalent object. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
__hex__(self)
Returns:
hexadecimal string representation of this identifier. |
|
|
|
__index__(self)
Returns:
return the integer value of this identifier when passed to hex(),
oct() or bin(). |
|
|
|
__int__(self)
Returns:
integer value of this identifier |
|
|
|
__long__(self)
Returns:
integer value of this identifier |
|
|
|
__oct__(self)
Returns:
octal string representation of this identifier. |
|
|
|
value
a positive integer representing the value of this EUI indentifier.
|
|
dialect
a Python class providing support for the interpretation of various
MAC address formats.
|
|
oui
The OUI (Organisationally Unique Identifier) for this EUI.
|
|
ei
The EI (Extension Identifier) for this EUI
|
|
iab
If is_iab() is True, the IAB (Individual Address Block) is returned,
None otherwise.
|
|
version
The EUI version represented by this EUI object.
|
|
packed
The value of this EUI address as a packed binary string.
|
|
words
A list of unsigned integer octets found in this EUI address.
|
|
bin
The value of this EUI adddress in standard Python binary
representational form (0bxxx).
|
|
info
A record dict containing IEEE registration details for this EUI
(MAC-48) if available, None otherwise.
|
|
_dialect
|
|
_module
|
Inherited from object :
__class__
|
|
_value
|