From 4cccfcdc49b1ea6b1693a49926464f25103b3844 Mon Sep 17 00:00:00 2001 From: "David P. D. Moss" Date: Wed, 21 Jan 2009 01:11:51 +0000 Subject: This checkin makes up release 0.6. See CHANGELOG for details. --- docs/api/api-objects.txt | 451 +- docs/api/class-tree.html | 124 +- docs/api/help.html | 2 +- docs/api/identifier-index.html | 785 ++- docs/api/module-tree.html | 15 +- docs/api/netaddr-module.html | 160 +- docs/api/netaddr-pysrc.html | 77 +- docs/api/netaddr.AddrConversionError-class.html | 5 +- docs/api/netaddr.AddrFormatError-class.html | 5 +- docs/api/netaddr.address-module.html | 105 +- docs/api/netaddr.address-pysrc.html | 6058 +++++++++++--------- docs/api/netaddr.address.Addr-class.html | 600 +- docs/api/netaddr.address.AddrRange-class.html | 1111 ---- .../netaddr.address.AddrTypeDescriptor-class.html | 2 +- .../netaddr.address.AddrValueDescriptor-class.html | 2 +- docs/api/netaddr.address.CIDR-class.html | 485 +- docs/api/netaddr.address.EUI-class.html | 197 +- .../netaddr.address.FormatDescriptor-class.html | 237 + docs/api/netaddr.address.IP-class.html | 559 +- docs/api/netaddr.address.IPRange-class.html | 1415 +++++ docs/api/netaddr.address.IPRangeSet-class.html | 500 ++ .../api/netaddr.address.KlassDescriptor-class.html | 237 - .../netaddr.address.PrefixLenDescriptor-class.html | 6 +- .../netaddr.address.StrategyDescriptor-class.html | 2 +- docs/api/netaddr.address.Wildcard-class.html | 134 +- docs/api/netaddr.core-module.html | 152 + docs/api/netaddr.core-pysrc.html | 203 + docs/api/netaddr.core.PrettyPrinter-class.html | 264 + docs/api/netaddr.core.Publisher-class.html | 274 + docs/api/netaddr.core.Subscriber-class.html | 189 + docs/api/netaddr.eui-module.html | 437 ++ docs/api/netaddr.eui-pysrc.html | 690 +++ docs/api/netaddr.eui.FileIndexer-class.html | 262 + docs/api/netaddr.eui.IAB-class.html | 599 ++ docs/api/netaddr.eui.IABIndexParser-class.html | 253 + docs/api/netaddr.eui.NotRegisteredError-class.html | 179 + docs/api/netaddr.eui.OUI-class.html | 600 ++ docs/api/netaddr.eui.OUIIndexParser-class.html | 253 + docs/api/netaddr.ip-module.html | 284 + docs/api/netaddr.ip-pysrc.html | 637 ++ docs/api/netaddr.ip.DictUpdater-class.html | 268 + docs/api/netaddr.ip.IPv4Parser-class.html | 277 + docs/api/netaddr.ip.IPv6Parser-class.html | 277 + docs/api/netaddr.ip.LineRecordParser-class.html | 292 + docs/api/netaddr.ip.MulticastParser-class.html | 296 + docs/api/netaddr.misc-module.html | 196 + docs/api/netaddr.misc-pysrc.html | 194 + docs/api/netaddr.strategy-module.html | 46 +- docs/api/netaddr.strategy-pysrc.html | 2052 +++---- docs/api/netaddr.strategy.AddrStrategy-class.html | 465 +- docs/api/netaddr.strategy.EUI48Strategy-class.html | 173 +- .../netaddr.strategy.IPv4StrategyOpt-class.html | 103 +- .../netaddr.strategy.IPv4StrategyStd-class.html | 42 +- docs/api/netaddr.strategy.IPv6Strategy-class.html | 42 +- docs/api/redirect.html | 2 +- docs/api/toc-everything.html | 18 +- docs/api/toc-netaddr-module.html | 15 +- docs/api/toc-netaddr.core-module.html | 28 + docs/api/toc-netaddr.eui-module.html | 30 + docs/api/toc-netaddr.ip-module.html | 38 + docs/api/toc-netaddr.misc-module.html | 32 + docs/api/toc.html | 4 +- 62 files changed, 17116 insertions(+), 6324 deletions(-) delete mode 100755 docs/api/netaddr.address.AddrRange-class.html create mode 100644 docs/api/netaddr.address.FormatDescriptor-class.html create mode 100644 docs/api/netaddr.address.IPRange-class.html create mode 100644 docs/api/netaddr.address.IPRangeSet-class.html delete mode 100644 docs/api/netaddr.address.KlassDescriptor-class.html create mode 100644 docs/api/netaddr.core-module.html create mode 100644 docs/api/netaddr.core-pysrc.html create mode 100644 docs/api/netaddr.core.PrettyPrinter-class.html create mode 100644 docs/api/netaddr.core.Publisher-class.html create mode 100644 docs/api/netaddr.core.Subscriber-class.html create mode 100644 docs/api/netaddr.eui-module.html create mode 100644 docs/api/netaddr.eui-pysrc.html create mode 100644 docs/api/netaddr.eui.FileIndexer-class.html create mode 100644 docs/api/netaddr.eui.IAB-class.html create mode 100644 docs/api/netaddr.eui.IABIndexParser-class.html create mode 100644 docs/api/netaddr.eui.NotRegisteredError-class.html create mode 100644 docs/api/netaddr.eui.OUI-class.html create mode 100644 docs/api/netaddr.eui.OUIIndexParser-class.html create mode 100644 docs/api/netaddr.ip-module.html create mode 100644 docs/api/netaddr.ip-pysrc.html create mode 100644 docs/api/netaddr.ip.DictUpdater-class.html create mode 100644 docs/api/netaddr.ip.IPv4Parser-class.html create mode 100644 docs/api/netaddr.ip.IPv6Parser-class.html create mode 100644 docs/api/netaddr.ip.LineRecordParser-class.html create mode 100644 docs/api/netaddr.ip.MulticastParser-class.html create mode 100644 docs/api/netaddr.misc-module.html create mode 100644 docs/api/netaddr.misc-pysrc.html create mode 100644 docs/api/toc-netaddr.core-module.html create mode 100644 docs/api/toc-netaddr.eui-module.html create mode 100644 docs/api/toc-netaddr.ip-module.html create mode 100644 docs/api/toc-netaddr.misc-module.html (limited to 'docs') diff --git a/docs/api/api-objects.txt b/docs/api/api-objects.txt index 86db877..010b040 100755 --- a/docs/api/api-objects.txt +++ b/docs/api/api-objects.txt @@ -14,67 +14,70 @@ netaddr.ST_EUI64 netaddr-module.html#ST_EUI64 netaddr.address netaddr.address-module.html netaddr.address.AT_STRATEGIES netaddr.address-module.html#AT_STRATEGIES netaddr.address.nrange netaddr.address-module.html#nrange +netaddr.core netaddr.core-module.html +netaddr.eui netaddr.eui-module.html +netaddr.eui.create_ieee_indices netaddr.eui-module.html#create_ieee_indices +netaddr.eui.IEEE_OUI_METADATA netaddr.eui-module.html#IEEE_OUI_METADATA +netaddr.eui.IEEE_IAB_REGISTRY netaddr.eui-module.html#IEEE_IAB_REGISTRY +netaddr.eui.IEEE_OUI_INDEX netaddr.eui-module.html#IEEE_OUI_INDEX +netaddr.eui.IEEE_OUI_REGISTRY netaddr.eui-module.html#IEEE_OUI_REGISTRY +netaddr.eui.IEEE_IAB_METADATA netaddr.eui-module.html#IEEE_IAB_METADATA +netaddr.eui.IEEE_IAB_INDEX netaddr.eui-module.html#IEEE_IAB_INDEX +netaddr.eui.load_ieee_indices netaddr.eui-module.html#load_ieee_indices +netaddr.ip netaddr.ip-module.html +netaddr.ip.IANA_INFO netaddr.ip-module.html#IANA_INFO +netaddr.ip.query netaddr.ip-module.html#query +netaddr.ip.load_iana_info netaddr.ip-module.html#load_iana_info +netaddr.misc netaddr.misc-module.html +netaddr.misc.ipv6_cidr_prefixes netaddr.misc-module.html#ipv6_cidr_prefixes +netaddr.misc.print_ipv6_cidr_prefixes netaddr.misc-module.html#print_ipv6_cidr_prefixes +netaddr.misc.ipv4_cidr_prefixes netaddr.misc-module.html#ipv4_cidr_prefixes +netaddr.misc.print_ipv4_cidr_prefixes netaddr.misc-module.html#print_ipv4_cidr_prefixes netaddr.strategy netaddr.strategy-module.html -netaddr.strategy.ST_EUI48 netaddr.strategy-module.html#ST_EUI48 netaddr.strategy.USE_IPV4_OPT netaddr.strategy-module.html#USE_IPV4_OPT -netaddr.strategy.ST_IPV4 netaddr.strategy-module.html#ST_IPV4 +netaddr.strategy.ST_EUI48 netaddr.strategy-module.html#ST_EUI48 netaddr.strategy._BYTES_TO_BITS netaddr.strategy-module.html#_BYTES_TO_BITS netaddr.strategy.ST_IPV6 netaddr.strategy-module.html#ST_IPV6 +netaddr.strategy.ST_IPV4 netaddr.strategy-module.html#ST_IPV4 netaddr.strategy.ST_EUI64 netaddr.strategy-module.html#ST_EUI64 netaddr.AddrConversionError netaddr.AddrConversionError-class.html netaddr.AddrFormatError netaddr.AddrFormatError-class.html netaddr.address.Addr netaddr.address.Addr-class.html netaddr.address.Addr.__int__ netaddr.address.Addr-class.html#__int__ netaddr.address.Addr.ADDR_TYPES netaddr.address.Addr-class.html#ADDR_TYPES -netaddr.address.Addr.__isub__ netaddr.address.Addr-class.html#__isub__ +netaddr.address.Addr.__ne__ netaddr.address.Addr-class.html#__ne__ netaddr.address.Addr.__str__ netaddr.address.Addr-class.html#__str__ netaddr.address.Addr.value netaddr.address.Addr-class.html#value +netaddr.address.Addr.__and__ netaddr.address.Addr-class.html#__and__ netaddr.address.Addr.__lt__ netaddr.address.Addr-class.html#__lt__ netaddr.address.Addr.__init__ netaddr.address.Addr-class.html#__init__ +netaddr.address.Addr.__sub__ netaddr.address.Addr-class.html#__sub__ +netaddr.address.Addr.__rshift__ netaddr.address.Addr-class.html#__rshift__ +netaddr.address.Addr.__invert__ netaddr.address.Addr-class.html#__invert__ netaddr.address.Addr.strategy netaddr.address.Addr-class.html#strategy +netaddr.address.Addr.packed netaddr.address.Addr-class.html#packed netaddr.address.Addr.bits netaddr.address.Addr-class.html#bits netaddr.address.Addr.addr_type netaddr.address.Addr-class.html#addr_type netaddr.address.Addr.__len__ netaddr.address.Addr-class.html#__len__ -netaddr.address.Addr.__ne__ netaddr.address.Addr-class.html#__ne__ +netaddr.address.Addr.bin netaddr.address.Addr-class.html#bin +netaddr.address.Addr.__isub__ netaddr.address.Addr-class.html#__isub__ +netaddr.address.Addr.__lshift__ netaddr.address.Addr-class.html#__lshift__ netaddr.address.Addr.__getitem__ netaddr.address.Addr-class.html#__getitem__ -netaddr.address.Addr.__iter__ netaddr.address.Addr-class.html#__iter__ +netaddr.address.Addr.__setitem__ netaddr.address.Addr-class.html#__setitem__ +netaddr.address.Addr.__or__ netaddr.address.Addr-class.html#__or__ +netaddr.address.Addr.__add__ netaddr.address.Addr-class.html#__add__ netaddr.address.Addr.__gt__ netaddr.address.Addr-class.html#__gt__ netaddr.address.Addr.__hex__ netaddr.address.Addr-class.html#__hex__ netaddr.address.Addr.__eq__ netaddr.address.Addr-class.html#__eq__ -netaddr.address.Addr.__setitem__ netaddr.address.Addr-class.html#__setitem__ +netaddr.address.Addr.__iter__ netaddr.address.Addr-class.html#__iter__ netaddr.address.Addr.__iadd__ netaddr.address.Addr-class.html#__iadd__ +netaddr.address.Addr.__xor__ netaddr.address.Addr-class.html#__xor__ netaddr.address.Addr.__le__ netaddr.address.Addr-class.html#__le__ netaddr.address.Addr.__repr__ netaddr.address.Addr-class.html#__repr__ netaddr.address.Addr.__hash__ netaddr.address.Addr-class.html#__hash__ netaddr.address.Addr.STRATEGIES netaddr.address.Addr-class.html#STRATEGIES netaddr.address.Addr.__long__ netaddr.address.Addr-class.html#__long__ netaddr.address.Addr.__ge__ netaddr.address.Addr-class.html#__ge__ -netaddr.address.AddrRange netaddr.address.AddrRange-class.html -netaddr.address.AddrRange.ADDR_TYPES netaddr.address.AddrRange-class.html#ADDR_TYPES -netaddr.address.AddrRange.__ne__ netaddr.address.AddrRange-class.html#__ne__ -netaddr.address.AddrRange.__str__ netaddr.address.AddrRange-class.html#__str__ -netaddr.address.AddrRange.data_flavour netaddr.address.AddrRange-class.html#data_flavour -netaddr.address.AddrRange.__lt__ netaddr.address.AddrRange-class.html#__lt__ -netaddr.address.AddrRange.__init__ netaddr.address.AddrRange-class.html#__init__ -netaddr.address.AddrRange.size netaddr.address.AddrRange-class.html#size -netaddr.address.AddrRange.__contains__ netaddr.address.AddrRange-class.html#__contains__ -netaddr.address.AddrRange.strategy netaddr.address.AddrRange-class.html#strategy -netaddr.address.AddrRange.addr_type netaddr.address.AddrRange-class.html#addr_type -netaddr.address.AddrRange.__len__ netaddr.address.AddrRange-class.html#__len__ -netaddr.address.AddrRange.klass netaddr.address.AddrRange-class.html#klass -netaddr.address.AddrRange.__isub__ netaddr.address.AddrRange-class.html#__isub__ -netaddr.address.AddrRange.__getitem__ netaddr.address.AddrRange-class.html#__getitem__ -netaddr.address.AddrRange.__iter__ netaddr.address.AddrRange-class.html#__iter__ -netaddr.address.AddrRange.__gt__ netaddr.address.AddrRange-class.html#__gt__ -netaddr.address.AddrRange.__eq__ netaddr.address.AddrRange-class.html#__eq__ -netaddr.address.AddrRange.last netaddr.address.AddrRange-class.html#last -netaddr.address.AddrRange.__iadd__ netaddr.address.AddrRange-class.html#__iadd__ -netaddr.address.AddrRange.__le__ netaddr.address.AddrRange-class.html#__le__ -netaddr.address.AddrRange.__repr__ netaddr.address.AddrRange-class.html#__repr__ -netaddr.address.AddrRange.__hash__ netaddr.address.AddrRange-class.html#__hash__ -netaddr.address.AddrRange.STRATEGIES netaddr.address.AddrRange-class.html#STRATEGIES -netaddr.address.AddrRange.__ge__ netaddr.address.AddrRange-class.html#__ge__ -netaddr.address.AddrRange.first netaddr.address.AddrRange-class.html#first netaddr.address.AddrTypeDescriptor netaddr.address.AddrTypeDescriptor-class.html netaddr.address.AddrTypeDescriptor.__set__ netaddr.address.AddrTypeDescriptor-class.html#__set__ netaddr.address.AddrTypeDescriptor.__init__ netaddr.address.AddrTypeDescriptor-class.html#__init__ @@ -84,106 +87,190 @@ netaddr.address.AddrValueDescriptor.__init__ netaddr.address.AddrValueDescriptor netaddr.address.CIDR netaddr.address.CIDR-class.html netaddr.address.CIDR.ADDR_TYPES netaddr.address.CIDR-class.html#ADDR_TYPES netaddr.address.CIDR.hostmask netaddr.address.CIDR-class.html#hostmask -netaddr.address.AddrRange.__isub__ netaddr.address.AddrRange-class.html#__isub__ +netaddr.address.IPRange.__ne__ netaddr.address.IPRange-class.html#__ne__ netaddr.address.CIDR.__str__ netaddr.address.CIDR-class.html#__str__ -netaddr.address.AddrRange.__gt__ netaddr.address.AddrRange-class.html#__gt__ -netaddr.address.AddrRange.data_flavour netaddr.address.AddrRange-class.html#data_flavour +netaddr.address.IPRange.__gt__ netaddr.address.IPRange-class.html#__gt__ netaddr.address.CIDR.prefixlen netaddr.address.CIDR-class.html#prefixlen -netaddr.address.AddrRange.__lt__ netaddr.address.AddrRange-class.html#__lt__ +netaddr.address.IPRange.__lt__ netaddr.address.IPRange-class.html#__lt__ +netaddr.address.IPRange.iprange netaddr.address.IPRange-class.html#iprange netaddr.address.CIDR.__init__ netaddr.address.CIDR-class.html#__init__ -netaddr.address.AddrRange.size netaddr.address.AddrRange-class.html#size -netaddr.address.AddrRange.__contains__ netaddr.address.AddrRange-class.html#__contains__ +netaddr.address.IPRange.size netaddr.address.IPRange-class.html#size +netaddr.address.CIDR.subnet netaddr.address.CIDR-class.html#subnet +netaddr.address.CIDR.span netaddr.address.CIDR-class.html#span +netaddr.address.CIDR.network netaddr.address.CIDR-class.html#network +netaddr.address.IPRange.__contains__ netaddr.address.IPRange-class.html#__contains__ +netaddr.address.IPRange.issupernet netaddr.address.IPRange-class.html#issupernet +netaddr.address.CIDR.fmt netaddr.address.CIDR-class.html#fmt netaddr.address.CIDR.strategy netaddr.address.CIDR-class.html#strategy +netaddr.address.IPRange.adjacent netaddr.address.IPRange-class.html#adjacent netaddr.address.CIDR.addr_type netaddr.address.CIDR-class.html#addr_type -netaddr.address.AddrRange.__len__ netaddr.address.AddrRange-class.html#__len__ -netaddr.address.CIDR.__repr__ netaddr.address.CIDR-class.html#__repr__ -netaddr.address.AddrRange.__ne__ netaddr.address.AddrRange-class.html#__ne__ -netaddr.address.AddrRange.__getitem__ netaddr.address.AddrRange-class.html#__getitem__ +netaddr.address.IPRange.__len__ netaddr.address.IPRange-class.html#__len__ +netaddr.address.IPRange.overlaps netaddr.address.IPRange-class.html#overlaps +netaddr.address.IPRange.__isub__ netaddr.address.IPRange-class.html#__isub__ +netaddr.address.IPRange.__getitem__ netaddr.address.IPRange-class.html#__getitem__ +netaddr.address.IPRange.format netaddr.address.IPRange-class.html#format +netaddr.address.CIDR.broadcast netaddr.address.CIDR-class.html#broadcast netaddr.address.CIDR.netmask netaddr.address.CIDR-class.html#netmask -netaddr.address.CIDR.STRATEGIES netaddr.address.CIDR-class.html#STRATEGIES -netaddr.address.AddrRange.__eq__ netaddr.address.AddrRange-class.html#__eq__ -netaddr.address.CIDR.abbrev_to_verbose netaddr.address.CIDR-class.html#abbrev_to_verbose -netaddr.address.AddrRange.last netaddr.address.AddrRange-class.html#last -netaddr.address.AddrRange.__iter__ netaddr.address.AddrRange-class.html#__iter__ -netaddr.address.AddrRange.__iadd__ netaddr.address.AddrRange-class.html#__iadd__ -netaddr.address.AddrRange.__le__ netaddr.address.AddrRange-class.html#__le__ -netaddr.address.CIDR.klass netaddr.address.CIDR-class.html#klass -netaddr.address.CIDR.wildcard netaddr.address.CIDR-class.html#wildcard -netaddr.address.AddrRange.__hash__ netaddr.address.AddrRange-class.html#__hash__ +netaddr.address.CIDR.__add__ netaddr.address.CIDR-class.html#__add__ netaddr.address.CIDR.__sub__ netaddr.address.CIDR-class.html#__sub__ -netaddr.address.AddrRange.__ge__ netaddr.address.AddrRange-class.html#__ge__ -netaddr.address.AddrRange.first netaddr.address.AddrRange-class.html#first +netaddr.address.IPRange.__eq__ netaddr.address.IPRange-class.html#__eq__ +netaddr.address.CIDR.abbrev_to_verbose netaddr.address.CIDR-class.html#abbrev_to_verbose +netaddr.address.IPRange.last netaddr.address.IPRange-class.html#last +netaddr.address.CIDR.cidrs netaddr.address.CIDR-class.html#cidrs +netaddr.address.IPRange.__iter__ netaddr.address.IPRange-class.html#__iter__ +netaddr.address.IPRange.__iadd__ netaddr.address.IPRange-class.html#__iadd__ +netaddr.address.IPRange.__le__ netaddr.address.IPRange-class.html#__le__ +netaddr.address.CIDR.__repr__ netaddr.address.CIDR-class.html#__repr__ +netaddr.address.IPRange.wildcard netaddr.address.IPRange-class.html#wildcard +netaddr.address.IPRange.issubnet netaddr.address.IPRange-class.html#issubnet +netaddr.address.IPRange.__hash__ netaddr.address.IPRange-class.html#__hash__ +netaddr.address.CIDR.STRATEGIES netaddr.address.CIDR-class.html#STRATEGIES +netaddr.address.IPRange.__ge__ netaddr.address.IPRange-class.html#__ge__ +netaddr.address.IPRange.first netaddr.address.IPRange-class.html#first netaddr.address.EUI netaddr.address.EUI-class.html netaddr.address.Addr.__int__ netaddr.address.Addr-class.html#__int__ netaddr.address.EUI.oui netaddr.address.EUI-class.html#oui netaddr.address.EUI.ei netaddr.address.EUI-class.html#ei netaddr.address.EUI.ADDR_TYPES netaddr.address.EUI-class.html#ADDR_TYPES -netaddr.address.Addr.__ne__ netaddr.address.Addr-class.html#__ne__ +netaddr.address.Addr.__isub__ netaddr.address.Addr-class.html#__isub__ netaddr.address.Addr.__str__ netaddr.address.Addr-class.html#__str__ +netaddr.address.Addr.__gt__ netaddr.address.Addr-class.html#__gt__ +netaddr.address.Addr.__getitem__ netaddr.address.Addr-class.html#__getitem__ netaddr.address.Addr.__iadd__ netaddr.address.Addr-class.html#__iadd__ +netaddr.address.Addr.__and__ netaddr.address.Addr-class.html#__and__ netaddr.address.Addr.__lt__ netaddr.address.Addr-class.html#__lt__ -netaddr.address.EUI.__init__ netaddr.address.EUI-class.html#__init__ +netaddr.address.EUI.iab netaddr.address.EUI-class.html#iab +netaddr.address.Addr.packed netaddr.address.Addr-class.html#packed +netaddr.address.Addr.__rshift__ netaddr.address.Addr-class.html#__rshift__ netaddr.address.EUI.ipv6_link_local netaddr.address.EUI-class.html#ipv6_link_local netaddr.address.EUI.strategy netaddr.address.EUI-class.html#strategy +netaddr.address.EUI.isiab netaddr.address.EUI-class.html#isiab +netaddr.address.EUI.__init__ netaddr.address.EUI-class.html#__init__ netaddr.address.Addr.bits netaddr.address.Addr-class.html#bits netaddr.address.EUI.addr_type netaddr.address.EUI-class.html#addr_type netaddr.address.Addr.__len__ netaddr.address.Addr-class.html#__len__ -netaddr.address.Addr.__isub__ netaddr.address.Addr-class.html#__isub__ -netaddr.address.Addr.__getitem__ netaddr.address.Addr-class.html#__getitem__ +netaddr.address.Addr.bin netaddr.address.Addr-class.html#bin +netaddr.address.Addr.__ne__ netaddr.address.Addr-class.html#__ne__ +netaddr.address.Addr.__invert__ netaddr.address.Addr-class.html#__invert__ +netaddr.address.Addr.__add__ netaddr.address.Addr-class.html#__add__ netaddr.address.Addr.__hash__ netaddr.address.Addr-class.html#__hash__ -netaddr.address.Addr.__iter__ netaddr.address.Addr-class.html#__iter__ -netaddr.address.Addr.__gt__ netaddr.address.Addr-class.html#__gt__ +netaddr.address.Addr.__setitem__ netaddr.address.Addr-class.html#__setitem__ +netaddr.address.Addr.__or__ netaddr.address.Addr-class.html#__or__ +netaddr.address.Addr.__lshift__ netaddr.address.Addr-class.html#__lshift__ +netaddr.address.EUI.STRATEGIES netaddr.address.EUI-class.html#STRATEGIES netaddr.address.Addr.__hex__ netaddr.address.Addr-class.html#__hex__ netaddr.address.Addr.__eq__ netaddr.address.Addr-class.html#__eq__ -netaddr.address.Addr.__setitem__ netaddr.address.Addr-class.html#__setitem__ +netaddr.address.EUI.info netaddr.address.EUI-class.html#info +netaddr.address.Addr.__iter__ netaddr.address.Addr-class.html#__iter__ netaddr.address.Addr.value netaddr.address.Addr-class.html#value +netaddr.address.Addr.__xor__ netaddr.address.Addr-class.html#__xor__ netaddr.address.Addr.__le__ netaddr.address.Addr-class.html#__le__ netaddr.address.Addr.__repr__ netaddr.address.Addr-class.html#__repr__ netaddr.address.EUI.eui64 netaddr.address.EUI-class.html#eui64 -netaddr.address.EUI.STRATEGIES netaddr.address.EUI-class.html#STRATEGIES +netaddr.address.Addr.__sub__ netaddr.address.Addr-class.html#__sub__ netaddr.address.Addr.__long__ netaddr.address.Addr-class.html#__long__ netaddr.address.Addr.__ge__ netaddr.address.Addr-class.html#__ge__ +netaddr.address.FormatDescriptor netaddr.address.FormatDescriptor-class.html +netaddr.address.FormatDescriptor.__set__ netaddr.address.FormatDescriptor-class.html#__set__ +netaddr.address.FormatDescriptor.__init__ netaddr.address.FormatDescriptor-class.html#__init__ netaddr.address.IP netaddr.address.IP-class.html netaddr.address.Addr.__int__ netaddr.address.Addr-class.html#__int__ +netaddr.address.Addr.packed netaddr.address.Addr-class.html#packed netaddr.address.IP.ADDR_TYPES netaddr.address.IP-class.html#ADDR_TYPES -netaddr.address.Addr.__ne__ netaddr.address.Addr-class.html#__ne__ +netaddr.address.Addr.__isub__ netaddr.address.Addr-class.html#__isub__ netaddr.address.IP.__str__ netaddr.address.IP-class.html#__str__ +netaddr.address.Addr.__gt__ netaddr.address.Addr-class.html#__gt__ +netaddr.address.Addr.__and__ netaddr.address.Addr-class.html#__and__ netaddr.address.IP.netmask_bits netaddr.address.IP-class.html#netmask_bits netaddr.address.Addr.__iadd__ netaddr.address.Addr-class.html#__iadd__ netaddr.address.IP.prefixlen netaddr.address.IP-class.html#prefixlen netaddr.address.Addr.__lt__ netaddr.address.Addr-class.html#__lt__ -netaddr.address.IP.__init__ netaddr.address.IP-class.html#__init__ +netaddr.address.IP.iprange netaddr.address.IP-class.html#iprange +netaddr.address.IP.is_ipv4_mapped netaddr.address.IP-class.html#is_ipv4_mapped +netaddr.address.Addr.__rshift__ netaddr.address.Addr-class.html#__rshift__ +netaddr.address.Addr.__getitem__ netaddr.address.Addr-class.html#__getitem__ netaddr.address.IP.hostname netaddr.address.IP-class.html#hostname +netaddr.address.Addr.__iter__ netaddr.address.Addr-class.html#__iter__ netaddr.address.IP.strategy netaddr.address.IP-class.html#strategy netaddr.address.IP.is_unicast netaddr.address.IP-class.html#is_unicast -netaddr.address.IP.ipv4 netaddr.address.IP-class.html#ipv4 +netaddr.address.IP.is_private netaddr.address.IP-class.html#is_private netaddr.address.IP.is_multicast netaddr.address.IP-class.html#is_multicast -netaddr.address.Addr.__setitem__ netaddr.address.Addr-class.html#__setitem__ +netaddr.address.IP.is_ipv4_compat netaddr.address.IP-class.html#is_ipv4_compat netaddr.address.IP.is_netmask netaddr.address.IP-class.html#is_netmask netaddr.address.Addr.bits netaddr.address.Addr-class.html#bits netaddr.address.IP.addr_type netaddr.address.IP-class.html#addr_type netaddr.address.Addr.__len__ netaddr.address.Addr-class.html#__len__ -netaddr.address.Addr.__isub__ netaddr.address.Addr-class.html#__isub__ -netaddr.address.Addr.__getitem__ netaddr.address.Addr-class.html#__getitem__ +netaddr.address.IP.ipv4 netaddr.address.IP-class.html#ipv4 +netaddr.address.Addr.bin netaddr.address.Addr-class.html#bin +netaddr.address.Addr.__ne__ netaddr.address.Addr-class.html#__ne__ +netaddr.address.IP.wildcard netaddr.address.IP-class.html#wildcard +netaddr.address.Addr.__invert__ netaddr.address.Addr-class.html#__invert__ +netaddr.address.Addr.__add__ netaddr.address.Addr-class.html#__add__ netaddr.address.IP.ipv6 netaddr.address.IP-class.html#ipv6 +netaddr.address.IP.is_link_local netaddr.address.IP-class.html#is_link_local netaddr.address.IP.is_hostmask netaddr.address.IP-class.html#is_hostmask -netaddr.address.Addr.__gt__ netaddr.address.Addr-class.html#__gt__ +netaddr.address.Addr.__or__ netaddr.address.Addr-class.html#__or__ +netaddr.address.Addr.__lshift__ netaddr.address.Addr-class.html#__lshift__ +netaddr.address.Addr.__sub__ netaddr.address.Addr-class.html#__sub__ netaddr.address.Addr.__hex__ netaddr.address.Addr-class.html#__hex__ netaddr.address.IP.cidr netaddr.address.IP-class.html#cidr netaddr.address.IP.TRANSLATE_STR netaddr.address.IP-class.html#TRANSLATE_STR netaddr.address.Addr.__eq__ netaddr.address.Addr-class.html#__eq__ -netaddr.address.Addr.__iter__ netaddr.address.Addr-class.html#__iter__ +netaddr.address.IP._ netaddr.address.IP-class.html#_ +netaddr.address.IP.info netaddr.address.IP-class.html#info +netaddr.address.IP.is_reserved netaddr.address.IP-class.html#is_reserved +netaddr.address.IP.is_loopback netaddr.address.IP-class.html#is_loopback +netaddr.address.Addr.__setitem__ netaddr.address.Addr-class.html#__setitem__ netaddr.address.Addr.value netaddr.address.Addr-class.html#value +netaddr.address.Addr.__xor__ netaddr.address.Addr-class.html#__xor__ netaddr.address.IP.reverse_dns netaddr.address.IP-class.html#reverse_dns netaddr.address.Addr.__le__ netaddr.address.Addr-class.html#__le__ netaddr.address.IP.__repr__ netaddr.address.IP-class.html#__repr__ +netaddr.address.IP.__init__ netaddr.address.IP-class.html#__init__ netaddr.address.Addr.__hash__ netaddr.address.Addr-class.html#__hash__ netaddr.address.IP.STRATEGIES netaddr.address.IP-class.html#STRATEGIES netaddr.address.Addr.__long__ netaddr.address.Addr-class.html#__long__ netaddr.address.Addr.__ge__ netaddr.address.Addr-class.html#__ge__ -netaddr.address.KlassDescriptor netaddr.address.KlassDescriptor-class.html -netaddr.address.KlassDescriptor.__set__ netaddr.address.KlassDescriptor-class.html#__set__ -netaddr.address.KlassDescriptor.__init__ netaddr.address.KlassDescriptor-class.html#__init__ +netaddr.address.IPRange netaddr.address.IPRange-class.html +netaddr.address.IPRange.ADDR_TYPES netaddr.address.IPRange-class.html#ADDR_TYPES +netaddr.address.IPRange.__isub__ netaddr.address.IPRange-class.html#__isub__ +netaddr.address.IPRange.__str__ netaddr.address.IPRange-class.html#__str__ +netaddr.address.IPRange.__lt__ netaddr.address.IPRange-class.html#__lt__ +netaddr.address.IPRange.iprange netaddr.address.IPRange-class.html#iprange +netaddr.address.IPRange.__init__ netaddr.address.IPRange-class.html#__init__ +netaddr.address.IPRange.size netaddr.address.IPRange-class.html#size +netaddr.address.IPRange.__contains__ netaddr.address.IPRange-class.html#__contains__ +netaddr.address.IPRange.issupernet netaddr.address.IPRange-class.html#issupernet +netaddr.address.IPRange.fmt netaddr.address.IPRange-class.html#fmt +netaddr.address.IPRange.strategy netaddr.address.IPRange-class.html#strategy +netaddr.address.IPRange.adjacent netaddr.address.IPRange-class.html#adjacent +netaddr.address.IPRange.addr_type netaddr.address.IPRange-class.html#addr_type +netaddr.address.IPRange.__len__ netaddr.address.IPRange-class.html#__len__ +netaddr.address.IPRange.overlaps netaddr.address.IPRange-class.html#overlaps +netaddr.address.IPRange.__ne__ netaddr.address.IPRange-class.html#__ne__ +netaddr.address.IPRange.__getitem__ netaddr.address.IPRange-class.html#__getitem__ +netaddr.address.IPRange.format netaddr.address.IPRange-class.html#format +netaddr.address.IPRange.__iter__ netaddr.address.IPRange-class.html#__iter__ +netaddr.address.IPRange.__gt__ netaddr.address.IPRange-class.html#__gt__ +netaddr.address.IPRange.__eq__ netaddr.address.IPRange-class.html#__eq__ +netaddr.address.IPRange.last netaddr.address.IPRange-class.html#last +netaddr.address.IPRange.cidrs netaddr.address.IPRange-class.html#cidrs +netaddr.address.IPRange.__iadd__ netaddr.address.IPRange-class.html#__iadd__ +netaddr.address.IPRange.__le__ netaddr.address.IPRange-class.html#__le__ +netaddr.address.IPRange.__repr__ netaddr.address.IPRange-class.html#__repr__ +netaddr.address.IPRange.wildcard netaddr.address.IPRange-class.html#wildcard +netaddr.address.IPRange.issubnet netaddr.address.IPRange-class.html#issubnet +netaddr.address.IPRange.__hash__ netaddr.address.IPRange-class.html#__hash__ +netaddr.address.IPRange.STRATEGIES netaddr.address.IPRange-class.html#STRATEGIES +netaddr.address.IPRange.__ge__ netaddr.address.IPRange-class.html#__ge__ +netaddr.address.IPRange.first netaddr.address.IPRange-class.html#first +netaddr.address.IPRangeSet netaddr.address.IPRangeSet-class.html +netaddr.address.IPRangeSet.max_match netaddr.address.IPRangeSet-class.html#max_match +netaddr.address.IPRangeSet.__init__ netaddr.address.IPRangeSet-class.html#__init__ +netaddr.address.IPRangeSet.any_match netaddr.address.IPRangeSet-class.html#any_match +netaddr.address.IPRangeSet.__contains__ netaddr.address.IPRangeSet-class.html#__contains__ +netaddr.address.IPRangeSet.all_matches netaddr.address.IPRangeSet-class.html#all_matches +netaddr.address.IPRangeSet.min_match netaddr.address.IPRangeSet-class.html#min_match netaddr.address.PrefixLenDescriptor netaddr.address.PrefixLenDescriptor-class.html netaddr.address.PrefixLenDescriptor.__set__ netaddr.address.PrefixLenDescriptor-class.html#__set__ netaddr.address.PrefixLenDescriptor.__init__ netaddr.address.PrefixLenDescriptor-class.html#__init__ @@ -192,137 +279,207 @@ netaddr.address.StrategyDescriptor.__set__ netaddr.address.StrategyDescriptor-cl netaddr.address.StrategyDescriptor.__init__ netaddr.address.StrategyDescriptor-class.html#__init__ netaddr.address.Wildcard netaddr.address.Wildcard-class.html netaddr.address.Wildcard.ADDR_TYPES netaddr.address.Wildcard-class.html#ADDR_TYPES -netaddr.address.AddrRange.__isub__ netaddr.address.AddrRange-class.html#__isub__ +netaddr.address.IPRange.__ne__ netaddr.address.IPRange-class.html#__ne__ netaddr.address.Wildcard.__str__ netaddr.address.Wildcard-class.html#__str__ -netaddr.address.AddrRange.data_flavour netaddr.address.AddrRange-class.html#data_flavour -netaddr.address.AddrRange.__lt__ netaddr.address.AddrRange-class.html#__lt__ +netaddr.address.IPRange.__lt__ netaddr.address.IPRange-class.html#__lt__ +netaddr.address.IPRange.iprange netaddr.address.IPRange-class.html#iprange netaddr.address.Wildcard.__init__ netaddr.address.Wildcard-class.html#__init__ -netaddr.address.AddrRange.size netaddr.address.AddrRange-class.html#size -netaddr.address.AddrRange.__contains__ netaddr.address.AddrRange-class.html#__contains__ +netaddr.address.IPRange.size netaddr.address.IPRange-class.html#size +netaddr.address.IPRange.__contains__ netaddr.address.IPRange-class.html#__contains__ +netaddr.address.IPRange.issupernet netaddr.address.IPRange-class.html#issupernet +netaddr.address.Wildcard.fmt netaddr.address.Wildcard-class.html#fmt netaddr.address.Wildcard.strategy netaddr.address.Wildcard-class.html#strategy netaddr.address.Wildcard.is_valid netaddr.address.Wildcard-class.html#is_valid +netaddr.address.IPRange.adjacent netaddr.address.IPRange-class.html#adjacent netaddr.address.Wildcard.addr_type netaddr.address.Wildcard-class.html#addr_type -netaddr.address.AddrRange.__len__ netaddr.address.AddrRange-class.html#__len__ -netaddr.address.Wildcard.klass netaddr.address.Wildcard-class.html#klass -netaddr.address.AddrRange.__ne__ netaddr.address.AddrRange-class.html#__ne__ -netaddr.address.AddrRange.__getitem__ netaddr.address.AddrRange-class.html#__getitem__ -netaddr.address.AddrRange.__iter__ netaddr.address.AddrRange-class.html#__iter__ -netaddr.address.AddrRange.__gt__ netaddr.address.AddrRange-class.html#__gt__ -netaddr.address.Wildcard.cidr netaddr.address.Wildcard-class.html#cidr -netaddr.address.AddrRange.__eq__ netaddr.address.AddrRange-class.html#__eq__ -netaddr.address.AddrRange.last netaddr.address.AddrRange-class.html#last -netaddr.address.AddrRange.__iadd__ netaddr.address.AddrRange-class.html#__iadd__ -netaddr.address.AddrRange.__le__ netaddr.address.AddrRange-class.html#__le__ +netaddr.address.IPRange.__len__ netaddr.address.IPRange-class.html#__len__ +netaddr.address.IPRange.overlaps netaddr.address.IPRange-class.html#overlaps +netaddr.address.IPRange.__isub__ netaddr.address.IPRange-class.html#__isub__ +netaddr.address.IPRange.__getitem__ netaddr.address.IPRange-class.html#__getitem__ +netaddr.address.IPRange.format netaddr.address.IPRange-class.html#format +netaddr.address.IPRange.__iter__ netaddr.address.IPRange-class.html#__iter__ +netaddr.address.IPRange.__gt__ netaddr.address.IPRange-class.html#__gt__ +netaddr.address.IPRange.__eq__ netaddr.address.IPRange-class.html#__eq__ +netaddr.address.IPRange.last netaddr.address.IPRange-class.html#last +netaddr.address.IPRange.cidrs netaddr.address.IPRange-class.html#cidrs +netaddr.address.IPRange.__iadd__ netaddr.address.IPRange-class.html#__iadd__ +netaddr.address.IPRange.__le__ netaddr.address.IPRange-class.html#__le__ netaddr.address.Wildcard.__repr__ netaddr.address.Wildcard-class.html#__repr__ -netaddr.address.AddrRange.__hash__ netaddr.address.AddrRange-class.html#__hash__ +netaddr.address.IPRange.wildcard netaddr.address.IPRange-class.html#wildcard +netaddr.address.IPRange.issubnet netaddr.address.IPRange-class.html#issubnet +netaddr.address.IPRange.__hash__ netaddr.address.IPRange-class.html#__hash__ netaddr.address.Wildcard.STRATEGIES netaddr.address.Wildcard-class.html#STRATEGIES -netaddr.address.AddrRange.__ge__ netaddr.address.AddrRange-class.html#__ge__ -netaddr.address.AddrRange.first netaddr.address.AddrRange-class.html#first +netaddr.address.IPRange.__ge__ netaddr.address.IPRange-class.html#__ge__ +netaddr.address.IPRange.first netaddr.address.IPRange-class.html#first +netaddr.core.PrettyPrinter netaddr.core.PrettyPrinter-class.html +netaddr.core.PrettyPrinter.update netaddr.core.PrettyPrinter-class.html#update +netaddr.core.PrettyPrinter.__init__ netaddr.core.PrettyPrinter-class.html#__init__ +netaddr.core.Publisher netaddr.core.Publisher-class.html +netaddr.core.Publisher.attach netaddr.core.Publisher-class.html#attach +netaddr.core.Publisher.notify netaddr.core.Publisher-class.html#notify +netaddr.core.Publisher.detach netaddr.core.Publisher-class.html#detach +netaddr.core.Publisher.__init__ netaddr.core.Publisher-class.html#__init__ +netaddr.core.Subscriber netaddr.core.Subscriber-class.html +netaddr.core.Subscriber.update netaddr.core.Subscriber-class.html#update +netaddr.eui.FileIndexer netaddr.eui.FileIndexer-class.html +netaddr.eui.FileIndexer.update netaddr.eui.FileIndexer-class.html#update +netaddr.eui.FileIndexer.__init__ netaddr.eui.FileIndexer-class.html#__init__ +netaddr.eui.IAB netaddr.eui.IAB-class.html +netaddr.eui.IAB.__int__ netaddr.eui.IAB-class.html#__int__ +netaddr.eui.IAB.organisation netaddr.eui.IAB-class.html#organisation +netaddr.eui.IAB.registration netaddr.eui.IAB-class.html#registration +netaddr.eui.IAB.split_iab_mac netaddr.eui.IAB-class.html#split_iab_mac +netaddr.eui.IAB._parse_data netaddr.eui.IAB-class.html#_parse_data +netaddr.eui.IAB.__repr__ netaddr.eui.IAB-class.html#__repr__ +netaddr.eui.IAB.address netaddr.eui.IAB-class.html#address +netaddr.eui.IAB.__hex__ netaddr.eui.IAB-class.html#__hex__ +netaddr.eui.IAB.org netaddr.eui.IAB-class.html#org +netaddr.eui.IAB.__str__ netaddr.eui.IAB-class.html#__str__ +netaddr.eui.IAB.__init__ netaddr.eui.IAB-class.html#__init__ +netaddr.eui.IABIndexParser netaddr.eui.IABIndexParser-class.html +netaddr.eui.IABIndexParser.parse netaddr.eui.IABIndexParser-class.html#parse +netaddr.core.Publisher.attach netaddr.core.Publisher-class.html#attach +netaddr.core.Publisher.notify netaddr.core.Publisher-class.html#notify +netaddr.core.Publisher.detach netaddr.core.Publisher-class.html#detach +netaddr.eui.IABIndexParser.__init__ netaddr.eui.IABIndexParser-class.html#__init__ +netaddr.eui.NotRegisteredError netaddr.eui.NotRegisteredError-class.html +netaddr.eui.OUI netaddr.eui.OUI-class.html +netaddr.eui.OUI.__int__ netaddr.eui.OUI-class.html#__int__ +netaddr.eui.OUI.organisation netaddr.eui.OUI-class.html#organisation +netaddr.eui.OUI.address netaddr.eui.OUI-class.html#address +netaddr.eui.OUI._parse_data netaddr.eui.OUI-class.html#_parse_data +netaddr.eui.OUI.__repr__ netaddr.eui.OUI-class.html#__repr__ +netaddr.eui.OUI.registration netaddr.eui.OUI-class.html#registration +netaddr.eui.OUI.__hex__ netaddr.eui.OUI-class.html#__hex__ +netaddr.eui.OUI.org netaddr.eui.OUI-class.html#org +netaddr.eui.OUI.__str__ netaddr.eui.OUI-class.html#__str__ +netaddr.eui.OUI.__init__ netaddr.eui.OUI-class.html#__init__ +netaddr.eui.OUI.org_count netaddr.eui.OUI-class.html#org_count +netaddr.eui.OUIIndexParser netaddr.eui.OUIIndexParser-class.html +netaddr.eui.OUIIndexParser.parse netaddr.eui.OUIIndexParser-class.html#parse +netaddr.core.Publisher.attach netaddr.core.Publisher-class.html#attach +netaddr.core.Publisher.notify netaddr.core.Publisher-class.html#notify +netaddr.core.Publisher.detach netaddr.core.Publisher-class.html#detach +netaddr.eui.OUIIndexParser.__init__ netaddr.eui.OUIIndexParser-class.html#__init__ +netaddr.ip.DictUpdater netaddr.ip.DictUpdater-class.html +netaddr.ip.DictUpdater.update netaddr.ip.DictUpdater-class.html#update +netaddr.ip.DictUpdater.__init__ netaddr.ip.DictUpdater-class.html#__init__ +netaddr.ip.IPv4Parser netaddr.ip.IPv4Parser-class.html +netaddr.ip.LineRecordParser.parse netaddr.ip.LineRecordParser-class.html#parse +netaddr.core.Publisher.attach netaddr.core.Publisher-class.html#attach +netaddr.ip.IPv4Parser.parse_line netaddr.ip.IPv4Parser-class.html#parse_line +netaddr.core.Publisher.notify netaddr.core.Publisher-class.html#notify +netaddr.core.Publisher.detach netaddr.core.Publisher-class.html#detach +netaddr.ip.IPv4Parser.__init__ netaddr.ip.IPv4Parser-class.html#__init__ +netaddr.ip.IPv6Parser netaddr.ip.IPv6Parser-class.html +netaddr.ip.LineRecordParser.parse netaddr.ip.LineRecordParser-class.html#parse +netaddr.core.Publisher.attach netaddr.core.Publisher-class.html#attach +netaddr.ip.IPv6Parser.parse_line netaddr.ip.IPv6Parser-class.html#parse_line +netaddr.core.Publisher.notify netaddr.core.Publisher-class.html#notify +netaddr.core.Publisher.detach netaddr.core.Publisher-class.html#detach +netaddr.ip.IPv6Parser.__init__ netaddr.ip.IPv6Parser-class.html#__init__ +netaddr.ip.LineRecordParser netaddr.ip.LineRecordParser-class.html +netaddr.ip.LineRecordParser.parse netaddr.ip.LineRecordParser-class.html#parse +netaddr.core.Publisher.attach netaddr.core.Publisher-class.html#attach +netaddr.ip.LineRecordParser.parse_line netaddr.ip.LineRecordParser-class.html#parse_line +netaddr.core.Publisher.notify netaddr.core.Publisher-class.html#notify +netaddr.core.Publisher.detach netaddr.core.Publisher-class.html#detach +netaddr.ip.LineRecordParser.__init__ netaddr.ip.LineRecordParser-class.html#__init__ +netaddr.ip.MulticastParser netaddr.ip.MulticastParser-class.html +netaddr.ip.MulticastParser.normalise_addr netaddr.ip.MulticastParser-class.html#normalise_addr +netaddr.ip.LineRecordParser.parse netaddr.ip.LineRecordParser-class.html#parse +netaddr.core.Publisher.attach netaddr.core.Publisher-class.html#attach +netaddr.ip.MulticastParser.parse_line netaddr.ip.MulticastParser-class.html#parse_line +netaddr.core.Publisher.notify netaddr.core.Publisher-class.html#notify +netaddr.core.Publisher.detach netaddr.core.Publisher-class.html#detach +netaddr.ip.MulticastParser.__init__ netaddr.ip.MulticastParser-class.html#__init__ netaddr.strategy.AddrStrategy netaddr.strategy.AddrStrategy-class.html -netaddr.strategy.AddrStrategy.words_to_str netaddr.strategy.AddrStrategy-class.html#words_to_str netaddr.strategy.AddrStrategy.int_to_bits netaddr.strategy.AddrStrategy-class.html#int_to_bits -netaddr.strategy.AddrStrategy.valid_bits netaddr.strategy.AddrStrategy-class.html#valid_bits +netaddr.strategy.AddrStrategy.int_to_packed netaddr.strategy.AddrStrategy-class.html#int_to_packed +netaddr.strategy.AddrStrategy.int_to_words netaddr.strategy.AddrStrategy-class.html#int_to_words netaddr.strategy.AddrStrategy.__init__ netaddr.strategy.AddrStrategy-class.html#__init__ +netaddr.strategy.AddrStrategy.valid_bits netaddr.strategy.AddrStrategy-class.html#valid_bits netaddr.strategy.AddrStrategy.valid_int netaddr.strategy.AddrStrategy-class.html#valid_int -netaddr.strategy.AddrStrategy.str_to_bits netaddr.strategy.AddrStrategy-class.html#str_to_bits -netaddr.strategy.AddrStrategy.str_to_words netaddr.strategy.AddrStrategy-class.html#str_to_words -netaddr.strategy.AddrStrategy.bits_to_words netaddr.strategy.AddrStrategy-class.html#bits_to_words -netaddr.strategy.AddrStrategy.int_to_words netaddr.strategy.AddrStrategy-class.html#int_to_words -netaddr.strategy.AddrStrategy.description netaddr.strategy.AddrStrategy-class.html#description +netaddr.strategy.AddrStrategy.packed_to_int netaddr.strategy.AddrStrategy-class.html#packed_to_int netaddr.strategy.AddrStrategy.int_to_str netaddr.strategy.AddrStrategy-class.html#int_to_str netaddr.strategy.AddrStrategy.valid_str netaddr.strategy.AddrStrategy-class.html#valid_str -netaddr.strategy.AddrStrategy.word_to_bits netaddr.strategy.AddrStrategy-class.html#word_to_bits netaddr.strategy.AddrStrategy.bits_to_int netaddr.strategy.AddrStrategy-class.html#bits_to_int netaddr.strategy.AddrStrategy.str_to_int netaddr.strategy.AddrStrategy-class.html#str_to_int netaddr.strategy.AddrStrategy.words_to_int netaddr.strategy.AddrStrategy-class.html#words_to_int netaddr.strategy.AddrStrategy.valid_words netaddr.strategy.AddrStrategy-class.html#valid_words netaddr.strategy.AddrStrategy.__repr__ netaddr.strategy.AddrStrategy-class.html#__repr__ -netaddr.strategy.AddrStrategy.words_to_bits netaddr.strategy.AddrStrategy-class.html#words_to_bits -netaddr.strategy.AddrStrategy.bits_to_str netaddr.strategy.AddrStrategy-class.html#bits_to_str +netaddr.strategy.AddrStrategy.int_to_bin netaddr.strategy.AddrStrategy-class.html#int_to_bin +netaddr.strategy.AddrStrategy.STRUCT_FORMATS netaddr.strategy.AddrStrategy-class.html#STRUCT_FORMATS netaddr.strategy.EUI48Strategy netaddr.strategy.EUI48Strategy-class.html -netaddr.strategy.AddrStrategy.words_to_str netaddr.strategy.AddrStrategy-class.html#words_to_str netaddr.strategy.AddrStrategy.int_to_bits netaddr.strategy.AddrStrategy-class.html#int_to_bits -netaddr.strategy.AddrStrategy.valid_bits netaddr.strategy.AddrStrategy-class.html#valid_bits +netaddr.strategy.AddrStrategy.int_to_packed netaddr.strategy.AddrStrategy-class.html#int_to_packed +netaddr.strategy.AddrStrategy.int_to_words netaddr.strategy.AddrStrategy-class.html#int_to_words netaddr.strategy.EUI48Strategy.__init__ netaddr.strategy.EUI48Strategy-class.html#__init__ +netaddr.strategy.AddrStrategy.valid_bits netaddr.strategy.AddrStrategy-class.html#valid_bits netaddr.strategy.AddrStrategy.valid_int netaddr.strategy.AddrStrategy-class.html#valid_int -netaddr.strategy.AddrStrategy.str_to_bits netaddr.strategy.AddrStrategy-class.html#str_to_bits -netaddr.strategy.EUI48Strategy.str_to_words netaddr.strategy.EUI48Strategy-class.html#str_to_words -netaddr.strategy.AddrStrategy.word_to_bits netaddr.strategy.AddrStrategy-class.html#word_to_bits -netaddr.strategy.AddrStrategy.int_to_words netaddr.strategy.AddrStrategy-class.html#int_to_words -netaddr.strategy.AddrStrategy.description netaddr.strategy.AddrStrategy-class.html#description -netaddr.strategy.AddrStrategy.bits_to_words netaddr.strategy.AddrStrategy-class.html#bits_to_words -netaddr.strategy.EUI48Strategy.valid_str netaddr.strategy.EUI48Strategy-class.html#valid_str +netaddr.strategy.AddrStrategy.packed_to_int netaddr.strategy.AddrStrategy-class.html#packed_to_int +netaddr.strategy.EUI48Strategy.RE_MAC_FORMATS netaddr.strategy.EUI48Strategy-class.html#RE_MAC_FORMATS netaddr.strategy.EUI48Strategy.int_to_str netaddr.strategy.EUI48Strategy-class.html#int_to_str +netaddr.strategy.EUI48Strategy.valid_str netaddr.strategy.EUI48Strategy-class.html#valid_str netaddr.strategy.AddrStrategy.bits_to_int netaddr.strategy.AddrStrategy-class.html#bits_to_int -netaddr.strategy.AddrStrategy.str_to_int netaddr.strategy.AddrStrategy-class.html#str_to_int +netaddr.strategy.EUI48Strategy._ netaddr.strategy.EUI48Strategy-class.html#_ +netaddr.strategy.EUI48Strategy.str_to_int netaddr.strategy.EUI48Strategy-class.html#str_to_int netaddr.strategy.AddrStrategy.words_to_int netaddr.strategy.AddrStrategy-class.html#words_to_int netaddr.strategy.AddrStrategy.valid_words netaddr.strategy.AddrStrategy-class.html#valid_words netaddr.strategy.AddrStrategy.__repr__ netaddr.strategy.AddrStrategy-class.html#__repr__ -netaddr.strategy.AddrStrategy.words_to_bits netaddr.strategy.AddrStrategy-class.html#words_to_bits -netaddr.strategy.AddrStrategy.bits_to_str netaddr.strategy.AddrStrategy-class.html#bits_to_str +netaddr.strategy.AddrStrategy.int_to_bin netaddr.strategy.AddrStrategy-class.html#int_to_bin +netaddr.strategy.AddrStrategy.STRUCT_FORMATS netaddr.strategy.AddrStrategy-class.html#STRUCT_FORMATS netaddr.strategy.IPv4StrategyOpt netaddr.strategy.IPv4StrategyOpt-class.html -netaddr.strategy.AddrStrategy.words_to_str netaddr.strategy.AddrStrategy-class.html#words_to_str netaddr.strategy.AddrStrategy.int_to_bits netaddr.strategy.AddrStrategy-class.html#int_to_bits +netaddr.strategy.AddrStrategy.int_to_packed netaddr.strategy.AddrStrategy-class.html#int_to_packed netaddr.strategy.IPv4StrategyOpt.int_to_words netaddr.strategy.IPv4StrategyOpt-class.html#int_to_words netaddr.strategy.IPv4StrategyOpt.__init__ netaddr.strategy.IPv4StrategyOpt-class.html#__init__ netaddr.strategy.AddrStrategy.valid_bits netaddr.strategy.AddrStrategy-class.html#valid_bits netaddr.strategy.AddrStrategy.valid_int netaddr.strategy.AddrStrategy-class.html#valid_int -netaddr.strategy.AddrStrategy.word_to_bits netaddr.strategy.AddrStrategy-class.html#word_to_bits -netaddr.strategy.AddrStrategy.str_to_bits netaddr.strategy.AddrStrategy-class.html#str_to_bits -netaddr.strategy.AddrStrategy.str_to_words netaddr.strategy.AddrStrategy-class.html#str_to_words -netaddr.strategy.IPv4StrategyStd.int_to_arpa netaddr.strategy.IPv4StrategyStd-class.html#int_to_arpa -netaddr.strategy.AddrStrategy.description netaddr.strategy.AddrStrategy-class.html#description -netaddr.strategy.AddrStrategy.bits_to_words netaddr.strategy.AddrStrategy-class.html#bits_to_words -netaddr.strategy.AddrStrategy.valid_str netaddr.strategy.AddrStrategy-class.html#valid_str +netaddr.strategy.AddrStrategy.valid_words netaddr.strategy.AddrStrategy-class.html#valid_words +netaddr.strategy.AddrStrategy.packed_to_int netaddr.strategy.AddrStrategy-class.html#packed_to_int netaddr.strategy.IPv4StrategyOpt.int_to_str netaddr.strategy.IPv4StrategyOpt-class.html#int_to_str +netaddr.strategy.IPv4StrategyOpt.valid_str netaddr.strategy.IPv4StrategyOpt-class.html#valid_str netaddr.strategy.AddrStrategy.bits_to_int netaddr.strategy.AddrStrategy-class.html#bits_to_int netaddr.strategy.IPv4StrategyOpt.str_to_int netaddr.strategy.IPv4StrategyOpt-class.html#str_to_int netaddr.strategy.IPv4StrategyOpt.words_to_int netaddr.strategy.IPv4StrategyOpt-class.html#words_to_int -netaddr.strategy.AddrStrategy.valid_words netaddr.strategy.AddrStrategy-class.html#valid_words +netaddr.strategy.IPv4StrategyStd.int_to_arpa netaddr.strategy.IPv4StrategyStd-class.html#int_to_arpa netaddr.strategy.AddrStrategy.__repr__ netaddr.strategy.AddrStrategy-class.html#__repr__ -netaddr.strategy.AddrStrategy.words_to_bits netaddr.strategy.AddrStrategy-class.html#words_to_bits -netaddr.strategy.AddrStrategy.bits_to_str netaddr.strategy.AddrStrategy-class.html#bits_to_str +netaddr.strategy.AddrStrategy.int_to_bin netaddr.strategy.AddrStrategy-class.html#int_to_bin +netaddr.strategy.AddrStrategy.STRUCT_FORMATS netaddr.strategy.AddrStrategy-class.html#STRUCT_FORMATS netaddr.strategy.IPv4StrategyStd netaddr.strategy.IPv4StrategyStd-class.html -netaddr.strategy.AddrStrategy.words_to_str netaddr.strategy.AddrStrategy-class.html#words_to_str netaddr.strategy.AddrStrategy.int_to_bits netaddr.strategy.AddrStrategy-class.html#int_to_bits -netaddr.strategy.AddrStrategy.valid_bits netaddr.strategy.AddrStrategy-class.html#valid_bits +netaddr.strategy.AddrStrategy.int_to_packed netaddr.strategy.AddrStrategy-class.html#int_to_packed +netaddr.strategy.AddrStrategy.int_to_words netaddr.strategy.AddrStrategy-class.html#int_to_words netaddr.strategy.IPv4StrategyStd.__init__ netaddr.strategy.IPv4StrategyStd-class.html#__init__ +netaddr.strategy.AddrStrategy.valid_bits netaddr.strategy.AddrStrategy-class.html#valid_bits netaddr.strategy.AddrStrategy.valid_int netaddr.strategy.AddrStrategy-class.html#valid_int -netaddr.strategy.AddrStrategy.word_to_bits netaddr.strategy.AddrStrategy-class.html#word_to_bits -netaddr.strategy.AddrStrategy.str_to_bits netaddr.strategy.AddrStrategy-class.html#str_to_bits -netaddr.strategy.AddrStrategy.str_to_words netaddr.strategy.AddrStrategy-class.html#str_to_words netaddr.strategy.AddrStrategy.valid_words netaddr.strategy.AddrStrategy-class.html#valid_words -netaddr.strategy.AddrStrategy.int_to_words netaddr.strategy.AddrStrategy-class.html#int_to_words -netaddr.strategy.AddrStrategy.description netaddr.strategy.AddrStrategy-class.html#description -netaddr.strategy.AddrStrategy.bits_to_words netaddr.strategy.AddrStrategy-class.html#bits_to_words -netaddr.strategy.AddrStrategy.valid_str netaddr.strategy.AddrStrategy-class.html#valid_str +netaddr.strategy.AddrStrategy.packed_to_int netaddr.strategy.AddrStrategy-class.html#packed_to_int netaddr.strategy.AddrStrategy.int_to_str netaddr.strategy.AddrStrategy-class.html#int_to_str +netaddr.strategy.AddrStrategy.valid_str netaddr.strategy.AddrStrategy-class.html#valid_str netaddr.strategy.AddrStrategy.bits_to_int netaddr.strategy.AddrStrategy-class.html#bits_to_int netaddr.strategy.AddrStrategy.str_to_int netaddr.strategy.AddrStrategy-class.html#str_to_int netaddr.strategy.AddrStrategy.words_to_int netaddr.strategy.AddrStrategy-class.html#words_to_int netaddr.strategy.IPv4StrategyStd.int_to_arpa netaddr.strategy.IPv4StrategyStd-class.html#int_to_arpa netaddr.strategy.AddrStrategy.__repr__ netaddr.strategy.AddrStrategy-class.html#__repr__ -netaddr.strategy.AddrStrategy.words_to_bits netaddr.strategy.AddrStrategy-class.html#words_to_bits -netaddr.strategy.AddrStrategy.bits_to_str netaddr.strategy.AddrStrategy-class.html#bits_to_str +netaddr.strategy.AddrStrategy.int_to_bin netaddr.strategy.AddrStrategy-class.html#int_to_bin +netaddr.strategy.AddrStrategy.STRUCT_FORMATS netaddr.strategy.AddrStrategy-class.html#STRUCT_FORMATS netaddr.strategy.IPv6Strategy netaddr.strategy.IPv6Strategy-class.html -netaddr.strategy.AddrStrategy.words_to_str netaddr.strategy.AddrStrategy-class.html#words_to_str netaddr.strategy.AddrStrategy.int_to_bits netaddr.strategy.AddrStrategy-class.html#int_to_bits +netaddr.strategy.AddrStrategy.int_to_packed netaddr.strategy.AddrStrategy-class.html#int_to_packed netaddr.strategy.AddrStrategy.valid_bits netaddr.strategy.AddrStrategy-class.html#valid_bits netaddr.strategy.IPv6Strategy.__init__ netaddr.strategy.IPv6Strategy-class.html#__init__ netaddr.strategy.AddrStrategy.valid_int netaddr.strategy.AddrStrategy-class.html#valid_int -netaddr.strategy.AddrStrategy.word_to_bits netaddr.strategy.AddrStrategy-class.html#word_to_bits -netaddr.strategy.AddrStrategy.str_to_bits netaddr.strategy.AddrStrategy-class.html#str_to_bits -netaddr.strategy.AddrStrategy.str_to_words netaddr.strategy.AddrStrategy-class.html#str_to_words -netaddr.strategy.IPv6Strategy.int_to_arpa netaddr.strategy.IPv6Strategy-class.html#int_to_arpa +netaddr.strategy.AddrStrategy.valid_words netaddr.strategy.AddrStrategy-class.html#valid_words +netaddr.strategy.AddrStrategy.packed_to_int netaddr.strategy.AddrStrategy-class.html#packed_to_int netaddr.strategy.AddrStrategy.int_to_words netaddr.strategy.AddrStrategy-class.html#int_to_words -netaddr.strategy.AddrStrategy.description netaddr.strategy.AddrStrategy-class.html#description -netaddr.strategy.AddrStrategy.bits_to_words netaddr.strategy.AddrStrategy-class.html#bits_to_words -netaddr.strategy.IPv6Strategy.valid_str netaddr.strategy.IPv6Strategy-class.html#valid_str netaddr.strategy.IPv6Strategy.int_to_str netaddr.strategy.IPv6Strategy-class.html#int_to_str +netaddr.strategy.IPv6Strategy.valid_str netaddr.strategy.IPv6Strategy-class.html#valid_str netaddr.strategy.AddrStrategy.bits_to_int netaddr.strategy.AddrStrategy-class.html#bits_to_int netaddr.strategy.IPv6Strategy.str_to_int netaddr.strategy.IPv6Strategy-class.html#str_to_int netaddr.strategy.AddrStrategy.words_to_int netaddr.strategy.AddrStrategy-class.html#words_to_int -netaddr.strategy.AddrStrategy.valid_words netaddr.strategy.AddrStrategy-class.html#valid_words +netaddr.strategy.IPv6Strategy.int_to_arpa netaddr.strategy.IPv6Strategy-class.html#int_to_arpa netaddr.strategy.AddrStrategy.__repr__ netaddr.strategy.AddrStrategy-class.html#__repr__ -netaddr.strategy.AddrStrategy.words_to_bits netaddr.strategy.AddrStrategy-class.html#words_to_bits -netaddr.strategy.AddrStrategy.bits_to_str netaddr.strategy.AddrStrategy-class.html#bits_to_str +netaddr.strategy.AddrStrategy.int_to_bin netaddr.strategy.AddrStrategy-class.html#int_to_bin +netaddr.strategy.AddrStrategy.STRUCT_FORMATS netaddr.strategy.AddrStrategy-class.html#STRUCT_FORMATS diff --git a/docs/api/class-tree.html b/docs/api/class-tree.html index a2a4bf7..29b9c0c 100755 --- a/docs/api/class-tree.html +++ b/docs/api/class-tree.html @@ -66,36 +66,19 @@ representing various network address types. - -
  • netaddr.address.AddrRange: - A block of contiguous network addresses bounded by an arbitrary - start and stop address. -
  • netaddr.strategy.AddrStrategy: - Very basic support for all common operations performed on each - network type. + Basic support for common operations performed on each address type
  • -
  • netaddr.address.KlassDescriptor: - A descriptor that checks klass (data flavour) property assignments - for validity. +
  • netaddr.address.FormatDescriptor: + A descriptor that checks formatter property assignments for + validity. +
  • +
  • netaddr.eui.IAB: + Represents an individual IEEE IAB (Individual Address Block) + identifier. +
  • +
  • netaddr.address.IPRange: + Represents arbitrary contiguous blocks of IPv4 and IPv6 addresses + using only a lower and upper bound IP address. + +
  • +
  • netaddr.eui.OUI: + Represents an individual IEEE OUI (Organisationally Unique + Identifier) identifier.
  • netaddr.address.PrefixLenDescriptor: A descriptor that checks prefixlen property assignments for validity based on address type.
  • +
  • netaddr.core.Publisher: + A 'push' publisher that maintains a list of Subscriber objects + notifying them of state changes when its subclasses encounter + events of interest. + +
  • netaddr.address.StrategyDescriptor: A descriptor that checks strategy property assignments for validity and also keeps the addr_type property in sync with any changes made.
  • +
  • netaddr.core.Subscriber: + Abstract class defining interface expected by a Publisher that + concrete subclass instances register with to receive updates from. + +
  • +
  • set: + set(iterable) --> set object + +
  • @@ -185,7 +255,7 @@ @@ -176,15 +186,15 @@ - - + + - - @@ -196,22 +206,29 @@ + + + + - + + -

    D

    - - + + @@ -223,15 +240,16 @@ - - + + - + @@ -240,19 +258,34 @@ - + + + + + + + + + + + -

    H

    - @@ -265,92 +298,186 @@ - + - + @@ -358,15 +485,24 @@ - - + + - + + + + + @@ -375,24 +511,88 @@ + + + + + + + + + + -

    P

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Q

    + + + + + + @@ -401,94 +601,109 @@ + + + + + + - -

    S

    - + - + - + + + + + + - + - + - + + + + + + - - + - - + - - + - - + + - - + + - - - - - - + @@ -509,12 +724,20 @@ + + - + + + + -

    V

    @@ -525,21 +748,22 @@ (in AddrStrategy) valid_str()
    (in EUI48Strategy) -value
    -(in Addr) +valid_words()
    +(in AddrStrategy) valid_int()
    (in AddrStrategy) -valid_str()
    -(in IPv6Strategy) -  +valid_str()
    +(in IPv4StrategyOpt) +value
    +(in Addr) valid_str()
    (in AddrStrategy) -valid_words()
    -(in AddrStrategy) +valid_str()
    +(in IPv6Strategy)   @@ -550,178 +774,227 @@ Wildcard
    (in netaddr.address) -words_to_bits()
    -(in AddrStrategy) -words_to_str()
    -(in AddrStrategy) +wildcard()
    +(in IPRange) +words_to_int()
    +(in IPv4StrategyOpt) -wildcard()
    -(in CIDR) +wildcard()
    +(in IP) words_to_int()
    (in AddrStrategy)   - -word_to_bits()
    -(in AddrStrategy) -words_to_int()
    -(in IPv4StrategyOpt) -  -

    _

    - - + + + + + + + + + + + + + + + + + - - - + + - - - + + - + + - - - - + + - - + + - - + + + + + + + + + + + + + + + + + - + - - - + + + - + + + + + + - - - + + - - + + - - + - - + + - - + + - - - + + + - - + - - + + - @@ -729,16 +1002,48 @@ - + + + + + - + - + + + + + + + + + + + + + + + + @@ -776,7 +1081,7 @@ @@ -103,34 +111,34 @@   @@ -138,9 +146,8 @@   @@ -148,8 +155,8 @@   @@ -157,7 +164,34 @@   + + + + + + + + +
    AddrFormatError
    - Network address format not recognised. + An Exception indicating that a network address format is not + recognised.
    AddrConversionError
    - Conversion between address types or notations failed. + An Exception indicating a failure to convert between address types + or notations.
      - Addr
    - The base class containing common functionality for all subclasses - representing various network address types. + IP
    + Represents individual IPv4 and IPv6 addresses.
      - AddrRange
    - A block of contiguous network addresses bounded by an arbitrary - start and stop address. + IPRange
    + Represents arbitrary contiguous blocks of IPv4 and IPv6 addresses + using only a lower and upper bound IP address.
      - IP
    - A class whose objects represent Internet Protocol network - addresses. + IPRangeSet
    + *EXPERIMENTAL* A customised Python set class that deals with + collections of IPRange class and subclass instances.
    CIDR
    - A block of contiguous IPv4 or IPv6 network addresses defined by a - base network address and a bitmask prefix or subnet mask address - indicating the size/extent of the subnet. + Represents blocks of IPv4 and IPv6 addresses using CIDR (Classless + Inter-Domain Routing) notation.
    Wildcard
    - A block of contiguous IPv4 network addresses defined using a - wildcard style syntax. + Represents blocks of IPv4 addresses using a wildcard or glob style + syntax.
    EUI
    - EUI objects represent IEEE Extended Unique Identifiers. + Represents an IEEE EUI (Extended Unique Identifier) indentifier. +
    +   + + OUI
    + Represents an individual IEEE OUI (Organisationally Unique + Identifier) identifier. +
    +   + + IAB
    + Represents an individual IEEE IAB (Individual Address Block) + identifier. +
    +   + + NotRegisteredError
    + An Exception indicating that an OUI or IAB was not found in the + IEEE Registry.
    @@ -178,9 +212,10 @@ nrange(start, stop, step=1, - klass=None)
    - A generator producing sequences of network addresses based on start - and stop values, in intervals of step. + fmt=None)
    + An xrange work alike generator that produces sequences of IP + addresses based on start and stop addresses, in intervals of step + size. source code @@ -235,28 +270,28 @@   - ST_IPV4 = netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, False... + ST_IPV4 = netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, 10, F...   - ST_IPV6 = netaddr.address.IPv6Strategy(128, 16, ':', 6, True, ... + ST_IPV6 = netaddr.address.IPv6Strategy(128, 16, ':', 6, 16, Fa...   - ST_EUI48 = netaddr.address.EUI48Strategy(48, 8, '-', 48, True,... + ST_EUI48 = netaddr.address.EUI48Strategy(48, 8, '-', 48, 16, T...   - ST_EUI64 = netaddr.address.AddrStrategy(64, 8, '-', 64, True, ... + ST_EUI64 = netaddr.address.AddrStrategy(64, 8, '-', 64, 16, True) @@ -279,43 +314,42 @@

    nrange(start, stop, step=1, - klass=None) + fmt=None)

    source code  -

    A generator producing sequences of network addresses based on start - and stop values, in intervals of step.

    +

    An xrange work alike generator that produces sequences of IP addresses + based on start and stop addresses, in intervals of step size.

    Parameters:
      -
    • start - first network address as string or instance of Addr - (sub)class.
    • -
    • stop - last network address as string or instance of Addr - (sub)class.
    • -
    • step - (optional) size of step between addresses in range. Default is 1.
    • -
    • klass - (optional) the class used to create objects returned. Default: Addr - class. +
    • start - first IP address string or IP object + in range.
    • +
    • stop - last IP address string or IP object in range
    • +
    • step - (optional) size of step between address in range. (Default: 1)
    • +
    • fmt - (optional) callable used on addresses returned. (Default: None - + IP + objects). Supported options :-
      • - str returns string representation of network - address + str - IP address strings +
      • +
      • + int, long - IP address integer + (network byte order)
      • - int, long and hex - return expected values + hex - IP address as a hexadecimal number
      • - Addr (sub)class or duck type* return objects - of that class. If you use your own duck class, make sure you - handle both arguments (addr_value, addr_type) - passed to the constructor. + IP + class/subclass or callable that accepts + addr_value and addr_type arguments.
    @@ -344,7 +378,7 @@
    Value:
    -netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, False, False)
    +netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, 10, False)
     
    @@ -362,7 +396,7 @@ netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, False, False)
    Value:
    -netaddr.address.IPv6Strategy(128, 16, ':', 6, True, False)
    +netaddr.address.IPv6Strategy(128, 16, ':', 6, 16, False)
     
    @@ -380,25 +414,7 @@ netaddr.address.IPv6Strategy(128, 16, ':', 6, True, False)
    Value:
    -netaddr.address.EUI48Strategy(48, 8, '-', 48, True, True)
    -
    -
    -
    - - - -
    - -
    -

    ST_EUI64

    - -
    -
    -
    -
    Value:
    -
    -netaddr.address.AddrStrategy(64, 8, '-', 64, True, True)
    +netaddr.address.EUI48Strategy(48, 8, '-', 48, 16, True)
     
    @@ -436,7 +452,7 @@ netaddr.address.AddrStrategy(64, 8, '-', 64, True, True) + + + + + + + + + + + + + + + + + + @@ -309,7 +507,7 @@ object --+ + common string representation for this IP address + executable Python string to recreate equivalent object. @@ -429,6 +636,13 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\ prefixlen = PrefixLenDescriptor() + + +
    +   + + + + + + +
    is_private(self)
    + Returns: + True if this IP is for internal/private use only (i.e.
    + source code + +
    + +
    +   + + + + + + +
    is_link_local(self)
    + Returns: + True if this IP is link-local address False + otherwise.
    + source code + +
    + +
    +   + + + + + + +
    is_reserved(self)
    + Returns: + True if this IP is in IANA reserved range, + False otherwise.
    + source code + +
    + +
    +   + + + + + + +
    is_ipv4_mapped(self)
    + Returns: + True if this IP is IPv4-compatible IPv6 address, + False otherwise.
    + source code + +
    + +
    +   + + + + + + +
    is_ipv4_compat(self)
    + Returns: + True if this IP is IPv4-mapped IPv6 address, + False otherwise.
    + source code + +
    + +
    +   + + + + + + +
    info(self)
    + Returns: + A record dict containing IANA registration details for this IP + address if available, None otherwise.
    + source code + +
    +
    __str__(self)
    Returns: - The common string representation for this IP address.
    source code @@ -327,8 +525,7 @@ object --+
    __repr__(self)
    Returns: - An executable Python statement that can recreate an object with an - equivalent state.
    source code @@ -341,6 +538,8 @@ object --+

    Inherited from Addr: + __add__, + __and__, __eq__, __ge__, __getitem__, @@ -349,15 +548,23 @@ object --+ __hex__, __iadd__, __int__, + __invert__, __isub__, __iter__, __le__, __len__, __long__, + __lshift__, __lt__, __ne__, + __or__, + __rshift__, __setitem__, - bits + __sub__, + __xor__, + bin, + bits, + packed

    Inherited from object: __delattr__, @@ -382,8 +589,8 @@ object --+

      - STRATEGIES = (netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, F... + STRATEGIES = (netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, 1...
    +   + + _ = 255 +

    Inherited from Addr: @@ -535,8 +749,8 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\

    Returns:
    If this address is a valid netmask, the number of non-zero bits - are returned, otherwise it returns the width (in bits) for the - given address type (IPv4: 32, IPv6: 128).
    + are returned, otherwise it returns the width in bits for based on + the version, 32 for IPv4 and 128 for IPv6.
    @@ -557,7 +771,7 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\
    Returns:
    -
    The reverse DNS lookup string for this IP address.
    +
    The reverse DNS lookup string for this IP address
    @@ -622,8 +836,52 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\
    Returns:
    -
    A valid CIDR object for this IP address.
    +
    A CIDR + object based on this IP address
    +
    + + + +
    + +
    + + +
    +

    wildcard(self) +

    +
    source code  +
    + + +
    +
    Returns:
    +
    A Wildcard object based on this IP address
    +
    +
    +
    + +
    + +
    + + +
    +

    iprange(self) +

    +
    source code  +
    + + +
    +
    Returns:
    +
    A CIDR + object based on this IP address
    @@ -644,23 +902,15 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\
    Returns:
    -
    A new IP - object numerically equivalent this address. -
      -
    • - If its address type is IPv4. -
    • -
    • - If object's address type is IPv6 and its value is mappable to - IPv4, a new IPv4 IP object is returned instead. -
    • -
    • - Raises an AddrConversionError if IPv6 address is not - mappable to IPv4. -
    • -
    +
    A new version 4 IP object numerically equivalent this address. + If this object is already IPv4 then a copy is returned. If this + object is IPv6 and its value is compatible with IPv4, a new IPv4 + IP + object is returned. +

    Raises an AddrConversionError is IPv6 address cannot be + converted.

    @@ -671,32 +921,30 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\
    -

    ipv6(self) +

    ipv6(self, + ipv4_compatible=False)

    source code 
    - +

    Please Note: the IPv4-Mapped IPv6 address format is now + considered deprecated. Reference: RFC 4291

    +
    Parameters:
    +
      +
    • ipv4_compatible - If True returns an IPv4-Mapped address + (::ffff:x.x.x.x), an IPv4-Compatible (::x.x.x.x) address + otherwise. Default: False (IPv4-Mapped).
    • +
    Returns:
    A new IP - object numerically equivalent this address. -
      -
    • - If object's address type is IPv6. -
    • -
    • - If object's address type is IPv4 a new IPv6 IP - object, as a IPv4 mapped address is returned instead. Uses - the preferred IPv4 embedded in IPv6 form - - ::ffff:x.x.x.x ('mapped' address) over the (now - deprecated) form - ::x.x.x.x ('compatible' - address). See RFC 4921 for details. -
    • -
    + version 6 object that is numerically equivalent this address. If + this object is already IPv6 then a copy of this object is + returned. If this object is IPv4, a new version 6 IP object + is returned.
    @@ -717,8 +965,31 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\
    Returns:
    -
    True if this address is unicast, False - otherwise.
    +
    True if this IP is unicast, False + otherwise
    +
    + + + +
    + +
    + + +
    +

    is_loopback(self) +

    +
    source code  +
    + + +
    +
    Returns:
    +
    True if this IP is loopback address (not for network + transmission), False otherwise. References: RFC 3330 + and 4291.
    @@ -739,11 +1010,144 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\
    Returns:
    -
    True if this address is multicast, +
    True if this IP is multicast, False + otherwise
    +
    + + + +
    + +
    + + +
    +

    is_private(self) +

    +
    source code  +
    + + +
    +
    Returns:
    +
    True if this IP is for internal/private use only + (i.e. non-public), False otherwise. Reference: RFCs + 1918, 3330, 4193, 3879 and 2365.
    +
    +
    +
    + +
    + +
    + + +
    +

    is_link_local(self) +

    +
    source code  +
    + + +
    +
    Returns:
    +
    True if this IP is link-local address + False otherwise. Reference: RFCs 3927 and 4291.
    +
    +
    +
    + +
    + +
    + + +
    +

    is_reserved(self) +

    +
    source code  +
    + + +
    +
    Returns:
    +
    True if this IP is in IANA reserved range, + False otherwise. Reference: RFCs 3330 and 3171.
    +
    +
    +
    + +
    + +
    + + +
    +

    is_ipv4_mapped(self) +

    +
    source code  +
    + + +
    +
    Returns:
    +
    True if this IP is IPv4-compatible IPv6 address, + False otherwise.
    +
    +
    +
    + +
    + +
    + + +
    +

    is_ipv4_compat(self) +

    +
    source code  +
    + + +
    +
    Returns:
    +
    True if this IP is IPv4-mapped IPv6 address, False otherwise.
    + +
    + +
    + + +
    +

    info(self) +

    +
    source code  +
    + + +
    +
    Returns:
    +
    A record dict containing IANA registration details for this IP + address if available, None otherwise.
    +
    +
    +
    str(x)

    Returns:
    -
    The common string representation for this IP address.
    +
    common string representation for this IP address
    Overrides: object.__str__
    @@ -787,8 +1191,7 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\

    repr(x)

    Returns:
    -
    An executable Python statement that can recreate an object with - an equivalent state.
    +
    executable Python string to recreate equivalent object.
    Overrides: object.__repr__
    @@ -817,8 +1220,8 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\
    Value:
    -(netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, False, False),
    - netaddr.address.IPv6Strategy(128, 16, ':', 6, True, False))
    +(netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, 10, False),
    + netaddr.address.IPv6Strategy(128, 16, ':', 6, 16, False))
     
    @@ -882,7 +1285,7 @@ xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\ - - - @@ -189,8 +173,7 @@ object --+ + executable Python string to recreate equivalent object. @@ -297,14 +286,14 @@ object --+ @@ -369,7 +358,7 @@ object --+
    -   - - - - - - -
    cidr(self)
    - Returns: - A valid CIDR object for this wildcard.
    - source code - -
    -
    __repr__(self)
    Returns: - An executable Python statement that can recreate an object with an - equivalent state.
    source code @@ -202,22 +185,29 @@ object --+
    -

    Inherited from AddrRange: - __contains__, - __eq__, - __ge__, - __getitem__, - __gt__, - __hash__, - __iadd__, - __isub__, - __iter__, - __le__, - __len__, - __lt__, - __ne__, - data_flavour, - size +

    Inherited from IPRange: + __contains__, + __eq__, + __ge__, + __getitem__, + __gt__, + __hash__, + __iadd__, + __isub__, + __iter__, + __le__, + __len__, + __lt__, + __ne__, + adjacent, + cidrs, + format, + iprange, + issubnet, + issupernet, + overlaps, + size, + wildcard

    Inherited from object: __delattr__, @@ -268,15 +258,14 @@ object --+

      - STRATEGIES = (netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, F... + STRATEGIES = (netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, 1...
      - ADDR_TYPES = (0, 4, 6) + ADDR_TYPES = (0, 4)
      - klass = KlassDescriptor(IP) + fmt = FormatDescriptor(IP)
    -

    Inherited from AddrRange: - first, - last +

    Inherited from IPRange: + first, + last

    __init__(self, wildcard, - klass=<class 'netaddr.address.IP'>) + fmt=<class 'netaddr.address.IP'>)
    (Constructor)

    Parameters:
    Overrides: object.__init__ @@ -394,31 +383,6 @@ object --+
    - -
    - -
    - - -
    -

    cidr(self) -

    -
    source code  -
    - - -
    -
    Returns:
    -
    A valid CIDR object for this wildcard. If conversion - fails an AddrConversionError is raised as not all - wildcards ranges are valid CIDR ranges.
    -
    -
    -
    repr(x)

    Returns:
    -
    An executable Python statement that can recreate an object with - an equivalent state.
    +
    executable Python string to recreate equivalent object.
    Overrides: object.__repr__
    @@ -491,8 +454,7 @@ object --+
    Value:
    -(netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, False, False),
    - netaddr.address.IPv6Strategy(128, 16, ':', 6, True, False))
    +(netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, 10, False))
     
    @@ -530,7 +492,7 @@ object --+

    Module strategy

    source code

    -

    network address type logic, constants used to identify them and shared - strategy objects.

    +

    network address conversion logic, constants and shared strategy + objects.

    @@ -75,8 +75,7 @@   AddrStrategy
    - Very basic support for all common operations performed on each - network type. + Basic support for common operations performed on each address type @@ -112,7 +111,7 @@ EUI48Strategy
    Implements the operations that can be performed on an IEEE 48-bit - EUI (Extended Unique Identifer). + EUI (Extended Unique Identifer) a.k.a. @@ -129,14 +128,14 @@   USE_IPV4_OPT = True
    - Use IPv4 optimised strategy class? Default: True + Use optimised IPv4 strategy? Default: True   - ST_IPV4 = netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, False...
    + ST_IPV4 = netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, 10, F...
    A shared strategy object supporting all operations on IPv4 addresses. @@ -144,7 +143,7 @@   - ST_IPV6 = netaddr.address.IPv6Strategy(128, 16, ':', 6, True, ...
    + ST_IPV6 = netaddr.address.IPv6Strategy(128, 16, ':', 6, 16, Fa...
    A shared strategy object supporting all operations on IPv6 addresses. @@ -152,7 +151,7 @@   - ST_EUI48 = netaddr.address.EUI48Strategy(48, 8, '-', 48, True,...
    + ST_EUI48 = netaddr.address.EUI48Strategy(48, 8, '-', 48, 16, T...
    A shared strategy object supporting all operations on EUI-48/MAC addresses. @@ -161,7 +160,7 @@   - ST_EUI64 = netaddr.address.AddrStrategy(64, 8, '-', 64, True, ...
    + ST_EUI64 = netaddr.address.AddrStrategy(64, 8, '-', 64, 16, True)
    A shared strategy object supporting all operations on EUI-64 addresses. @@ -189,7 +188,7 @@
    Value:
    -netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, False, False)
    +netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, 10, False)
     
    @@ -208,7 +207,7 @@ netaddr.address.IPv4StrategyOpt(32, 8, '.', 4, False, False)
    Value:
    -netaddr.address.IPv6Strategy(128, 16, ':', 6, True, False)
    +netaddr.address.IPv6Strategy(128, 16, ':', 6, 16, False)
     
    @@ -227,26 +226,7 @@ netaddr.address.IPv6Strategy(128, 16, ':', 6, True, False)
    Value:
    -netaddr.address.EUI48Strategy(48, 8, '-', 48, True, True)
    -
    -
    -
    - -
    - -
    - -
    -

    ST_EUI64

    -

    A shared strategy object supporting all operations on EUI-64 - addresses.

    -
    -
    -
    -
    Value:
    -
    -netaddr.address.AddrStrategy(64, 8, '-', 64, True, True)
    +netaddr.address.EUI48Strategy(48, 8, '-', 48, 16, True)
     
    @@ -284,7 +264,7 @@ netaddr.address.AddrStrategy(64, 8, '-', 64, True, True)