Skip to content

Commit

Permalink
[ieee802_1ab]: This message is not needed as the device could be isol…
Browse files Browse the repository at this point in the history
…ated (sonic-net#52)

The LLDP_ENTRY_TABLE could be empty when there is no neighbor at all.
It shall not be treated as a warning.
  • Loading branch information
Shuotian Cheng authored Apr 27, 2018
1 parent a03f779 commit 2cf9689
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sonic_ax_impl/mibs/ieee802_1ab.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def update_data(self):
"""
Subclass update data routine. Updates available LLDP counters.
"""

# establish connection to application database.
self.db_conn.connect(mibs.APPL_DB)

Expand All @@ -78,8 +77,6 @@ def update_data(self):
continue
self.if_range.append((if_oid, ))
self.lldp_counters.update({if_name: lldp_kvs})
if not self.lldp_counters:
logger.warning("0 - b'LLDP_ENTRY_TABLE' is empty. No LLDP information could be retrieved.")
self.if_range.sort()

def local_port_id(self, sub_id):
Expand Down

0 comments on commit 2cf9689

Please sign in to comment.