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

Adds branch ENI config to non-firecracker platforms #4436

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

JoseVillalta
Copy link
Contributor

Summary

Refactor to allow branch ENIs to run on all platform types.

Implementation details

Previous version of the netlib had Branch-ENI configuration setup to work only on firecracker. Namely, in FC the task netns was connected to the vlan interface via a TAP connected to the microVM.
In non-FC instances, task ns need a way to communicate with TMDS. FC had MMDS binary running inside the microVM. In non-FC instances we create a bridge that routes packets to the primary netns where TMDS is running.

This PR has the review findings from this PR #4430
but I messed up the git commit history when I rebased to squash non-contiguous commits.

Testing

  • unit test
  • functional test
  • ad hoc test

New tests cover the changes:

Yes

Description for the changelog

Enhancement: Refactors Branch ENI configuration to support all platform types.

Additional Information

Does this PR include breaking model changes? If so, Have you added transformation functions?

No
Does this PR include the addition of new environment variables in the README?

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@JoseVillalta JoseVillalta merged commit 88f3256 into aws:dev Nov 22, 2024
40 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.

4 participants