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)  

EUI64.py
Go to the documentation of this file.
1 # Copyright (C) 2015 Red Hat, Inc.
2 # Author: Petr Spacek <pspacek@redhat.com>
3 #
4 # Permission to use, copy, modify, and distribute this software and its
5 # documentation for any purpose with or without fee is hereby granted,
6 # provided that the above copyright notice and this permission notice
7 # appear in all copies.
8 #
9 # THE SOFTWARE IS PROVIDED 'AS IS' AND RED HAT DISCLAIMS ALL WARRANTIES
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
15 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 
18 
19 
21 
22  """EUI64 record
23 
24  @ivar fingerprint: 64-bit Extended Unique Identifier (EUI-64)
25  @type fingerprint: string
26  @see: rfc7043.txt"""
27 
28  byte_len = 8 # 0123456789abcdef (in hex)
29  text_len = byte_len * 3 - 1 # 01-23-45-67-89-ab-cd-ef
dns.rdtypes.euibase
Definition: euibase.py:1
dns.rdtypes.ANY.EUI64.EUI64
Definition: EUI64.py:20
dns.rdtypes.euibase.EUIBase
Definition: euibase.py:23