Skip to content
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

Create OnboardingDevice instance for existing devices #93

Closed
mzbroch opened this issue Sep 21, 2020 · 0 comments · Fixed by #134
Closed

Create OnboardingDevice instance for existing devices #93

mzbroch opened this issue Sep 21, 2020 · 0 comments · Fixed by #134
Assignees

Comments

@mzbroch
Copy link
Contributor

mzbroch commented Sep 21, 2020

OnboardingDevice is a new model added in the ntc-netbox-plugin-onboarding release 2.0

The goal of the OnboardingDevice model is to:

  • provide information about the Device model related to the OnboardingDevice (including last time of onboarding or the status of the onboarding)
  • provide settings related to the onboarded Device (if the onboarding is enabled/disabled or future settings)

Currently, the OnboardingDevice() instance is created automatically, due to registration for signal, every time a new Device is created in NetBox. This will not cover the situations for NetBox brownfield environments, where the Devices already exist, and the action of re-onboarding is applied on the Devices. In this case, the re-onboarding will not create the OnboardingDevice() model instance.

Goal of this issue is to solve this behaviour by implementing a solution where a OnboardingDevice will be automatically created during re-onboarding for the existing NetBox Device()

mzbroch added a commit that referenced this issue Mar 6, 2021
mzbroch added a commit that referenced this issue Mar 6, 2021
@mzbroch mzbroch mentioned this issue Mar 6, 2021
mzbroch added a commit that referenced this issue Mar 15, 2021
mzbroch added a commit that referenced this issue Mar 16, 2021
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 a pull request may close this issue.

3 participants