Fix incorrect response example of flavor creation

Added three missed attributions: "uuid", "created_at" and
"updated_at". And renamed it to keep similar naming convention.

Change-Id: I426b367c538922cc5825c65d9f4e943438d2cb28
Closes-Bug: #1677088
This commit is contained in:
Lin Yang 2017-03-28 18:53:17 -07:00
parent 8e410d7d7c
commit 4ca2a50554
4 changed files with 29 additions and 24 deletions

View File

@ -0,0 +1,13 @@
{
"name": "test",
"properties": {
"memory": {
"capacity_mib": "3000",
"type": "DDR2"
},
"processor": {
"total_cores": "10",
"model": "Intel"
}
}
}

View File

@ -0,0 +1,16 @@
{
"created_at": "2017-03-29 01:50:06 UTC",
"name": "test",
"properties": {
"memory": {
"capacity_mib": "3000",
"type": "DDR2"
},
"processor": {
"total_cores": "10",
"model": "Intel"
}
},
"updated_at": "2017-03-29 01:50:06 UTC",
"uuid": "c5136808-8162-4595-9b19-6c92f5956766"
}

View File

@ -1,12 +0,0 @@
{
"name": "test",
"properties": {
"memory": {
"capacity_mib": "3000"
},
"processor": {
"total_cores": "10",
"model": "Intel"
}
}
}

View File

@ -1,12 +0,0 @@
{
"name": "test",
"properties": {
"memory": {
"capacity_mib": "3000"
},
"processor": {
"total_cores": "10",
"model": "Intel"
}
}
}