This script will export all data from a Netbox tenant to a PDF file. The script will export the following data:
- Devices
- Locations
- Tenant Data
- Racks
- Clone the repository
- Install the required packages
pip install -r requirements.txt
- Rename the
.env.example
file to.env
and update the following variables:
NETBOX_URL=https://netbox.example.com
NETBOX_TOKEN=your-netbox-token
TENANT_NAME=your-tenant-id
- Run the script
python nb_export.py
- Update the formatting of the PDF to be more visually appealing
- Update the formatting of exported interfaces
- Implement Support for VLANs on Interfaces
- Implement Support for IP Addresses on Interfaces
- Implement Support for Circuits
- Implement Support for Virtual Machines
- Implement Support for Power Feeds
- Implement Support for Power Panels
This project is licensed under the BSD 2-Clause License - see the LICENSE file for details.