From 26f04959a205d6493da8e3f989ae3803338aa2d7 Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Thu, 28 Mar 2019 17:00:04 -0700 Subject: [PATCH] Remove verbose feature missing logs (#102) --- src/sonic_ax_impl/mibs/ietf/rfc1213.py | 3 +-- src/sonic_ax_impl/mibs/ietf/rfc2863.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/sonic_ax_impl/mibs/ietf/rfc1213.py b/src/sonic_ax_impl/mibs/ietf/rfc1213.py index b69fe39fc5bb..6c383e48e1c2 100644 --- a/src/sonic_ax_impl/mibs/ietf/rfc1213.py +++ b/src/sonic_ax_impl/mibs/ietf/rfc1213.py @@ -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 diff --git a/src/sonic_ax_impl/mibs/ietf/rfc2863.py b/src/sonic_ax_impl/mibs/ietf/rfc2863.py index f584bc2dc465..0da476455dd1 100644 --- a/src/sonic_ax_impl/mibs/ietf/rfc2863.py +++ b/src/sonic_ax_impl/mibs/ietf/rfc2863.py @@ -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: