dnspython  1.16.0
About: dnspython is a DNS toolkit (for Python 2.x) that supports almost all record types.
  Fossies Dox: dnspython-1.16.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

dns.rdtypes.euibase.EUIBase Class Reference
Inheritance diagram for dns.rdtypes.euibase.EUIBase:
[legend]
Collaboration diagram for dns.rdtypes.euibase.EUIBase:
[legend]

Public Member Functions

def __init__ (self, rdclass, rdtype, eui)
 
def to_text (self, origin=None, relativize=True, **kw)
 
def from_text (cls, rdclass, rdtype, tok, origin=None, relativize=True)
 
def to_wire (self, file, compress=None, origin=None)
 
def from_wire (cls, rdclass, rdtype, wire, current, rdlen, origin=None)
 
- Public Member Functions inherited from dns.rdata.Rdata
def __init__ (self, rdclass, rdtype)
 
def covers (self)
 
def extended_rdatatype (self)
 
def to_digestable (self, origin=None)
 
def validate (self)
 
def __repr__ (self)
 
def __str__ (self)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __lt__ (self, other)
 
def __le__ (self, other)
 
def __ge__ (self, other)
 
def __gt__ (self, other)
 
def __hash__ (self)
 
def choose_relativity (self, origin=None, relativize=True)
 

Public Attributes

 eui
 
- Public Attributes inherited from dns.rdata.Rdata
 rdclass
 
 rdtype
 

Static Private Attributes

list __slots__ = ['eui']
 

Detailed Description

EUIxx record

@ivar fingerprint: xx-bit Extended Unique Identifier (EUI-xx)
@type fingerprint: string
@see: rfc7043.txt

Definition at line 23 of file euibase.py.

Constructor & Destructor Documentation

◆ __init__()

def dns.rdtypes.euibase.EUIBase.__init__ (   self,
  rdclass,
  rdtype,
  eui 
)

Member Function Documentation

◆ from_text()

def dns.rdtypes.euibase.EUIBase.from_text (   cls,
  rdclass,
  rdtype,
  tok,
  origin = None,
  relativize = True 
)

◆ from_wire()

def dns.rdtypes.euibase.EUIBase.from_wire (   cls,
  rdclass,
  rdtype,
  wire,
  current,
  rdlen,
  origin = None 
)

Reimplemented from dns.rdata.Rdata.

Definition at line 69 of file euibase.py.

◆ to_text()

def dns.rdtypes.euibase.EUIBase.to_text (   self,
  origin = None,
  relativize = True,
**  kw 
)
Convert an rdata to text format.

Returns a ``text``.

Reimplemented from dns.rdata.Rdata.

Definition at line 43 of file euibase.py.

References dns.rdata._hexify(), and dns.rdtypes.euibase.EUIBase.eui.

◆ to_wire()

def dns.rdtypes.euibase.EUIBase.to_wire (   self,
  file,
  compress = None,
  origin = None 
)
Convert an rdata to wire format.

Returns a ``binary``.

Reimplemented from dns.rdata.Rdata.

Definition at line 65 of file euibase.py.

References dns.rdtypes.euibase.EUIBase.eui.

Member Data Documentation

◆ __slots__

list dns.rdtypes.euibase.EUIBase.__slots__ = ['eui']
staticprivate

Definition at line 31 of file euibase.py.

◆ eui

dns.rdtypes.euibase.EUIBase.eui

The documentation for this class was generated from the following file: