Page MenuHomePhabricator

Network to Netbox import
Closed, ResolvedPublic0 Estimated Story Points

Description

We need a script to:

1/ Mass import data from production network devices into Netbox
See the table in T205897 for what needs to be imported.

2/ Keep that data in sync (authoritative source=network devices) until Netbox becomes the authoritative source (jnt or similar configures the devices based on Netbox)

I started working on it with:
https://gerrit.wikimedia.org/r/c/operations/software/netbox-deploy/+/507217
(see README for more details).

Related Objects

Event Timeline

ayounsi triaged this task as Medium priority.May 13 2019, 7:11 PM
ayounsi created this task.

Change 507217 had a related patch set uploaded (by Ayounsi; owner: Ayounsi):
[operations/software/netbox-deploy@master] Add the Juniper to Netbox import script.

https://gerrit.wikimedia.org/r/507217

This is not needed anymore:
The one time import is done, I'm leaving the code on Gerrit, but it would need a major refactor if we want to revive it.
In the meantime there has been some other efforts in that field, for example: https://github.com/networktocode/network-importer which might be more relevant in the future.