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

Network manager netplan implementation #386

Conversation

dorileo
Copy link
Member

@dorileo dorileo commented Apr 15, 2024

No description provided.

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dorileo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dorileo dorileo force-pushed the network-manager-netplan-implementation branch 2 times, most recently from 1399215 to 208b30b Compare April 15, 2024 21:29
@dorileo dorileo requested review from ChaitanyaKulkarni28 and drewhli and removed request for drewhli April 15, 2024 21:37
google_guest_agent/network/manager/common.go Outdated Show resolved Hide resolved
google_guest_agent/network/manager/manager.go Outdated Show resolved Hide resolved
google_guest_agent/network/manager/manager_test.go Outdated Show resolved Hide resolved
google_guest_agent/network/manager/netplan_linux.go Outdated Show resolved Hide resolved
google_guest_agent/network/manager/netplan_linux.go Outdated Show resolved Hide resolved
google_guest_agent/network/manager/netplan_linux.go Outdated Show resolved Hide resolved
google_guest_agent/network/manager/netplan_linux.go Outdated Show resolved Hide resolved
google_guest_agent/network/manager/netplan_linux.go Outdated Show resolved Hide resolved
@dorileo dorileo force-pushed the network-manager-netplan-implementation branch from 208b30b to 2555302 Compare April 16, 2024 16:02
@dorileo
Copy link
Member Author

dorileo commented Apr 16, 2024

/hold

@dorileo dorileo force-pushed the network-manager-netplan-implementation branch from 2555302 to 54358e4 Compare April 16, 2024 21:18
@dorileo
Copy link
Member Author

dorileo commented Apr 16, 2024

/retest

@dorileo dorileo force-pushed the network-manager-netplan-implementation branch 3 times, most recently from 9201903 to a6f15b7 Compare April 23, 2024 20:59
@dorileo
Copy link
Member Author

dorileo commented Apr 23, 2024

/retest

@dorileo dorileo force-pushed the network-manager-netplan-implementation branch from a6f15b7 to 654f02c Compare April 23, 2024 22:24
dorileo added 7 commits May 21, 2024 23:34
We have a use case of systemd-networkd + netplan managed configuration.
This change allows us to chain more than one network manager when
required. The rollback strategy has changed as well to apply the
following semantics: select all managers that apply to the running
system and rollback all the others that don't apply.

The rollback procedures were adjusted to avoid failing whenever a
configuration is not present.
Considering now that the logic of Rollback() calls has changed to be
called to all the non active network managers the interface
implementation is changing to not report error if the configuration
is not found - or the pre condition is not met.
For systems running systemd-networkd alongside with netplan will
have their configuration managed by netplan instead, we keep
installing the .network and .netdev files as netplan can be removed.
Since we've had already released a version with the old section
definition we should keep honoring it.
@dorileo dorileo force-pushed the network-manager-netplan-implementation branch from 654f02c to 9bc78df Compare May 21, 2024 23:47
@dorileo
Copy link
Member Author

dorileo commented May 21, 2024

/unhold

@ChaitanyaKulkarni28
Copy link
Member

/lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants