Supported Data Types:
- Tenants
- Sites
- Rack Groups
- Racks
- Manufacturers
- Device Types
- Devices
- Child Devices
- Device Bays
Requirements:
- Python 2,3
- python packages: requests, django-utils, mysql-connector-python-rf, pycurl, slugify, dnspython
Instructions:
- OpenDCIM:
- Create a custom device attribute named migrate_color with a hex code default value (eg. 00ff00)
- Create a custom device attribute named default_face with default value type binary (eg. 0 for front, 0 for rear facing)
- Include the string 'sled' in the name of all child device templates. (eg. Dell c6320 sled)
- Elimiate duplicate asset tags, names, or overlapped devices in the openDCIM database, this will cause the script to fail.
- Do not attempt to use 'storage rooms' in OpenDCIM, create a tall rack in the Datacenter of your choice and slot the devices in 'storage' there temporarily for migration
- Netbox
- Install netbox according the instructions found on the readthedocs wiki.
- Generate netbox API token for a superuser account a superuser account.
- Script variables
- Populate variables dbHost, dbUser, dbPasswd, dbName, netboxBaseURL, netboxToken, and netboxUser.
- Set debug verbosity levels in the booleans
- Run script
- Read the dump files created for the script for debugging
(c)2017 University of Washington, Institute for Health Metrics and Evaluation
- Felix Russell (felix-russell@github.com)
- OpenDCIM 4.1
- Netbox 2.1d