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

Add Firecracker platform implementation in netlib #4038

Merged
merged 3 commits into from
Nov 21, 2023
Merged

Conversation

samjkon
Copy link
Contributor

@samjkon samjkon commented Nov 20, 2023

Summary

This change adds firecracker platform implementation to the netlib package. Specifically this
change includes the task network model creation for Firecracker tasks.
The logic to configure interfaces will follow in subsequent PRs.

Implementation details

Added firecracker_linux.go file to hold firecracker implementation of the platform APIs.
Made minor modifications in the BuildTaskNetworkConfiguration workflow to incorporate
firecracker model creation.
Added test case to validate firecracker model creation.

Testing

go test -tags unit ./ecs-agent/...
go test -tags unit ./agent/...

New tests cover the changes: Yes

Description for the changelog

Add Firecracker platform implementation in netlib
Does this PR include breaking model changes? If so, Have you added transformation functions?

No

Licensing

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

This change adds firecracker platform implementation. Specifically this
change includes the task network model creation for Firecracker tasks.
The logic to configure interfaces will follow in subsequent PRs.
@samjkon samjkon requested a review from a team as a code owner November 20, 2023 17:56
Copy link
Contributor

@xxx0624 xxx0624 left a comment

Choose a reason for hiding this comment

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

LGTM!

@samjkon samjkon merged commit 86a0ff3 into aws:dev Nov 21, 2023
36 checks passed
@samjkon samjkon deleted the fcnet branch November 21, 2023 18:18
@danehlim danehlim mentioned this pull request Dec 4, 2023
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