def _snmp_get(self, snmp_client, oid): try: snmp_response = snmp_client.get(oid) except Exception as e: LOG.error(_LE("Error in get response '%s' "), e) return None return snmp_response
def _snmp_get(self, snmp_client, oid): try: snmp_response = snmp_client.get(oid) LOG.debug(" snmp_response %s ", snmp_response) except Exception as e: LOG.error(_LE("Error in get response '%s' "), e) return str(e) return snmp_response