HP VAN SDN Controller Administrator Guide v3
Example 8 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"
}
}
5. Record your license_uninstall_key. For example:
Example 9 Security token obtained from output
The license_uninstall_key obtained from the example in the previous step is:
MYOCD9JMCRRRM-IRTEQ2QUNBYCB-6Q6CJIEIJFKIQ-VAI2QUJBYC433
A.3 Application Manager Actions
A.3.1 Listing applications
curl --noproxy <controller_ip> --header “X-Auth-Token:<auth_token>”
-ksSL --request GET--url “https://<controller_ip>:8443/sdn/v2.0/apps”
Example of listing applications
curl --noproxy 15.255.125.107 --header “X-Auth-Token:
85f7c48b65394afc97de434b5aa8fe05” -ksSL --request GET --url
https://15.255.125.107:8443/sdn/v2.0/apps
Example output:
{"apps":[
{"uid":"com.hp.sdn.ctl.diag","name":"PathDiagnostics","version":"2.1.0.SNAPSHOT",
"desc":"Path Diagnostic
Utility","vendor":"Hewlet-Packard","state":"ACTIVE",
"deployed":"2014-02-25T00:23:17.839Z"},
{"uid":"com.hp.sdn.ctl.linkdisco","name":"Link
Manager","version":"2.1.0.SNAPSHOT", "desc":"Link
Management","vendor":"Hewlett-Packard","state":"ACTIVE",
"deployed":"2014-02-25T00:23:17.282Z"},
{"uid":"com.hp.sdn.ctl.net","name":"Network
Services","version":"2.1.0.SNAPSHOT", "desc":"Network discovery and
maintenance", "vendor":"Hewlett-Packard","state":"ACTIVE",
"deployed":"2014-02-25T00:23:17.054Z"},
{"uid":"com.hp.sdn.ctl.nodemgr","name":"Node
Manager","version":"2.1.0.SNAPSHOT", "desc":"Node
Management","vendor":"Hewlett-Packard","state":"ACTIVE",
"deployed":"2014-02-25T00:23:17.601Z"}]}
A.3.2 Listing information about an application
curl --noproxy <controller_ip> --header “X-Auth-Token:<auth_token>”
-ksSL --request GET--url
“https://<controller_ip>:8443/sdn/v2.0/apps/<app_id>”
116 cURL Commands