[enable counters] enable RIF flex counter by default (#4655)
**- Why I did it** We need RIF counters to be enabled by default. Flex Counter does probe for supported counters. If a platform does not support RIF counters, SAI will return NOT_SUPPORTED and Flex Counter will stop polling the counter. **- How to verify it** After fresh install rif counter gropup is enabled by default: $ counterpoll show Type Interval (in ms) Status -------------------- ------------------ -------- QUEUE_STAT default (10000) enable PORT_STAT default (1000) enable RIF_STAT default (1000) enable QUEUE_WATERMARK_STAT default (10000) enable PG_WATERMARK_STAT default (10000) enable Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
This commit is contained in:
parent
3e110fb0c1
commit
49a93743a4
@ -12,6 +12,7 @@ def enable_counters():
|
||||
db = swsssdk.ConfigDBConnector()
|
||||
db.connect()
|
||||
enable_counter_group(db, 'PORT')
|
||||
enable_counter_group(db, 'RIF')
|
||||
enable_counter_group(db, 'QUEUE')
|
||||
enable_counter_group(db, 'PFCWD')
|
||||
enable_counter_group(db, 'PG_WATERMARK')
|
||||
|
Loading…
Reference in New Issue
Block a user