-
Notifications
You must be signed in to change notification settings - Fork 929
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
Remove deprecated instance config option limits.network.priority #12735
Conversation
…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>
success := false | ||
var lastError error | ||
for _, netif := range netifs { | ||
err = cg.SetNetIfPrio(fmt.Sprintf("%s %d", netif.Name, networkInt)) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Support for this was removed in canonical/lxd#12735 to address canonical/lxd#12419 Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
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>
Fixes #12419