002e31a129
Add the DeviceProfile objects version 1.1, and add 'description' field to the DeviceProfile's fields. And 'description' also will expose to end users from the GET/POST response body. Story: 2007397 Partial-Implements: blueprint add-description-field-to-device-profiles Change-Id: I15fd9a430d09b20b55375b374fd7fd96542c6358
23 lines
599 B
JSON
23 lines
599 B
JSON
{
|
|
"device_profile":{
|
|
"name":"fpga-dp1",
|
|
"uuid":"5518a925-1c2c-49a2-a8bf-0927d9456f3e",
|
|
"description": "",
|
|
"groups":[
|
|
{
|
|
"trait:CUSTOM_CHENKE_TRAITS":"required",
|
|
"resources:FPGA":"1",
|
|
"accel:bitstream_id":"d5ca2f11-3108-4426-a11c-a959987565df"
|
|
}
|
|
],
|
|
"created_at": "2020-03-09 11:26:05+00:00",
|
|
"updated_at": null,
|
|
"links":[
|
|
{
|
|
"href":"http://192.168.32.217/accelerator/v2/device_profiles/5518a925-1c2c-49a2-a8bf-0927d9456f3e",
|
|
"rel":"self"
|
|
}
|
|
]
|
|
}
|
|
}
|