diff --git a/inventory_provider/tasks/ims_worker.py b/inventory_provider/tasks/ims_worker.py index 80957658a932ba068d857805d86fc238f071267c..774d435401d01de213ea9ed83e84c6ca39b6c070 100644 --- a/inventory_provider/tasks/ims_worker.py +++ b/inventory_provider/tasks/ims_worker.py @@ -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):