Lior Vernia has uploaded a new change for review. Change subject: core: Add MaxHostNetworkQosShares configuration value ......................................................................
core: Add MaxHostNetworkQosShares configuration value This will be used to determine the maximum number of allowed shares given to a specific network - this will be used to set the granularity/resolution of traffic prioritization by network. Change-Id: Idfd8df78fd8a06b5e73d1a66f12897d423cdcfe0 Signed-off-by: Lior Vernia <[email protected]> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql M packaging/etc/engine-config/engine-config.properties 4 files changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/62/34762/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java index ac2a138..d938b9b 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java @@ -1567,6 +1567,10 @@ MaxBurstNetworkQoSValue, @TypeConverterAttribute(Integer.class) + @DefaultValueAttribute("100") + MaxHostNetworkQosShares, + + @TypeConverterAttribute(Integer.class) @DefaultValueAttribute("10") QoSInboundAverageDefaultValue, diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java index eb4b98e..82086ea 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java @@ -108,6 +108,7 @@ MaxAverageNetworkQoSValue, MaxPeakNetworkQoSValue, MaxBurstNetworkQoSValue, + MaxHostNetworkQosShares, UserMessageOfTheDay(ConfigAuthType.User), QoSInboundAverageDefaultValue, QoSInboundPeakDefaultValue, diff --git a/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql b/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql index ca67bec..7719bbb 100644 --- a/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql +++ b/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql @@ -787,6 +787,7 @@ select fn_db_add_config_value('MaxAverageNetworkQoSValue','1024','general'); select fn_db_add_config_value('MaxPeakNetworkQoSValue','2048','general'); select fn_db_add_config_value('MaxBurstNetworkQoSValue','10240','general'); +select fn_db_add_config_value('MaxHostNetworkQosShares', '100', 'general'); select fn_db_add_config_value('UserMessageOfTheDay','','general'); select fn_db_add_config_value('QoSInboundAverageDefaultValue','10','general'); select fn_db_add_config_value('QoSInboundPeakDefaultValue','10','general'); diff --git a/packaging/etc/engine-config/engine-config.properties b/packaging/etc/engine-config/engine-config.properties index 7da4254..6e94968 100644 --- a/packaging/etc/engine-config/engine-config.properties +++ b/packaging/etc/engine-config/engine-config.properties @@ -316,6 +316,8 @@ MaxPeakNetworkQoSValue.type=Integer MaxBurstNetworkQoSValue.description="Maximum value for Burst Networks QoS (Mb)" MaxBurstNetworkQoSValue.type=Integer +MaxHostNetworkQosShares.description="Maximum number of shares for Host Network QoS (1-100)" +MaxHostNetworkQosShares.type=Integer AverageToPeakRatio.description="Ratio between the Average and the automatically suggested value of Peak in Network QoS UI" AverageToPeakRatio.type=Double AverageToBurstRatio.description="Ratio between the Average and the automatically suggested value of Burst in Network QoS UI" -- To view, visit http://gerrit.ovirt.org/34762 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idfd8df78fd8a06b5e73d1a66f12897d423cdcfe0 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Lior Vernia <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
