9f9802eebd
This patch move the all v2.1 api sample tests under 'functional/api_sample_tests'. Also move sample files under 'doc/api-samples'. Co-Authored-By: Ed Leafe <ed@leafe.com> Co-Authored-By: Alex Xu <hejie.xu@intel.com> Partial-Bug: #1462901 Change-Id: I2b924f2ad7687a23a018a9b658e8acd9e04d7963
110 lines
3.2 KiB
JSON
110 lines
3.2 KiB
JSON
{
|
|
"flavors": [
|
|
{
|
|
"OS-FLV-DISABLED:disabled": false,
|
|
"disk": 1,
|
|
"OS-FLV-EXT-DATA:ephemeral": 0,
|
|
"os-flavor-access:is_public": true,
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/openstack/flavors/1",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "m1.tiny",
|
|
"ram": 512,
|
|
"swap": "",
|
|
"vcpus": 1
|
|
},
|
|
{
|
|
"OS-FLV-DISABLED:disabled": false,
|
|
"disk": 20,
|
|
"OS-FLV-EXT-DATA:ephemeral": 0,
|
|
"os-flavor-access:is_public": true,
|
|
"id": "2",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/openstack/flavors/2",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/flavors/2",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "m1.small",
|
|
"ram": 2048,
|
|
"swap": "",
|
|
"vcpus": 1
|
|
},
|
|
{
|
|
"OS-FLV-DISABLED:disabled": false,
|
|
"disk": 40,
|
|
"OS-FLV-EXT-DATA:ephemeral": 0,
|
|
"os-flavor-access:is_public": true,
|
|
"id": "3",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/openstack/flavors/3",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/flavors/3",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "m1.medium",
|
|
"ram": 4096,
|
|
"swap": "",
|
|
"vcpus": 2
|
|
},
|
|
{
|
|
"OS-FLV-DISABLED:disabled": false,
|
|
"disk": 80,
|
|
"OS-FLV-EXT-DATA:ephemeral": 0,
|
|
"os-flavor-access:is_public": true,
|
|
"id": "4",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/openstack/flavors/4",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/flavors/4",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "m1.large",
|
|
"ram": 8192,
|
|
"swap": "",
|
|
"vcpus": 4
|
|
},
|
|
{
|
|
"OS-FLV-DISABLED:disabled": false,
|
|
"disk": 160,
|
|
"OS-FLV-EXT-DATA:ephemeral": 0,
|
|
"os-flavor-access:is_public": true,
|
|
"id": "5",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/openstack/flavors/5",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/flavors/5",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "m1.xlarge",
|
|
"ram": 16384,
|
|
"swap": "",
|
|
"vcpus": 8
|
|
}
|
|
]
|
|
}
|