Update Custom Fields Initializer for Netbox 2.7
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.
1 parent 355f9d4 commit c001626b85ba07bf2203faee16b09372fbe42ba6
@Christian Mäder Christian Mäder authored on 17 Jan 2020
Showing 2 changed files
View
initializers/custom_fields.yml
View
startup_scripts/020_custom_fields.py