Error Reason log for Activate Provision

Error Reason field is added in the switch firmware as part of Aruba Central Onboarding Feature from 16.07. Error reason log helps in debugging switch firmware for central connectivity failure.

Following table shows the list of error reasons.

Preprocessor Directive Error Reason
ACTIVATE_RESP_FAIL_CODE Activate provision fails because of invalid response received from server with status code: %s.
ACTIVATE_CURL_FAIL_CODE Device fails to reach Activate server with error: %s.
ACTIVATE_FAIL_PROV_NO_DEVICE_ENTRY Device is not registered with Activate server.
ACTIVATE_NON_TPM_CODE_MISSING EST provision with activate server fails because of invalid response received from Activate server.