Package netaddr :: Module strategy |
[hide private]
[frames] | no frames]

# Module strategy

source code

network address conversion logic, constants and shared strategy objects.

Classes | [hide private]
| AddrStrategy Basic support for common operations performed on each address type
| IPv4Strategy An AddrStrategy for IPv4 address processing.
| IPv6Strategy An AddrStrategy for IPv6 address processing.
| EUI48Strategy Implements the operations that can be performed on an IEEE 48-bit EUI (Extended Unique Identifer) a.k.a.

Variables | [hide private]
| ST_IPV4 = `IPv4Strategy()` A shared strategy object supporting all operations on IPv4 addresses.
| ST_IPV6 = `IPv6Strategy()` A shared strategy object supporting all operations on IPv6 addresses.
| ST_EUI48 = `EUI48Strategy()` A shared strategy object supporting all operations on EUI-48/MAC addresses.
| ST_EUI64 = `AddrStrategy(addr_type= AT_EUI64, width= 64, word_s`...`` A shared strategy object supporting all operations on EUI-64 addresses.

Variables Details | [hide private]

  ### ST_EUI64 A shared strategy object supporting all operations on EUI-64 addresses. Value:
      AddrStrategy(addr_type= AT_EUI64, width= 64, word_size= 8, word_fmt= '
      %.2X', word_sep= '-')