nautobot-app-ssot icon indicating copy to clipboard operation
nautobot-app-ssot copied to clipboard

Add Ability to Pick Objects to Import

Open jdrew82 opened this issue 3 years ago • 2 comments
trafficstars

Environment

  • DiffSync version: 1.6.0

Proposed Functionality

It would be useful if there was a screen that showed the objects to be imported from your DataSource and allow you to select the objects out of the batch you wish to import. Due to large datasets we would need the ability to pick groups of objects. Similar to #37 it'd be useful to filter the objects to import either before the Job starts or once the diff has completed and you can see what CRUD operations would occur.

Use Case

As a end-user I'd like the ability to pick individual objects, either Sites or Devices or related, and have only those imported. This would be extremely useful when there's only one change in a SoR that I want to import.

jdrew82 avatar Jul 27 '22 18:07 jdrew82

Interesting idea. Since there's no ability for a Job to pause and prompt for additional inputs mid-run, we'd probably need some way to have one Job report on the available objects, then have another Job with dynamically populated inputs based on the output from that previous job. Definitely would not be trivial to implement.

glennmatthews avatar Jul 27 '22 18:07 glennmatthews

That was pretty much how I thought it'd have to be done too. I'm sure there are other gotchas we're missing but that sounds like the basics.

jdrew82 avatar Jul 27 '22 18:07 jdrew82