Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

goebelmeier/racktables2netbox

Repository files navigation

racktables2netbox

A RackTables to NetBox migration utility. This tiny tool should be used to migrate your existing RackTables installations towards NetBox.

Installation

unzip racktables2netbox.zip
cd racktables2netbox
cp conf.sample conf

Usage

  1. Create a NetBox API Token
  2. Create a RackTables read-only database user
  3. edit conf regarding your needs (URLs, credentials, ...)
  4. run python3 racktables2netbox.py
  5. optional: to get back to a clean NetBox installation run python3 clean_netbox.py

Contributing

  1. Migration should follow a strict order. Please have a look at the corresponding wiki page
  2. Fork it (https://github.com/yourname/yourproject/fork)
  3. Create your feature branch (git checkout -b feature/fooBar)
  4. Commit your changes (git commit -am 'Add some fooBar')
  5. Push to the branch (git push origin feature/fooBar)
  6. Create a new Pull Request

Credits

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.

License

racktables2netbox is licensed under MIT license. See LICENSE.md for more information.