Skip to content

Feat/ovn bandwidth limit#2709

Closed
DarkressX wants to merge 18 commits intolxc:mainfrom
eoscloud:feat/ovn-bandwidth-limit
Closed

Feat/ovn bandwidth limit#2709
DarkressX wants to merge 18 commits intolxc:mainfrom
eoscloud:feat/ovn-bandwidth-limit

Conversation

@DarkressX
Copy link
Copy Markdown
Contributor

@DarkressX DarkressX commented Nov 27, 2025

This PR resolves #2654
This PR implements the creation of ingress and egress bandwidth limits on an instance level.
These limits are converted to ovn compatible QoS rules.

I decided to make the limits.ingress and limits.egress config mutually exclusive with limits.max, as I think it could be confusing for users, as they would be unsure which limit is actually being set if both configuration options are given.

Unfortunately we cannot only store them in the ovn northbound db, as individual qos rules can only be reliably deleted by their UUID, which we need to store somewhere.

Signed-off-by: Leon Schoch <[email protected]>
…s to switch and remove them on instance shutdown

Signed-off-by: Leon Schoch <[email protected]>
…ntries."

This reverts commit 08fe130.

Signed-off-by: Leon Schoch <[email protected]>
@DarkressX DarkressX force-pushed the feat/ovn-bandwidth-limit branch from 52844c0 to 648461c Compare November 27, 2025 21:11
@github-actions github-actions bot added the Documentation Documentation needs updating label Nov 27, 2025
@DarkressX DarkressX marked this pull request as ready for review November 28, 2025 09:07
@DarkressX DarkressX requested a review from stgraber as a code owner November 28, 2025 09:07
@stgraber
Copy link
Copy Markdown
Member

Thanks, that looks very good!

It's very late here but I should be able to do some tidying up of the branch and merge that tomorrow before Incus 6.19.

@DarkressX
Copy link
Copy Markdown
Contributor Author

No worries :)

@stgraber
Copy link
Copy Markdown
Member

Looking into this one now

@stgraber
Copy link
Copy Markdown
Member

Ah right, you're using an org account so I can't easily do in-place rebase/tweaks.

I'll pull the commits into one of my branches, then do the tweaks there and close this PR once mine is up.

@DarkressX
Copy link
Copy Markdown
Contributor Author

Ah sorry, I wasn't aware of that limitation. I can rebase it too if thats easier :)

@stgraber
Copy link
Copy Markdown
Member

I opened #2711 which has effectively identical code except for the extra API extension commit, rebased content and slightly tweaked commit descriptions.

@stgraber stgraber closed this Nov 28, 2025
@DarkressX DarkressX deleted the feat/ovn-bandwidth-limit branch November 30, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation needs updating

Development

Successfully merging this pull request may close these issues.

Bandwidth limits on instances attached to OVN network

2 participants