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

Utilizing "data_path:metadata.platform" to dynamically generate platform entry tags as part of cv_tags for the devices. #5140

Open
1 task done
Spandanaarista opened this issue Mar 7, 2025 · 0 comments
Labels
type: enhancement New feature or request

Comments

@Spandanaarista
Copy link

Enhancement summary

Leveraging structured_config to dynamically generate tag entries is highly beneficial. However, I'm wondering if we can incorporate the platform into it as well. Currently, the following configuration is not working as expected:

generate_cv_tags:
device_tags:
- name: hardware
data_path: metadata.platform

Which component of AVD is impacted

eos_designs

Use case example

Pushing user tags from AVD to CVP for use in "Software Management Studio" can leverage dynamic fields instead of manually creating everything. The platform tag, in particular, can be highly useful for distinguishing between 32-bit and 64-bit platforms.

Describe the solution you would like

As @ClausHolbechArista , mentioned : The metadata is created after/around the logic that creates the cv_tags, so we cannot read the metadata here since it is not created yet. We could look into modifying the ordering to generate the tags after all the other metadata.

Describe alternatives you have considered

Creating user tags for all hosts by manually adding them.

Additional context

@ClausHolbechArista

Contributing Guide

  • I agree to follow this project's Code of Conduct
@Spandanaarista Spandanaarista added the type: enhancement New feature or request label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant