Page MenuHomePhabricator

Import management interfaces into Netbox from DNS
Closed, ResolvedPublic

Description

  • Read DNS resource records from the DNS repository (permissive)
  • For each hostname in *.mgmt.*, , write Netbox interface for that IP address. Handle ASSETTAG.mgmt also.
  • Ensure that this process is repeatable.

Event Timeline

crusnov updated the task description. (Show Details)

Change 529977 had a related patch set uploaded (by CRusnov; owner: CRusnov):
[operations/software/netbox-deploy@master] Add script to import management DNS entries

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

Script has completed running. Several edge cases worked out with Arzhel (frack, etc). MGMT interfaces should be largely correct now.

FWIW there was no mgmt DNS information for some hosts:

an-conf100[1,2,3], atlas-* (obviously), samarium

I haven't looked at why this could be yet.

Change 529977 abandoned by CRusnov:
Add script to import management DNS entries

Reason:
Has been merged to -extras repo instead.

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