Skip to content

Instantly share code, notes, and snippets.

@ixqx
ixqx / netbox_optics_audit.py
Created June 28, 2022 11:32 — forked from dorkmatt/netbox_optics_audit.py
Netbox Juniper/Arista optics audit
#!/usr/bin/env python
#
# Fetch list of Juniper/Arista devices via Netbox, query optics info via Netconf, write to CSV file
#
# Written at 34c4 in Leipzig, Germany
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#