charm-ceph-radosgw/unit_tests/testdata/test_create_zonegroup.json
James Page 7722f9d620 Add support for RADOS gateway multi-site replication
Add new radosgw-multisite typed master and slave relations to
support configuration of separate ceph-radosgw deployments as
a single realm and zonegroup to support replication of data
between distinct RADOS gateway deployments.

This mandates the use of the realm, zonegroup and zone
configuration options of which realm and zonegroup must match
between instances of the ceph-radosgw application participating
in the master/slave relation.

The radosgw-multisite relation may be deployed as a model local
relation or as a cross-model relation.

Change-Id: I094f89b0f668e012482ca8aace1756c911b79d17
Closes-Bug: 1666880
2019-02-14 09:40:20 +00:00

52 lines
1.4 KiB
JSON

{
"id": "3f41f138-5669-4b63-bf61-278f28fc9306",
"name": "brundall",
"api_name": "brundall",
"is_master": "true",
"endpoints": [
"http://10.5.100.2:80"
],
"hostnames": [],
"hostnames_s3website": [],
"master_zone": "a69d4cd8-1881-4040-ad7c-914ca35af3b2",
"zones": [
{
"id": "8be215da-5316-4d12-a584-44b246285a3f",
"name": "brundall-west",
"endpoints": [
"http://10.5.100.2:80"
],
"log_meta": "false",
"log_data": "true",
"bucket_index_max_shards": 0,
"read_only": "false",
"tier_type": "",
"sync_from_all": "true",
"sync_from": []
},
{
"id": "a69d4cd8-1881-4040-ad7c-914ca35af3b2",
"name": "brundall-east",
"endpoints": [
"http://10.5.100.1:80"
],
"log_meta": "false",
"log_data": "true",
"bucket_index_max_shards": 0,
"read_only": "false",
"tier_type": "",
"sync_from_all": "true",
"sync_from": []
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": []
}
],
"default_placement": "default-placement",
"realm_id": "793a0176-ef7d-4d97-b544-a921e19a52e7"
}