A RackTables to NetBox migration utility. This tiny tool should be used to migrate your existing RackTables installations towards NetBox.
unzip racktables2netbox.zip
cd racktables2netbox
cp conf.sample conf
- Create a NetBox API Token
- Create a RackTables read-only database user
- edit
conf
regarding your needs (URLs, credentials, ...) - run
python3 racktables2netbox.py
- optional: to get back to a clean NetBox installation run
python3 clean_netbox.py
- Migration should follow a strict order. Please have a look at the corresponding wiki page
- Fork it (https://github.com/yourname/yourproject/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
Thanks to Device42 who have already written a RackTables to Device42 migration utility. I was able to use it as a starting point and begin to rewrite it step by step towards NetBox.
racktables2netbox is licensed under MIT license. See LICENSE.md for more information.