diff --git a/README.md b/README.md index 6983b100a15ede1da621163016b59348885a8604..7f46d961045f530f390fe9d338822226692f24c6 100644 --- a/README.md +++ b/README.md @@ -256,6 +256,32 @@ Any non-empty responses are JSON formatted messages. This resource updates data that should only be refreshed in case of system restart. + +* /jobs/update-interfaces-to-services + + This resource updates the information that lists all the services for + interfaces found in the external inventory system + +* /jobs/update-service-hierarchy + + This resource updates all the information showing which services are related + to one-another + +* /jobs/update-equipment-locations + + This resource loads the location information for all the equipment from the + external inventory system + +* /jobs/update-from-inventory-system + + This resource updates the inventory data from the external inventory system, + it is a short cut for executing the above three jobs + +* /jobs/update-interface-statuses + + This resource updates the last known statuses of all interfaces extracted + from the external inventory system, status information is retrieved from the + alarms database * /classifier/infinera-dna-addresses, /classifier/juniper-server-addresses diff --git a/inventory_provider/routes/jobs.py b/inventory_provider/routes/jobs.py index 25954f2b93df1eef33bb70e53c72649f81ec400b..7ca93f20107845302d2fad0c3084ae95670bcacd 100644 --- a/inventory_provider/routes/jobs.py +++ b/inventory_provider/routes/jobs.py @@ -69,8 +69,6 @@ def update_equipment_locations(): @routes.route("update-from-inventory-system", methods=['GET']) def update_from_inventory_system(): - app.send_task( - 'inventory_provider.tasks.worker.update_service_to_monitor') app.send_task( 'inventory_provider.tasks.worker.update_interfaces_to_services') app.send_task('inventory_provider.tasks.worker.update_circuit_hierarchy')