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

Fix/Revamp network-for-clones documentation #4848

Merged
merged 3 commits into from
Oct 14, 2024

Conversation

pb8o
Copy link
Contributor

@pb8o pb8o commented Oct 14, 2024

Changes

  • Reflect that the doc is just an example.
  • Fix the doc so that it works.
  • Split the ingress setup as that is a specific requirement that may not always be required, and complicates the implementation.
  • Also simplify the test framework helpers since on revisiting some of the iptables rules were not needed.

Reason

Address the discussion in #4720

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.

@pb8o pb8o added Priority: Low Indicates that an issue or pull request should be resolved behind issues or pull requests labelled ` Type: Documentation Indicates a need for improvements or additions to documentation labels Oct 14, 2024
@pb8o pb8o self-assigned this Oct 14, 2024
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.01%. Comparing base (aa0dca9) to head (7a5d938).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4848   +/-   ##
=======================================
  Coverage   84.01%   84.01%           
=======================================
  Files         251      251           
  Lines       28019    28019           
=======================================
  Hits        23541    23541           
  Misses       4478     4478           
Flag Coverage Δ
5.10-c5n.metal 84.64% <ø> (ø)
5.10-m5n.metal 84.62% <ø> (ø)
5.10-m6a.metal 83.92% <ø> (ø)
5.10-m6g.metal 80.62% <ø> (ø)
5.10-m6i.metal 84.61% <ø> (-0.01%) ⬇️
5.10-m7g.metal 80.62% <ø> (ø)
6.1-c5n.metal 84.64% <ø> (ø)
6.1-m5n.metal 84.63% <ø> (+<0.01%) ⬆️
6.1-m6a.metal 83.92% <ø> (ø)
6.1-m6g.metal 80.62% <ø> (ø)
6.1-m6i.metal 84.61% <ø> (-0.01%) ⬇️
6.1-m7g.metal 80.62% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pb8o pb8o force-pushed the fix-network-clones branch 3 times, most recently from 5dca274 to 3e25bc3 Compare October 14, 2024 14:23
@pb8o pb8o added the Status: Awaiting author Indicates that an issue or pull request requires author action label Oct 14, 2024
@pb8o pb8o force-pushed the fix-network-clones branch from 3e25bc3 to 67110d7 Compare October 14, 2024 14:33
pb8o added 3 commits October 14, 2024 16:38
There's also some more packages that are required since the devctr
upgrade to Ubuntu 24.04.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
validate_spec is deprecated

      DeprecationWarning: validate_spec shortcut is deprecated.
      Use validate instead.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Address the discussion in
firecracker-microvm#4720

- Reflect that the doc is just an example.
- Fix the doc so that it works.
- Split the ingress setup as that is a specific requirement that may not
  always be required, and complicates the implementation.
- Also simplify the test framework helpers since on revisiting some of
  the iptables rules were not needed.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
@pb8o pb8o force-pushed the fix-network-clones branch from 67110d7 to 7a5d938 Compare October 14, 2024 14:38
@pb8o pb8o added Status: Awaiting review Indicates that a pull request is ready to be reviewed and removed Status: Awaiting author Indicates that an issue or pull request requires author action labels Oct 14, 2024
Copy link
Contributor

@kalyazin kalyazin left a comment

Choose a reason for hiding this comment

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

+1 to Riccardo's question.

@pb8o pb8o merged commit 82eec3e into firecracker-microvm:main Oct 14, 2024
8 checks passed
@pb8o pb8o deleted the fix-network-clones branch October 14, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Indicates that an issue or pull request should be resolved behind issues or pull requests labelled ` 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