HP VAN SDN Controller Administrator Guide v3

Example 7 All installed licenses output
{
"licenses" : [{
"install_id" : 12491640,
"serial_no" : 12,
"license_metric" : "Controller Node",
"product" : "HP VAN SDN Ctrl Base",
"metric_qty" : 52,
"license_type" : "PRODUCTION",
"base_license" : true,
"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_status" : "ACTIVE"
},{
}
"licenses" : {
"install_id" : 12491640,
"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_status" : "ACTIVE"
}]
}
3. Record each serial_no value.
4. Use the following command to uninstall, or deactivate, each active license on your controller:
curl -sk -H "X-Auth-Token:MyToken" --data-ascii deactivate
https://MyControllerIP:8443/sdn/v2.0/licenses/MySerialNumber/action
Replace MyToken with the token you obtained using the authentication
command.
Replace MyControllerIP with your controller IP address.
NOTE: If you are installing a High Availability license, enter the IP address
of the lead controller.
Replace MySerialNumber with the serial number of the license you want to
deactivate. You can view the key by logging on to the My Network portal and
selecting My Licenses, as shown in Figure 59.
The license uninstall key appears in JSON format, as shown below.
A.2 Licensing Actions 115