Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix vm network throttling rate #10109

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
Loading
from

Conversation

iishitahere
Copy link

This PR addresses the issue with the vm.network.throttling.rate configuration in the cloud.configuration table. The change includes the addition of a default value for the vm.network.throttling.rate parameter, which defines the default data transfer rate in megabits per second allowed in user VM's default network.

Added a new configuration entry:
Name: vm.network.throttling.rate
Value: 200 (Default data transfer rate)
Description: Default data transfer rate in megabits per second allowed in user VM's default network.
This PR also removes the previous guest.ip.network and guest.netmask configuration entries, as per the requirements.

Changes made:

Inserted a new entry into the cloud.configuration table for the vm.network.throttling.rate.
Deleted old configuration entries guest.ip.network and guest.netmask.
Updated necessary code references.
Note: A new branch has been created (fix-vm-network-throttling-rate) to reflect these changes.

@@ -120,4 +126,8 @@ public void setVirtualSwitchName(String vSwitchName) {
public void setVirtualSwitchType(VirtualSwitchType vSwitchType) {
_vSwitchType = vSwitchType;
}

// Getter to ensure traffic shaping consistency across all NICs
Copy link
Member

Choose a reason for hiding this comment

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

Where and how is your variable used, at all?

Copy link
Author

@iishitahere iishitahere Jan 1, 2025

Choose a reason for hiding this comment

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

Where and how is your variable used, at all?

Hi @rohityadavcloud ,

I hope you’re doing well. I wanted to inform you that I will be working on my PR again, as I’ve encountered some issues related to the changes made. Specifically, I am addressing the problem with the vm.network.throttling.rate configuration in the cloud.configuration table.

Best regards,
Ishita

Copy link

codecov bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 4.02%. Comparing base (54bc150) to head (befe864).
Report is 31 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (54bc150) and HEAD (befe864). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (54bc150) HEAD (befe864)
unittests 1 0
Additional details and impacted files
@@              Coverage Diff              @@
##               main   #10109       +/-   ##
=============================================
- Coverage     16.06%    4.02%   -12.05%     
=============================================
  Files          5642      394     -5248     
  Lines        493856    32361   -461495     
  Branches      59860     5713    -54147     
=============================================
- Hits          79324     1301    -78023     
+ Misses       405749    30912   -374837     
+ Partials       8783      148     -8635     
Flag Coverage Δ
uitests 4.02% <ø> (ø)
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sureshanaparti
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 13620

@DaanHoogland DaanHoogland force-pushed the fix-vm-network-throttling-rate branch from befe864 to cec1464 Compare June 9, 2025 13:29
@DaanHoogland DaanHoogland marked this pull request as draft June 9, 2025 13:29
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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.