HP VAN SDN Controller REST API Guide
Licensing
Licenses
List licenses
Sample request
List all licenses
GET /sdn/v2.0/licenses
There is no request body for this API.
Sample response
1 {
2 "licenses" : [ {
3 "install_id" : 1234567,
4 "serial_no" : 10,
5 "license_metric" : "Controller Node",
6 "product" : "HP VAN SDN Ctrl Base",
7 "metric_qty" : 50,
8 "license_type" : "DEMO",
9 "base_license" : true,
10 "creation_date" : "2013-06-25T23:51:09.826Z",
11 "activated_date" : "2013-06-22T23:51:09.826Z",
12 "expiry_date" : "2023-06-25T23:51:09.826Z",
13 "license_status" : "INACTIVE",
14 "deactivated_key" : "SOME LICKEY"
15 }, {
16 "install_id" : 1234567,
17 "serial_no" : 10,
18 "license_metric" : "Controller Node",
19 "product" : "HP VAN SDN Ctrl Base",
20 "metric_qty" : 50,
21 "license_type" : "DEMO",
22 "base_license" : true,
23 "creation_date" : "2013-06-25T23:51:09.826Z",
24 "activated_date" : "2013-06-22T23:51:09.826Z",
25 "expiry_date" : "2023-06-25T23:51:09.826Z",
26 "license_status" : "INACTIVE",
27 "deactivated_key" : "SOME LICKEY"
28 } ]
29 }
Response codes
• Normal: OK (200)
• Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Get a license
Sample request
Get a license by given key:
GET /sdn/v2.0/licenses?key="CYIBMJJIHJQA6-IRTEQ2QUNBYCA-CSSDJIEIJFKIQ-VAI2QUJBYC42A"
There is no request body for this API.
18 /sdn/v2.0