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

updated the router-peerings key space to include nokia routers. RE DBOARD3-1227

parent 5c8163ec
Branches
Tags
No related merge requests found
...@@ -878,7 +878,7 @@ def refresh_nokia_interface_list(hostname, netconf_config, redis, lab=False): ...@@ -878,7 +878,7 @@ def refresh_nokia_interface_list(hostname, netconf_config, redis, lab=False):
@log_task_entry_and_exit @log_task_entry_and_exit
def refresh_nokia_bgp_peers(hostname, netconf, redis): def refresh_nokia_bgp_peers(hostname, netconf, redis):
host_peerings = list(nokia.get_all_bgp_peers(netconf)) host_peerings = list(nokia.get_all_bgp_peers(netconf))
redis.set(f'nokia-peerings:hosts:{hostname}', json.dumps(host_peerings)) redis.set(f'router-peerings:hosts:{hostname}', json.dumps(host_peerings))
@log_task_entry_and_exit @log_task_entry_and_exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment