Skip to content

Bugfix: netbox_device_interface: Add type and add deprecation to form_factor option #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2020
Merged

Conversation

FragmentedPacket
Copy link
Contributor

Fixes #193

This adds the following:

  • Deprecation warning for form_factor option.
  • Add type to options.
  • Adds clearer messaging when using form_factor on 2.7 and to change to using type

I decided not to add any logic to change the form_factor key when updating the object and just clarify the warning as I will remove any form_factor code on 0.3.0 release which will probably be sooner than later.

…e type key and added type option to netbox_device_interface
@FragmentedPacket FragmentedPacket merged commit 9507081 into netbox-community:devel May 19, 2020
@FragmentedPacket FragmentedPacket deleted the fix-dev-intf-type branch May 19, 2020 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

netbox_device_interface fails on a second run to form_factor
1 participant