working license key
@@ -54,14 +54,14 @@ key = licenses['members'][0]['key']
options = {
- "key": key,
+ "key": "ACDE B9MA H9PY CHW3 U7B5 HWW5 Y9JL KMPL B89H MZVU DXAU 2CSM GHTG L762 KQL7 EG5M KJVT D5KM AFVW TT5J F77K NXWW BPSM YF26 28JS EWTZ X36Q M5G7 WZJL HH5Q L975 SNJT 288F ADT2 LK44 56UG V8MC 2K9X 7KG2 F6AD EMVA 9GEB 95Y6 XBM3 HVDY LBSS PU24 KEWY JSJC FPZC 2JJE ZLAB\"24R2-02192-002 T1111A HP_OneView_w/o_iLO_Explicit_Feature J4E8IAMANEON\"",
"type": "LicenseV500"
}
# Add a License
-#license = oneview_client.licenses.create(options)
-#print("\nLicense added '%s' successfully.\n uri = '%s'" % (license['key'], license['type']))
+license = oneview_client.licenses.create(options)
+print("\nLicense added '%s' successfully.\n uri = '%s'" % (license['key'], license['type']))
# Get License ID
