Update Rack Initializer for Netbox 2.7
The rack database model has changed in Netbox 2.7.
Therefore the initializer code, that was used before, broke.
As a user, you will need to update your racks.yml file as follows:

- Rack types must match one of the 5 rack types given, e.g.
  '4-post-cabinet'.
- Rack width must match one of the 2 rack widths given, i.e. '19' or
  '23'.

See the diff of this commit for further information how this is meant.
1 parent c001626 commit 7b914d31d66f56bb9cf6ab8fbba131a23a6127a8
@Christian Mäder Christian Mäder authored on 17 Jan 2020
Showing 2 changed files
View
initializers/racks.yml
View
startup_scripts/080_racks.py