nautobot / nautobot-app-ssot

Single Source of Truth for Nautobot
https://docs.nautobot.com/projects/ssot/en/latest/
Other
36 stars 33 forks source link

Add Ability to Pick Objects to Import #55

Open jdrew82 opened 2 years ago

jdrew82 commented 2 years ago

Environment

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.

glennmatthews commented 2 years ago

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.

jdrew82 commented 2 years ago

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.