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

Improve network-setup with nft support and further instructions. #4922

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

kanpov
Copy link
Contributor

@kanpov kanpov commented Nov 20, 2024

Changes

network-for-clones is not changed in this PR since it's a whole another can of worms I'd like to deal with later.
These changes are to network-setup:

  • Migrate to nftables

  • Improve the documentation itself to convert it from a rather basic getting started guide to something more usable in the real world:

  • Multiple guests section

  • Guest kernel configuration at kernel level section (ip kernel boot arg)

Reason

Fulfills #4874

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.

PR Checklist

  • If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this
    PR.
  • API changes follow the Runbook for Firecracker API changes.
  • User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • New TODOs link to an issue.
  • Commits meet
    contribution quality standards.

  • This functionality cannot be added in rust-vmm.

@kanpov
Copy link
Contributor Author

kanpov commented Nov 20, 2024

Had to remake the PR due to a problem during squashing, unfortunately. All the changes remain the same and I ran devtool fmt and devtool checkstyle.

@pb8o pb8o self-assigned this Nov 20, 2024
@pb8o pb8o added Type: Documentation Indicates a need for improvements or additions to documentation Status: Awaiting review Indicates that a pull request is ready to be reviewed labels Nov 20, 2024
Copy link
Contributor

@pb8o pb8o left a comment

Choose a reason for hiding this comment

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

It looks like one line in the commit body is too long Could you git commit --amend it? And then git push --force

@kanpov
Copy link
Contributor Author

kanpov commented Nov 21, 2024

Done (hopefully).

@kanpov
Copy link
Contributor Author

kanpov commented Nov 21, 2024

These checkstyle rules are properly annoying...

- Support for multiple guests
- Kernel network configuration using boot arg

Signed-off-by: kanpov <[email protected]>
@pb8o pb8o merged commit f2ef491 into firecracker-microvm:main Nov 21, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting review Indicates that a pull request is ready to be reviewed Type: Documentation Indicates a need for improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants