Skip to content
Snippets Groups Projects
Commit 33d1ecd2 authored by Robert Latta's avatar Robert Latta
Browse files

added oids to classifier link snmp info. RE DBOARD3-1152

parent fbba09b7
No related branches found
No related tags found
No related merge requests found
......@@ -287,8 +287,8 @@ def _link_interface_info(r, hostname, interface):
ifc_info['snmp'] = {
'index': int(snmp_info['index'])
}
if 'oid' in snmp_info:
ifc_info['snmp']['oid'] = snmp_info['oid']
if 'oids' in snmp_info:
ifc_info['snmp']['oids'] = snmp_info['oids']
if 'communities' in snmp_info:
ifc_info['snmp']['community'] = snmp_info['communities']['dashboard']
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment