Administrator's Guide

"catalog_id": "",
"deployed": "2014-06-18T19:22:50.890Z",
"desc": "Link Management",
"download_url": "",
"name": "Link Manager",
"product_id": "",
"sku": "",
"state": "ACTIVE",
"uid": "com.hp.sdn.ctl.linkdisco",
"vendor": "Hewlett-Packard",
"version": "2.3.5.6370"
}
]
}
A.3.2 Listing information about an application
Form
curl [options] -H "X-Auth-Token:<token>" \
https://<controller_ip>:8443/sdn/v2.0/apps/<app_id>
Example
curl -ksS -H "X-Auth-Token:3d61f0d3e61349359e6dbd82ec02c113" \
https://10.0.1.42:8443/sdn/v2.0/apps/com.hp.sdn.ctl.diag
Example output
{
"app": {
"action": "NONE",
"catalog_id": "",
"deployed": "2014-06-18T19:22:49.536Z",
"desc": "Path Diagnostic Utility",
"download_url": "",
"name": "Path Diagnostics",
"product_id": "",
"sku": "",
"state": "ACTIVE",
"uid": "com.hp.sdn.ctl.diag",
"vendor": "Hewlett-Packard",
"version": "2.3.5.6370"
}
}
A.3.3 Getting application health status
The HEAD command on health status returns only the response code rather than the entire message
for management-type clients that want to poll for health status. Returns HTTP status as follows:
200 for healthy
290 for unhealthy
295 for critical
Form
curl [options] -H "X-Auth-Token:" -w %{http_code} \
-X HEAD https://<controller_ip>:8443/sdn/v2.0/apps/<app_id>/health
116 cURL commands