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

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

Open
sirtux opened this issue Feb 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sirtux
Copy link
Contributor

sirtux commented Feb 9, 2023

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.

@glennmatthews glennmatthews added the enhancement New feature or request label Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants