Skip to content

Refactor simulated tag support#3916

Merged
tenthirtyam merged 1 commit intovmware:mainfrom
akutz:feature/sim-tag-part-deux
Nov 26, 2025
Merged

Refactor simulated tag support#3916
tenthirtyam merged 1 commit intovmware:mainfrom
akutz:feature/sim-tag-part-deux

Conversation

@akutz
Copy link
Copy Markdown
Member

@akutz akutz commented Nov 26, 2025

Description

This patch refactors how simulated tag support works. Now it is much closer to the actual behavior, with the internal helpers focused on tag IDs instead of VlsmTagEntry objects.

Additionally, the VM Reconfigure method now supports both tag ID and tag category and name.

Closes: NA

How Has This Been Tested?

Run the existing packages that depend on simulated tag support:

go test -v -count=1 ./vapi/tags
go test -v -count=1 ./simulator

Guidelines

Please read and follow the CONTRIBUTION guidelines of this project.

This patch refactors how simulated tag support works. Now it is much
closer to the actual behavior, with the internal helpers focused on
tag IDs instead of VlsmTagEntry objects.

Additionally, the VM Reconfigure method now supports both tag ID
and tag category and name.

Signed-off-by: akutz <andrew.kutz@broadcom.com>
@tenthirtyam tenthirtyam merged commit 4a6daa1 into vmware:main Nov 26, 2025
11 checks passed
Copy link
Copy Markdown

@pranshujain28 pranshujain28 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants