aristanetworks / ansible-cvp

Ansible modules for Arista CloudVision
http://cvp.avd.sh
Apache License 2.0
65 stars 61 forks source link

Feature: cv_tags_v3 detecting changes #638

Closed chetryan closed 5 months ago

chetryan commented 1 year ago

Enhancement summary

At the moment the cv_tags_v3 module will always return changed=true even if all the CloudVision tags existed. It does not detect wether the tags were all present and no changes had to be done.

Which component of AVD is impacted

cv_task_v3

Use case example

When we are applying the tags for a whole fabric, it would be helpful to track whether changes were actually applied to cloudvision or else if tags were already present. This would help with troubleshooting playbooks and give visibility of the scale of changes that have happened to cloudvision.

Describe the solution you'd like

Ideally the changed=true would only be returned if new tags have been applied to cloudvision or if existing tags have been changed in value.

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days

sugetha24 commented 6 months ago

This would need the ability to read tags from CVP using cv_tags_v3. linked to issue #556