3f93ff110b
This is an initial attempt at supporting multiple regions. It should handle the mechanics of deploying an instance/volume to a remote region. Additional changes may be required to allow the guest agent on the instance to connect back to the originating region. Co-Authored-By: Petr Malik <pmalik@tesora.com> Change-Id: I780de59dae5f90955139ab8393cf7d59ff3a21f6
79 lines
2.5 KiB
JSON
79 lines
2.5 KiB
JSON
{
|
|
"instances": [
|
|
{
|
|
"datastore": {
|
|
"type": "mysql",
|
|
"version": "5.5"
|
|
},
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "https://troveapi.org/v1.0/1234/flavors/1",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "https://troveapi.org/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"hostname": "e09ad9a3f73309469cf1f43d11e79549caf9acf2.troveexampledb.com",
|
|
"id": "43a6ea86-e959-4735-9e46-a6a5d4a2d80f",
|
|
"links": [
|
|
{
|
|
"href": "https://troveapi.org/v1.0/1234/instances/43a6ea86-e959-4735-9e46-a6a5d4a2d80f",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "https://troveapi.org/instances/43a6ea86-e959-4735-9e46-a6a5d4a2d80f",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "The Third Instance",
|
|
"region": "RegionOne",
|
|
"status": "ACTIVE",
|
|
"volume": {
|
|
"size": 2
|
|
}
|
|
},
|
|
{
|
|
"datastore": {
|
|
"type": "mysql",
|
|
"version": "5.5"
|
|
},
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "https://troveapi.org/v1.0/1234/flavors/1",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "https://troveapi.org/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"hostname": "e09ad9a3f73309469cf1f43d11e79549caf9acf2.troveexampledb.com",
|
|
"id": "44b277eb-39be-4921-be31-3d61b43651d7",
|
|
"links": [
|
|
{
|
|
"href": "https://troveapi.org/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "https://troveapi.org/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "json_rack_instance",
|
|
"region": "RegionOne",
|
|
"status": "ACTIVE",
|
|
"volume": {
|
|
"size": 2
|
|
}
|
|
}
|
|
]
|
|
}
|