These are a series of reports against Netbox's Report API used to verify and manage the contents of Wikimedia's Netbox instance.
reports/coherence.py
: Various "coherence" tests, basically ensuring that values are within expected ranges.
reports/management.py
: Tests the status of management console ports.
reports/oldhardware.py
: Tests the age of hardware based on the purchase_date
custom field.
reports/puppetdb.py
: Tests the parity between Netbox and PuppetDB for various fields such as serial numbers.
reports/accounting.py
: Tests the consistency of Netbox data and asset information in a Google Sheet spreadsheet as maintained by Wikimedia Foundation's accounting department.
The general conventions for the output of reports are specified in Wikitech's Netbox Page.
To contribute directly to reports, please submit patches via Gerrit to this repository. If you'd like to request additional reports (or changes to existing ones), please submit a Phabricator task to the Operations Software board.