Skip to content

Commit

Permalink
Update Cisco_To_Json.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GuitarSoul authored Apr 26, 2022
1 parent be0ef10 commit 735f4d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cisco_To_Json.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,8 @@ def hsrp_parse():
'ACTIVE_IP': virtual_interface['ACTIVE'],
'STANDBY_IP': virtual_interface['STANDBY']}
virtual_ip_list.append(virtual_ip)
parse_check_list.append(f'{device["ip"]}: hsrp +')
parse_check_list.append(f'{device["ip"]}: hsrp +')
if virtual_ip_list:
return virtual_ip_list
except:
print('SOMETHING WENT WRONG PARSING HSRP DATA'.center(200, '!'))
Expand Down

0 comments on commit 735f4d1

Please sign in to comment.