
Example 5 License uninstall key output
{
"license" : {
"install_id" : 1249679,
"serial_no" : 13,
"license_metric" : "HA Controller",
"product" : "HP VAN SDN Ctrl Base",
"metric_qty" : 500,
"license_type" : "PRODUCTION",
"base_license" : false,
"creation_date" : "2013-09-06T00:26:52.248+0000",
"activated_date" : "2013-09-06T00:26:52.248+0000",
"expiry_date" : "2014-01-14T00:26:52.248+0000",
"license_uninstall_key" : "MYOCD9JMCRRRM-IRTEQ2QUNBYCB-6Q6CJIEIJFKIQ-VAI2QUJBYC433"
"license_status" : "INACTIVE"
}
}
4.
Record your
license_uninstall_key
. For example:
Example 6 Security token obtained from output
The
license_uninstall_key
obtained from the example in the previous step is:
MYOCD9JMCRRRM-IRTEQ2QUNBYCB-6Q6CJIEIJFKIQ-VAI2QUJBYC433
Application manager actions using curl commands
Listing applications
Form
curl [options] -H "X-Auth-Token:
token
" \
https://
controller_ip
:8443/sdn/v2.0/apps
Example of listing applications
curl -ksS -H "X-Auth-Token:3d61f0d3e61349359e6dbd82ec02c113" \
https://10.0.1.42:8443/sdn/v2.0/apps
Example output:
{
"apps": [
{
"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"
},
{
"action": "NONE",
"catalog_id": "",
"deployed": "2014-06-18T19:22:50.890Z",
"desc": "Link Management",
"download_url": "",
"name": "Link Manager",
174
curl commands