You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CRM utility doesn't validate input value for threshold configuration. It allows configuring the following:
More than for 100% high and low thresholds
Low threshold bigger than a high threshold
Steps to reproduce the issue
Set any threshold type to "percentage" # crm config thresholds ipv4 route type percentage
Configure a high threshold with a value bigger than 100% # crm config thresholds ipv4 route high 500
Configure a low threshold with a value bigger than the high threshold: # crm config thresholds ipv4 route low 600
Describe the results you received
CRM utility allows configuring thresholds with incorrect values:
# crm show thresholds ipv4 route
Resource Name Threshold Type Low Threshold High Threshold
--------------- ---------------- --------------- ----------------
ipv4_route percentage 600 500
Describe the results you expected
CRM utility should not allow configuring thresholds with the incorrect value
Additional information you deem important (e.g. issue happens only occasionally)
Output of show version
# show version
SONiC Software Version: SONiC.master.504-9129a7bf0_Internal
SONiC OS Version: 11
Distribution: Debian 11.7
Kernel: 5.10.0-18-2-amd64
Build commit: 9129a7bf0
Build date: Sun Jul 23 07:09:02 UTC 2023
The text was updated successfully, but these errors were encountered:
Description
CRM utility doesn't validate input value for threshold configuration. It allows configuring the following:
Steps to reproduce the issue
# crm config thresholds ipv4 route type percentage
# crm config thresholds ipv4 route high 500
# crm config thresholds ipv4 route low 600
Describe the results you received
CRM utility allows configuring thresholds with incorrect values:
Describe the results you expected
CRM utility should not allow configuring thresholds with the incorrect value
Additional information you deem important (e.g. issue happens only occasionally)
Output of
show version
The text was updated successfully, but these errors were encountered: