This repository contains scripts and examples from the Packet Coders Tech Showcase featuring Slurp'it, Netpicker, and NetBox.
Learn more about each tool showcased in this repository:
Note: The examples in this repository, including Jinja templates, are built for Cisco IOS devices.
python3 -m venv .venv
source .venv/bin/activate
cp .env.example .env
Update the .env
file with your NetBox settings and device credentials.
pip install -r requirements.txt
You can now run any of the following Nornir scripts:
- Check NetBox is correctly sending inventory data.
python3 nornir/nr_check_inv.py
- Render the Jinja templates using data from NetBox's GraphQL.
python3 nornir/nr_build.py
- Deploy the config out to your devices within your inventory.
python3 nornir/nr_deploy.py