Skip to content

executor: add a timeout to discover_data

Ana Guerrero requested to merge (removed):discover_timer into master

Add a timeout to the discovery process that erases the discovery_data in case no machine shows up. This time is 150 sec by default, this can be overriden for the user:

curl -X POST HOST/api/v1/machine/discover \
    -H 'Content-Type: application/json' \
    -d '{"pdu": "VPDU", "port_id": '0', "timer": 60}'

Merge request reports

Loading