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

Create and use bridge #2078

Merged
merged 22 commits into from
May 6, 2021
Merged

Create and use bridge #2078

merged 22 commits into from
May 6, 2021

Conversation

ricab
Copy link
Collaborator

@ricab ricab commented Apr 29, 2021

Creates bridges if needed, uses existing otherwise.

@ricab ricab force-pushed the create-use-bridge branch from 5ade844 to 6699815 Compare April 29, 2021 15:23
@codecov
Copy link

codecov bot commented Apr 29, 2021

Codecov Report

Merging #2078 (a21957d) into main (68cfac3) will increase coverage by 1.43%.
The diff coverage is 72.72%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2078      +/-   ##
==========================================
+ Coverage   80.09%   81.52%   +1.43%     
==========================================
  Files         179      184       +5     
  Lines        9148     9392     +244     
==========================================
+ Hits         7327     7657     +330     
+ Misses       1821     1735      -86     
Impacted Files Coverage Δ
include/multipass/network_interface_info.h 0.00% <0.00%> (ø)
include/multipass/virtual_machine_factory.h 100.00% <ø> (ø)
src/daemon/daemon.cpp 54.17% <ø> (+5.32%) ⬆️
...latform/backends/lxd/lxd_virtual_machine_factory.h 100.00% <ø> (ø)
...tform/backends/lxd/lxd_virtual_machine_factory.cpp 87.83% <18.18%> (-12.17%) ⬇️
...orm/backends/shared/base_virtual_machine_factory.h 100.00% <100.00%> (ø)
...c/platform/backends/shared/linux/backend_utils.cpp 88.81% <100.00%> (+0.14%) ⬆️
src/platform/platform_linux.cpp 89.07% <100.00%> (+1.69%) ⬆️
include/multipass/platform.h 100.00% <0.00%> (ø)
src/client/cli/cmd/animated_spinner.cpp 100.00% <0.00%> (ø)
... and 20 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68cfac3...a21957d. Read the comment docs.

@ricab ricab force-pushed the create-use-bridge branch from 6699815 to cfaac36 Compare April 30, 2021 19:09
@ricab
Copy link
Collaborator Author

ricab commented May 4, 2021

Done, apart from tests.

@Saviq
Copy link
Collaborator

Saviq commented May 6, 2021

w00t.

bors merge

bors bot added a commit that referenced this pull request May 6, 2021
2078: Create and use bridge r=Saviq a=ricab

Creates bridges if needed, uses existing otherwise.

Co-authored-by: Ricardo Abreu <ricab@ricabhome.org>
@ricab
Copy link
Collaborator Author

ricab commented May 6, 2021

bors cancel

@bors
Copy link
Contributor

bors bot commented May 6, 2021

Canceled.

Add comment explaining the reason for the empty implementation of
`BaseVirtualMachineFactory::prepare_networking`
@ricab
Copy link
Collaborator Author

ricab commented May 6, 2021

Let's see if this works after cancel.

bors retry

@ricab
Copy link
Collaborator Author

ricab commented May 6, 2021

Doesn't look like it.

bors r=Saviq

bors bot added a commit that referenced this pull request May 6, 2021
2078: Create and use bridge r=Saviq a=ricab

Creates bridges if needed, uses existing otherwise.

Co-authored-by: Ricardo Abreu <ricab@ricabhome.org>
@ricab
Copy link
Collaborator Author

ricab commented May 6, 2021

bors cancel

@bors
Copy link
Contributor

bors bot commented May 6, 2021

Canceled.

@ricab
Copy link
Collaborator Author

ricab commented May 6, 2021

alright, lets go again

bors r=Saviq

@bors
Copy link
Contributor

bors bot commented May 6, 2021

@bors bors bot merged commit ec69b13 into main May 6, 2021
@bors bors bot deleted the create-use-bridge branch May 6, 2021 14:07
@Saviq Saviq added this to the v1.7.0 milestone Jun 23, 2021
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