nautobot-app-netbox-importer icon indicating copy to clipboard operation
nautobot-app-netbox-importer copied to clipboard

Make --bypass-data-validation able to select models for which data validation should be disabled

Open sirtux opened this issue 1 year ago • 0 comments

Environment

  • Nautobot version: n/a
  • nautobot-netbox-importer version: n/a

Proposed Functionality

Enhance the --bypass-data-validation function to be able to select the models for which validation should be disabled

Use Case

There are certain models, who can only be imported when ignoring certain constraints (e.g. the VLAN Group has in nautobot a site, and the site of a VLAN in the Group must match the site, while netbox 2.11 does not have a site attribute for a VLAN group).

I consider it useful to be able to disable the validation only for those problematic models, and maybe change the error on such an event to INFO, so that you easily still see issues with other models, and can filter for them.

sirtux avatar Feb 09 '23 14:02 sirtux