Closed jvanderaa closed 3 years ago
In v2.0 of plugin onboarding tasks are no longer subject for saving changed parameters during execution, thus original request is still available and can be available for "restarted task"
The button could be listed in a table view and will redirect to a new screen of OT modification with already existing initial values in the form.
A few notes:
usernames and passwords are not stored into a database, so this feature would not be feasible for cases with OTs originally provided with credentials,
we could start with a "single restart" first, "bulk restart button" would be another feature
I think that it makes sense to use all the other same data other than credentials. Since we can't get them anyway, it would just be a restart with the same parameters that were entered originally.
There are currently two methods allowing for similar behaviour:
Create a Custom Link under Admin Tab
in NetBox as follows:
$MAIN_URL/plugins/onboarding/add/?&ip_address={{ obj.primary_ip.address.ip }}&site={{ obj.site.slug }}
The custom link will be created for a Device model and will allow to provide IP and Site of the existing device thus simplifying the user experience
Copy & Pasting text block into Bulk-onboarding
With these two users should get similar to restart
behaviour
Environment
Proposed Functionality
After a failed task it would be beneficial to have a restart button to retry the onboarding.
Use Case
During initial use of the onboarding application your NetBox instance may require changes to the environment to get into a working state. It would be helpful to allow the changes to be made and then restart a failed task