Package netaddr :: Package eui |
[hide private]
[frames] | no frames]

# Package eui

source code

Provides access to public network address information published by the IEEE.

More details can be found at the following URLs :-

Institute of Electrical and Electronics Engineers (IEEE)

- http://www.ieee.org/
- http://standards.ieee.org/regauth/oui/

Classes | [hide private]
| NotRegisteredError An Exception indicating that an OUI or IAB was not found in the IEEE Registry.
| FileIndexer Stores index data found by a parser in a CSV file
| OUIIndexParser A parser that processes OUI (Organisationally Unique Identifier) registration file data published by the IEEE.
| IABIndexParser A parser that processes IAB (Individual Address Block) registration file data published by the IEEE.
| OUI Represents an individual IEEE OUI (Organisationally Unique Identifier) identifier.
| IAB Represents an individual IEEE IAB (Individual Address Block) identifier.

Functions | [hide private]
create_ieee_indices() Create indices for OUI and IAB file based lookups | source code
load_ieee_indices() Load OUI and IAB indices into memory | source code
get_latest_files() Download the latest files from the IEEE | source code

Variables | [hide private]
| IEEE_OUI_REGISTRY = ``'``/cygdrive/z/netaddr/branches/rel-0.6.x/ne``...`` Path to local copy of IEEE OUI Registry data file.
| IEEE_OUI_METADATA = ``'``/cygdrive/z/netaddr/branches/rel-0.6.x/ne``...`` Path to netaddr OUI index file.
| IEEE_OUI_INDEX = ``{`0`:` `[``(`61`,` 154`)``]``,` 1`:` `[``(`215`,` 178`)``]``,` 2`:` `[``(`393`,` 1`...`` OUI index lookup dictionary.
| IEEE_IAB_REGISTRY = ``'``/cygdrive/z/netaddr/branches/rel-0.6.x/ne``...`` Path to local copy of IEEE IAB Registry data file.
| IEEE_IAB_METADATA = ``'``/cygdrive/z/netaddr/branches/rel-0.6.x/ne``...`` Path to netaddr IAB index file.
| IEEE_IAB_INDEX = ``{`84680704`:` `[``(`68`,` 133`)``]``,` 84680705`:` `[``(`201`,` 140`)``...`` IAB index lookup dictionary.

Variables Details | [hide private]

  ### IEEE_OUI_REGISTRY Path to local copy of IEEE OUI Registry data file. Value:
      '/cygdrive/z/netaddr/branches/rel-0.6.x/netaddr/eui/oui.txt'

  ### IEEE_OUI_METADATA Path to netaddr OUI index file. Value:
      '/cygdrive/z/netaddr/branches/rel-0.6.x/netaddr/eui/oui.idx'

  ### IEEE_OUI_INDEX OUI index lookup dictionary. Value:
      {0: [(61, 154)],
       1: [(215, 178)],
       2: [(393, 178)],
       3: [(571, 187)],
       4: [(758, 179)],
       5: [(937, 178)],
       6: [(1115, 179)],
       7: [(1294, 178)],
      ...

  ### IEEE_IAB_REGISTRY Path to local copy of IEEE IAB Registry data file. Value:
      '/cygdrive/z/netaddr/branches/rel-0.6.x/netaddr/eui/iab.txt'

  ### IEEE_IAB_METADATA Path to netaddr IAB index file. Value:
      '/cygdrive/z/netaddr/branches/rel-0.6.x/netaddr/eui/iab.idx'

  ### IEEE_IAB_INDEX IAB index lookup dictionary. Value:
      {84680704: [(68, 133)],
       84680705: [(201, 140)],
       84680706: [(341, 172)],
       84680707: [(513, 139)],
       84680708: [(652, 141)],
       84680709: [(793, 144)],
       84680710: [(937, 195)],
       84680711: [(1132, 166)],
      ...