-
-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,41 @@ | ||
## Possible Choices: | ||
## width: | ||
## - 19 | ||
## - 23 | ||
## types: | ||
## - 2-post-frame | ||
## - 4-post-frame | ||
## - 4-post-cabinet | ||
## - wall-frame | ||
## - wall-cabinet | ||
## outer_unit: | ||
## - mm | ||
## - in | ||
## | ||
## Examples: | ||
|
||
# - site: AMS 1 | ||
# name: rack-01 | ||
# role: Role 1 | ||
# type: 4-post cabinet | ||
# width: 19 inches | ||
# type: 4-post-cabinet | ||
# width: 19 | ||
# u_height: 47 | ||
# custom_fields: | ||
# text_field: Description | ||
# - site: AMS 2 | ||
# name: rack-02 | ||
# role: Role 2 | ||
# type: 4-post cabinet | ||
# width: 19 inches | ||
# type: 4-post-cabinet | ||
# width: 19 | ||
# u_height: 47 | ||
# custom_fields: | ||
# text_field: Description | ||
# - site: SING 1 | ||
# name: rack-03 | ||
# group: cage 101 | ||
# role: Role 3 | ||
# type: 4-post cabinet | ||
# width: 19 inches | ||
# type: 4-post-cabinet | ||
# width: 19 | ||
# u_height: 47 | ||
# custom_fields: | ||
# text_field: Description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters