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(32, 8, '.', 4, 10)` A shared strategy object supporting all operations on IPv4 addresses.
| ST_IPV6 = `IPv6Strategy(128, 16, ':', 6, 16)` A shared strategy object supporting all operations on IPv6 addresses.
| ST_EUI48 = `EUI48Strategy(48, 8, '-', 48, 16)` A shared strategy object supporting all operations on EUI-48/MAC addresses.
| ST_EUI64 = `AddrStrategy(64, 8, '-', 64, 16)` A shared strategy object supporting all operations on EUI-64 addresses.