![ghanshyam](/assets/img/avatar_default.png)
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 usage functional tests. In V2.1 os-access-ip is separate plugin where in v2 it was mixed in server plugin itself. So os-access-ip extension is enabled to run merged functional tests for both v2 and v2.1. Change-Id: I46bfeaed8f47ea7674f14d6f3d3b301dcc35d419
60 lines
1.9 KiB
JSON
60 lines
1.9 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-08-15T08:12:40Z",
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/openstack/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"hostId": "73cf3a40601b63f5992894be2daa3712dd599d1c919984951e21edda",
|
|
"id": "cee6d136-e378-4cfc-9eec-71797f025991",
|
|
"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/cee6d136-e378-4cfc-9eec-71797f025991",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/servers/cee6d136-e378-4cfc-9eec-71797f025991",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"My Server Name": "Apache1"
|
|
},
|
|
"name": "new-server-test",
|
|
"OS-SRV-USG:launched_at": "2013-08-15T08:12:40.108903",
|
|
"OS-SRV-USG:terminated_at": null,
|
|
"progress": 0,
|
|
"status": "ACTIVE",
|
|
"tenant_id": "openstack",
|
|
"updated": "2013-08-15T08:12:40Z",
|
|
"user_id": "fake"
|
|
}
|
|
}
|