Skip to content

Commit

Permalink
Remove verbose feature missing logs (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored Mar 29, 2019
1 parent a559828 commit 26f0495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/sonic_ax_impl/mibs/ietf/rfc1213.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ def get_counter(self, sub_id, table_name):

if oid in self.mgmt_oid_name_map:
# TODO: mgmt counters not available through SNMP right now
# COUNTERS DB does not have suppot for generic linux (mgmt) interface counters
mibs.logger.warning('management interface counters not available through SNMP right now')
# COUNTERS DB does not have support for generic linux (mgmt) interface counters
return 0
elif oid in self.oid_lag_name_map:
counter_value = 0
Expand Down
3 changes: 1 addition & 2 deletions src/sonic_ax_impl/mibs/ietf/rfc2863.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ def _get_counter(self, oid, table_name, mask):

if oid in self.mgmt_oid_name_map:
# TODO: mgmt counters not available through SNMP right now
# COUNTERS DB does not have suppot for generic linux (mgmt) interface counters
mibs.logger.warning('management interface counters not available through SNMP right now')
# COUNTERS DB does not have support for generic linux (mgmt) interface counters
return 0

if oid in self.oid_lag_name_map:
Expand Down

0 comments on commit 26f0495

Please sign in to comment.