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

More flexible mapping of Provider (Nautobot) to Provider (circuit-maintenance-parser) #43

Closed
glennmatthews opened this issue Jul 22, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@glennmatthews
Copy link
Contributor

Environment

  • Nautobot version:
  • nautobot-circuit-maintenance version:

Proposed Functionality

Mapping Nautobot Providers to circuit-maintenance-provider Provider classes based on the Nautobot Provider slug is inflexible as it relies on enforcing that the Nautobot Provider slug be exactly equal to the circuit-maintenance-provider Provider class __name__. In practice this may not always be the case, and it's not always going to be feasible to change the existing slug in Nautobot to resolve this.

Use Case

I have a Nautobot deployment with circuits defined for provider CenturyLink (former name of the provider now called Lumen). Without changing the slug of this provider, or creating a new Lumen provider and remapping all of the circuits to this new provider, I have no way to make emails from Lumen be handled by the Lumen parser provider because the plugin is looking for a parser called centurylink.

@glennmatthews glennmatthews added the enhancement New feature or request label Jul 22, 2021
@glennmatthews
Copy link
Contributor Author

Maybe another optional custom field on Provider?

@chadell
Copy link
Contributor

chadell commented Aug 7, 2021

Addressed in #51

@chadell chadell closed this as completed Aug 7, 2021
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