[201911] Change RIF counters to be enabled by default (#8053)
* Change RIF counters to be enabled by default for MLNX platform
This commit is contained in:
parent
2bec3004ef
commit
c5ace6d1ea
@ -18,6 +18,8 @@ def enable_counters():
|
||||
enable_counter_group(db, 'QUEUE_WATERMARK')
|
||||
enable_counter_group(db, 'BUFFER_POOL_WATERMARK')
|
||||
enable_counter_group(db, 'PORT_BUFFER_DROP')
|
||||
if 'mlnx' in db.get_table('DEVICE_METADATA')['localhost'].get('platform'):
|
||||
enable_counter_group(db, 'RIF')
|
||||
|
||||
def get_uptime():
|
||||
with open('/proc/uptime') as fp:
|
||||
|
Loading…
Reference in New Issue
Block a user