-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Change the global configuration vm.network.throttling.rate to be dynamic
#12567
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -112,6 +112,9 @@ public interface NetworkOrchestrationService { | |
| ConfigKey<Boolean> NSX_ENABLED = new ConfigKey<>(Boolean.class, "nsx.plugin.enable", "Advanced", "false", | ||
| "Indicates whether to enable the NSX plugin", false, ConfigKey.Scope.Zone, null); | ||
|
|
||
| ConfigKey<Integer> VmNetworkThrottlingRate = new ConfigKey<Integer>("Network", Integer.class, "vm.network.throttling.rate", "200", | ||
| "Default data transfer rate in megabits per second allowed in User vm's default network.", true); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. NetworkThrottlingRate is a zone-level configuration, this could be zone-level too |
||
|
|
||
| ConfigKey<Boolean> NETRIS_ENABLED = new ConfigKey<>(Boolean.class, "netris.plugin.enable", "Advanced", "false", | ||
| "Indicates whether to enable the Netris plugin", false, ConfigKey.Scope.Zone, null); | ||
| ConfigKey<Integer> NETWORK_LB_HAPROXY_MAX_CONN = new ConfigKey<>( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4957,7 +4957,6 @@ public ConfigKey<?>[] getConfigKeys() { | |
| return new ConfigKey<?>[]{NetworkGcWait, NetworkGcInterval, NetworkLockTimeout, DeniedRoutes, | ||
| GuestDomainSuffix, NetworkThrottlingRate, MinVRVersion, | ||
| PromiscuousMode, MacAddressChanges, ForgedTransmits, MacLearning, RollingRestartEnabled, | ||
| TUNGSTEN_ENABLED, NSX_ENABLED, NETRIS_ENABLED, NETWORK_LB_HAPROXY_MAX_CONN, | ||
| NETWORK_LB_HAPROXY_IDLE_TIMEOUT}; | ||
| TUNGSTEN_ENABLED, NSX_ENABLED, NETRIS_ENABLED, NETWORK_LB_HAPROXY_MAX_CONN, VmNetworkThrottlingRate}; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe move after
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, understood. I'll try to extend this feature to the zone level as required.
Comment on lines
4957
to
+4960
|
||
| } | ||
| } | ||
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.
maybe extent to a zone-level setting ?
similar to
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.
Sure, I'll check this suggestion as well.