netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
16.12k stars 2.58k forks source link

Migrate phpIpam database to netbox #2661

Closed graytonio closed 5 years ago

graytonio commented 5 years ago

Environment

Proposed Functionality

A way to import the database dump from phpIpam into netbox

Use Case

We are currently changing to netbox from phpIpam and cannot find a good tool that we can use to migrate all the existing data to the new box

Database Changes

External Dependencies

gmazoyer commented 5 years ago

I don't think that NetBox should specifically allow to import the database from one tool (being PHPIPAM or anything else) into it.

That said, I think importing a PHPIPAM database into NetBox for the IPAM use should be simple enough with a script going through the PHPIPAM database and then making proper NetBox's API calls.

jeremystretch commented 5 years ago

This would be wholly out of scope for NetBox, as it requires keeping up to date with both NetBox and phpIPAM development. There are also sure to be many places where the translation of specific data is subjective. If anything, it would be best implemented as a standalone tool.

chicks-net commented 5 years ago

I'm working on something similar for migrating racktables into netbox. My plan was to create a github repo for the translator. I'm not planning on covering every version of either product either. I will pick one racktables and one netbox version and start with those.