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

Remove deprecated instance config option limits.network.priority #12735

Merged
merged 6 commits into from
Jan 18, 2024

Conversation

MusicDin
Copy link
Member

Fixes #12419

…iority

Signed-off-by: Din Music <din.music@canonical.com>
…k device

Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
…r keys

Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
@github-actions github-actions bot added the Documentation Documentation needs updating label Jan 17, 2024
success := false
var lastError error
for _, netif := range netifs {
err = cg.SetNetIfPrio(fmt.Sprintf("%s %d", netif.Name, networkInt))
Copy link
Member

Choose a reason for hiding this comment

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

Do we also need to remove this function?

Copy link
Member Author

Choose a reason for hiding this comment

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

Do you mean cg.SetNetIfPrio? I've removed it because it was no longer in use

Copy link
Member

Choose a reason for hiding this comment

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

So you have, i missed it, sorry.

@tomponline tomponline merged commit 7803112 into canonical:main Jan 18, 2024
26 checks passed
@MusicDin MusicDin deleted the depr/limits-network-priority branch January 18, 2024 09:13
simondeziel added a commit to simondeziel/lxd-ci that referenced this pull request Feb 27, 2024
Support for this was removed in canonical/lxd#12735
to address canonical/lxd#12419

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
simondeziel added a commit to simondeziel/lxd-ci that referenced this pull request Feb 27, 2024
Support for this was removed in canonical/lxd#12735
to address canonical/lxd#12419

`limits.network.priority` was replace with a per-NIC `limits.priority` that's compatble with cgroup1 and cgroup2 but that's already tested in tests/network-bridge-firewall.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove deprecated limits.network.priority setting
2 participants