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

[202305] Refactor neighbor VM image downloading #14358

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

wangxin
Copy link
Collaborator

@wangxin wangxin commented Sep 2, 2024

Description of PR

Summary:
Fixes # (issue)
Manually cherry-pick #14200 to 202305 branch due to conflicts.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

The original design assumes downloading neighbor VM images from azure storage using SAS key if image file is not found on local testbed server. Since SAS key is considered as a credential, the design introduces complexity of managing SAS keys securely.

How did you do it?

This change refactored the design to download image files from simple HTTP server. URL of the image files can be specified in variable files under ansible/group_vars/vm_host.

How did you verify/test it?

Run add-topo/remove-topo, start-topo-vms/stop-topo-vms

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

What is the motivation for this PR?
The original design assumes downloading neighbor VM images from azure storage using SAS key if image file is not found on local testbed server. Since SAS key is considered as a credential, the design introduces complexity of managing SAS keys securely.

How did you do it?
This change refactored the design to download image files from simple HTTP server. URL of the image files can be specified in variable files under ansible/group_vars/vm_host.

How did you verify/test it?
Run add-topo/remove-topo, start-topo-vms/stop-topo-vms

Signed-off-by: Xin Wang <[email protected]>
@wangxin wangxin merged commit 402ef3e into sonic-net:202305 Sep 2, 2024
12 checks passed
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.

2 participants