30941b211a
In V2 hide server address extension functional tests, created instance state does not belong to configured hide server address state. Due to that address never got hidden from server. Sample files used in those tests are wrong which makes those tests pass. This patch fix the tests by overriding the conf value and fix the sample files accordingly. Change-Id: I60e502941bb4b2634a542ead02465a186a22d9ae
47 lines
1.4 KiB
JSON
47 lines
1.4 KiB
JSON
{
|
|
"server": {
|
|
"accessIPv4": "",
|
|
"accessIPv6": "",
|
|
"addresses": {},
|
|
"created": "2012-12-19T20:32:40Z",
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/openstack/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"hostId": "d2697421d9869915ee376575508fdba76432f9b3ef451e7a1f86c62e",
|
|
"id": "2e9157dc-deea-4ee7-820a-640ecba32b5a",
|
|
"image": {
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/openstack/servers/2e9157dc-deea-4ee7-820a-640ecba32b5a",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/servers/2e9157dc-deea-4ee7-820a-640ecba32b5a",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"My Server Name": "Apache1"
|
|
},
|
|
"name": "new-server-test",
|
|
"progress": 0,
|
|
"status": "ACTIVE",
|
|
"tenant_id": "openstack",
|
|
"updated": "2012-12-19T20:32:42Z",
|
|
"user_id": "fake"
|
|
}
|
|
} |