Skip to content

Commit 39f1e23

Browse files
author
Shuotian Cheng
authored
[mibs]: Add oid:0x prefix to the SAI ID in counter table (sonic-net#48)
1 parent 5e00a50 commit 39f1e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sonic_ax_impl/mibs/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def counter_table(sai_id):
2020
:param if_name: given sai_id to cast.
2121
:return: COUNTERS table key.
2222
"""
23-
return b'COUNTERS:' + sai_id
23+
return b'COUNTERS:oid:0x' + sai_id
2424

2525

2626
def lldp_entry_table(if_name):

0 commit comments

Comments
 (0)