networktocode / ntc-netbox-plugin-onboarding

A plugin for NetBox to easily onboard new devices.
Other
246 stars 46 forks source link

Re-onboarding of an existing device is not working if the device type is not present #74

Closed dgarros closed 4 years ago

dgarros commented 4 years ago

Environment

Steps to Reproduce

  1. Disable create_device_type_if_missing
  2. Ensure the device type matching the device is not already present
  3. Re-onboard an existing device

Expected Behavior

Since the device already exist and already have a device_type assigned, the re-onboarding should work as expected.

Observed Behavior

The re-onboarding is failing because the device_type is not present