3f2d390c3b
Currently v2 and v2.1 have separate functional tests and their corresponding sample files. As v2 and v2.1 are supposed to be identical, there is overhead to maintain two set of functional tests and sample files. We can have one set of tests which can run for both v2 and v2.1. This commit merges servers rescue functional tests. V2 has two extensions - os-rescue - os-extended-rescue-with-image which are merged in single rescue plugins in v2.1 In rescue tests, enabling some more v2 extension which are required for POST/GET sevrer. Change-Id: I3a38b1a6cf21a3e5774e5704303ba64979c04e56
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"server": {
|
|
"accessIPv4": "1.2.3.4",
|
|
"accessIPv6": "80fe::",
|
|
"addresses": {
|
|
"private": [
|
|
{
|
|
"addr": "192.168.0.3",
|
|
"OS-EXT-IPS-MAC:mac_addr": "aa:bb:cc:dd:ee:ff",
|
|
"OS-EXT-IPS:type": "fixed",
|
|
"version": 4
|
|
}
|
|
]
|
|
},
|
|
"created": "2013-09-18T07:22:09Z",
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/openstack/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"hostId": "f04994c5b4aac1cacbb83b09c2506e457d97dd54f620961624574690",
|
|
"id": "2fd0c66b-50af-41d2-9253-9fa41e7e8dd8",
|
|
"image": {
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"key_name": null,
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/openstack/servers/2fd0c66b-50af-41d2-9253-9fa41e7e8dd8",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/servers/2fd0c66b-50af-41d2-9253-9fa41e7e8dd8",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"My Server Name": "Apache1"
|
|
},
|
|
"name": "new-server-test",
|
|
"status": "RESCUE",
|
|
"tenant_id": "openstack",
|
|
"updated": "2013-09-18T07:22:11Z",
|
|
"user_id": "fake"
|
|
}
|
|
}
|