Versions

Legacy versions based on year-date (eg v2018.2) have been hard-deprecated in favour of a backward incompatible
standard versioning scheme (eg v0.2.0).

CLI usage

usage: ouilookup [-h] [-q <hwaddr> | -u | -un | -s] [-d]
ouilookup v0.0.2
optional arguments:
-h, --help show this help message and exit
-q <hwaddr>, --query <hwaddr>
Query to locate matching MAC hardware address(es) from
the oui database. Addresses may be expressed in
formats with or without ":" or "-" separators. Use a
space between addresses for more than one lookup in a
single query line.
-u, --update Download the latest oui.txt from "standards-
oui.ieee.org" and parse it to generate a local
oui.json for use by OuiLookup. The following paths (in
order) are examined for write-access to save the
oui.json data-file: /var/lib/ouilookup
-un, --update-no-download
Parse the oui.txt file in the data-path and update the
local oui.json data-file without downloading the
latest oui.txt update from "standards-oui.ieee.org".
-s, --status Return status information about the oui.json data-file
available to OuiLookup.
-d, --debug Provide debug logging output to stderr.
A CLI tool for interfacing with the OuiLookup module that provides CLI access
the query(), update() and status() functions. Outputs at the CLI are JSON
formatted thus allowing for easy chaining to other toolchains. The update()
function updates directly from "standards-oui.ieee.org" and the ouilookup
package provides an internal fallback oui.txt updated at time of packaging.