3cdb9ea817
This commit also moves the "get_ip_address" functions out of instance.views and into the models code under the SimpleInstance class, where it's renamed get_visible_ip_addresses(). Also, the content field (the ip address) is now passed to the driver instead of set on the Entry object by the manager, which allows more flexibility for dealing with various drivers and will hopefully prevent issues in the future. Finally, integration tests were added to keep this from breaking in the future. Closes-Bug: 1273446 Change-Id: I70bf37838cc5cecfe579fe6001df79d7f6f5d53e
122 lines
2.6 KiB
Plaintext
122 lines
2.6 KiB
Plaintext
{
|
|
"include-files":["core.test.conf"],
|
|
|
|
"fake_mode": true,
|
|
"dbaas_url":"http://localhost:8779/v1.0",
|
|
"version_url":"http://localhost:8779",
|
|
"nova_auth_url":"http://localhost:8779/v1.0/auth",
|
|
"trove_auth_url":"http://localhost:8779/v1.0/auth",
|
|
"trove_client_insecure":false,
|
|
"auth_strategy":"fake",
|
|
|
|
"trove_version":"v1.0",
|
|
"trove_api_updated":"2012-08-01T00:00:00Z",
|
|
|
|
"trove_dns_support":true,
|
|
"trove_dns_checker":"trove.tests.fakes.dns.FakeDnsChecker",
|
|
"trove_ip_support":false,
|
|
|
|
"nova_client": null,
|
|
|
|
|
|
"users": [
|
|
{
|
|
"auth_user":"admin",
|
|
"auth_key":"password",
|
|
"tenant":"admin-1000",
|
|
"tenant_id":"admin-1000",
|
|
"requirements": {
|
|
"is_admin":true,
|
|
"services": ["trove"]
|
|
}
|
|
},
|
|
{
|
|
"auth_user":"jsmith",
|
|
"auth_key":"password",
|
|
"tenant":"2500",
|
|
"tenant_id":"2500",
|
|
"requirements": {
|
|
"is_admin":false,
|
|
"services": ["trove"]
|
|
}
|
|
},
|
|
{
|
|
"auth_user":"hub_cap",
|
|
"auth_key":"password",
|
|
"tenant":"3000",
|
|
"tenant_id":"3000",
|
|
"requirements": {
|
|
"is_admin":false,
|
|
"services": ["trove"]
|
|
}
|
|
}
|
|
],
|
|
|
|
"flavors": [
|
|
{
|
|
"id": 1,
|
|
"name": "m1.tiny",
|
|
"ram": 512
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "m1.small",
|
|
"ram": 2048
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "m1.medium",
|
|
"ram": 4096
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "m1.large",
|
|
"ram": 8192
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "m1.xlarge",
|
|
"ram": 16384
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "m1.nano",
|
|
"ram": 64
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "m1.micro",
|
|
"ram": 128
|
|
},
|
|
{
|
|
"id": 8,
|
|
"name": "m1.rd-smaller",
|
|
"ram": 768
|
|
},
|
|
{
|
|
"id": 9,
|
|
"name": "tinier",
|
|
"ram": 506
|
|
},
|
|
{
|
|
"id": 10,
|
|
"name": "m1.rd-tiny",
|
|
"ram": 512
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "eph.rd-tiny",
|
|
"ram": 512,
|
|
"local_storage": 1
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "eph.rd-smaller",
|
|
"ram": 768,
|
|
"local_storage": 2
|
|
}
|
|
|
|
],
|
|
"sentinel": null
|
|
}
|