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

Prepend a Distinct Value to Site_Tag #544

Open
emdeefive opened this issue Sep 11, 2024 · 0 comments
Open

Prepend a Distinct Value to Site_Tag #544

emdeefive opened this issue Sep 11, 2024 · 0 comments
Labels
integration: ciscoaci Issues/PRs for Cisco ACI integration. type: enhancement New feature or request

Comments

@emdeefive
Copy link

emdeefive commented Sep 11, 2024

Environment

  • Nautobot version: 2.3.2
  • nautobot-ssot version: 3.1.0

Proposed Functionality

It would be nice if the site_tag used allowed for a prepended value to be specified in the PLUGINS_CONFIG settings. Using just the site name as the signifying tag could cause devices that are tagged with that site to inadvertently be delete. It might be better if it were more unique than just the site name which could be used elsewhere for various reasons.

Use Case

Perhaps there could be a specific prepend value for the site_tag, something like this:

PLUGINS_CONFIG = {
"nautobot_ssot": {
"site_tag_prepend": "ACI-"
}
}

Perhaps when the site_tag name is set in the code this value, if present, could be prepended (eg: ACI-site1). If this value isn't specified in the PLUGINS_CONFIG, no value would be prepended and that would allow backwards compatibility to existing deployments with tags without a prepended value.

@emdeefive emdeefive changed the title Prepend a Distinct Value to Site Tag Prepend a Distinct Value to Site_Tag Sep 11, 2024
@jdrew82 jdrew82 added type: enhancement New feature or request integration: ciscoaci Issues/PRs for Cisco ACI integration. labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: ciscoaci Issues/PRs for Cisco ACI integration. type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants