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

cast nokia snmp indes to int RE. DBOARD3-937

parent 8d223fec
Branches
Tags
No related merge requests found
...@@ -248,7 +248,7 @@ def _link_interface_info(r, hostname, interface): ...@@ -248,7 +248,7 @@ def _link_interface_info(r, hostname, interface):
if snmp_info: if snmp_info:
snmp_info = json.loads(snmp_info.decode('utf-8')) snmp_info = json.loads(snmp_info.decode('utf-8'))
ifc_info['snmp'] = { ifc_info['snmp'] = {
'index': snmp_info['index'] 'index': int(snmp_info['index'])
} }
if 'communities' in snmp_info: if 'communities' in snmp_info:
ifc_info['snmp']['community'] = snmp_info['communities']['dashboard'] ifc_info['snmp']['community'] = snmp_info['communities']['dashboard']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment