The vm 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 virtual_machines.yml
file as follows:
- Make sure the status is spelled lowercase.
See the diff of this commit for further information how this is meant.
The VLAN 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 vlans.yml file as follows:
- Make sure the status is spelled lowercase.
See the diff of this commit for further information how this is meant.
The device 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 devices.yml file as
follows:
- Make sure the rack face is spelled lowercase.
See the diff of this commit for further information how this is meant.
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.
The custom field 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 custom_fields.yml file as
follows:
- type must be lowercase
- the `selection` type was changed to `select`
- the filter_logic must be lower case
This is to achieve compatibility with the naming schema that
Netbox uses internally. It allows us to become forward compatible
in case Netbox ever introduces a new type for custom fields.
See the diff of this commit for further information how this is meant.
This also fixes a bug when using the same value for 2 different custom fields breaks becuase it tries to
create a new CustomFieldChoice object instead of reusing the one that already exists.
Initializers are startup scripts for common tasks like creating custom
fields. These are problems many users of Netbox Docker potentially face
and are therefore worth sharing.