We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df61734 commit ee9ee14Copy full SHA for ee9ee14
src/swsssdk/port_util.py
@@ -49,6 +49,9 @@ def get_interface_oid_map(db):
49
"""
50
db.connect('COUNTERS_DB')
51
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
+
55
oid_pfx = len("oid:0x")
56
if_name_map = {if_name: sai_oid[oid_pfx:] for if_name, sai_oid in if_name_map.items()}
57
0 commit comments