Skip to content

Commit 022d8fb

Browse files
authored
Revert "read portchannel name from LAG_NAME_MAP_TABLE in COUNTERS_DB (sonic-net#51)" (sonic-net#57)
This reverts commit 21ebca9.
1 parent 21ebca9 commit 022d8fb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/swsssdk/port_util.py

-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ def get_interface_oid_map(db):
4949
"""
5050
db.connect('COUNTERS_DB')
5151
if_name_map = db.get_all('COUNTERS_DB', 'COUNTERS_PORT_NAME_MAP', blocking=True)
52-
if_lag_name_map = db.get_all('COUNTERS_DB', 'COUNTERS_LAG_NAME_MAP', blocking=True)
53-
if_name_map.update(if_lag_name_map)
54-
5552
oid_pfx = len("oid:0x")
5653
if_name_map = {if_name: sai_oid[oid_pfx:] for if_name, sai_oid in if_name_map.items()}
5754

0 commit comments

Comments
 (0)