Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Updated fix for the get device tags function #164

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

Eric-Jckson
Copy link
Contributor

This PR is to fix the issue with retrieving tags with tag.v2. Arista support confirmed that the path TagAssignmentConfigService will only return user-assigned tags and will not return system-assigned device tags. I have swapped this to use the path TagAssignmentService.

workspace_id is the ID of a workspace. The special ID "" identifies the location where merged assignments reside.

From the documentation

TagAssignment holds a merge-preview or the existing merged state (if the workspace ID is “”) of an assignment between a tag and a network element.

https://aristanetworks.github.io/cloudvision-apis/models/tag.v2/#arista.tag.v2.TagAssignmentService

@Eric-Jckson Eric-Jckson requested a review from qduk as a code owner August 15, 2023 19:53
Copy link
Contributor

@qduk qduk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants