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

reordered tasks

parent fd64d952
No related branches found
No related tags found
No related merge requests found
......@@ -46,10 +46,9 @@ def launch_refresh_cache_all(config):
# first batch of subtasks: refresh cached IMS data
subtasks = [
update_neteng_managed_device_list.apply_async(),
update_circuit_hierarchy_ims.apply_async(),
update_equipment_locations_ims.apply_async(),
update_lg_routers_ims.apply_async(),
update_fibre_spans_ims.apply_async(),
update_interfaces_to_port_ids_ims.apply_async(),
update_port_ids_to_services_ims.apply_async(),
]
[x.get() for x in subtasks]
......@@ -73,8 +72,9 @@ def internal_refresh_phase_2_ims(self):
try:
subtasks = [
update_equipment_locations_ims.apply_async(),
update_lg_routers_ims.apply_async(),
update_circuit_hierarchy_ims.apply_async(),
update_interfaces_to_port_ids_ims.apply_async(),
update_port_ids_to_services_ims.apply_async(),
import_unmanaged_interfaces.apply_async()
]
for hostname in data.derive_router_hostnames(InventoryTask.config):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment