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

VM, NIC and disk hydration #237

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

neerajdixit-msft2
Copy link

@neerajdixit-msft2 neerajdixit-msft2 commented Feb 14, 2024

This PR is part of the VM, NIC and disk hydration feature that spans the whole HCI stack:


These changes include the protobuf changes required to create a new operation HYDRATE

neerajdixit-msft2 and others added 22 commits February 14, 2024 14:15
add VM discovery protobuf changes for cloudagent
pkg/status/status.go Outdated Show resolved Hide resolved
kybeak
kybeak previously approved these changes Aug 9, 2024
@neerajdixit-msft2 neerajdixit-msft2 marked this pull request as ready for review August 9, 2024 23:28
@neerajdixit-msft2
Copy link
Author

@damanMSFT can you please review this PR? I have already addressed the previous review comments.

@neerajdixit-msft2 neerajdixit-msft2 changed the title moc protobuf change for node agent VM hydration moc protobuf change for VM hydration Aug 10, 2024
@neerajdixit-msft2
Copy link
Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

kybeak
kybeak previously approved these changes Aug 12, 2024
@mduppre mduppre changed the title moc protobuf change for VM hydration VM, NIC and disk hydration Sep 7, 2024
statuses["DownloadStatus"] = &dstate

provisionStatus := status.GetProvisioningStatus()
if provisionStatus != nil {
Copy link

Choose a reason for hiding this comment

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

We are skipping (not adding into the map) if provisionStatus== nil? Is everyone aware of status map may not contains some statuses. or should we add the empty string for provisionStatus? Same approach should apply next 4 statuses.

@@ -15,6 +15,8 @@ enum Operation {
IMPORT = 4;
EXPORT = 5;
VALIDATE = 6;
HYDRATE = 7;
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets not add properties that are not required.

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.

6 participants