Package netaddr :: Module info
[frames] | no frames]

Module info

source code

Informational data on various network address types.

Functions
 
ipv4_cidr_prefixes()
Returns a recordset (list of dicts) of host/network breakdown for IPv4 using all of the various CIDR prefixes.
source code
 
ipv6_cidr_prefixes()
Returns a recordset (list of dicts) of host/network breakdown for IPv6 using all of the various CIDR prefixes.
source code
 
print_ipv4_cidr_prefixes()
Prints a table to stdout of host/network breakdown for IPv4 using CIDR notation.
source code
 
print_ipv6_cidr_prefixes()
Prints a table to stdout of host/network breakdown for IPv6 using CIDR notation.
source code
 
ipv4_iana_dict(fname)
Parses the IANA IPv4 address space text file.
source code
 
ipv4_wildcard_lookup(d)
Returns a lookup that provides
source code
Function Details

ipv4_iana_dict(fname)

source code 

Parses the IANA IPv4 address space text file.

Returns a dictionary in the format :-

{ '<status>' : { '<designation>' : ['<prefix>'] } }