Merge "[api-ref] Update JSON samples for scheduler-stats API"

This commit is contained in:
Zuul 2019-05-20 22:18:22 +00:00 committed by Gerrit Code Review
commit 595c4e34d7
2 changed files with 145 additions and 48 deletions

View File

@ -1,29 +1,120 @@
{ {
"pools": [ "pools": [
{ {
"host": "LONDON", "name": "opencloud@alpha#ALPHA_pool",
"capabilities": { "host": "opencloud",
"qos": false, "backend": "alpha",
"driver_version": "1.0", "pool": "ALPHA_pool",
"snapshot_support": true, "capabilities": {
"timestamp": "2016-07-05T22:40:32.632330", "pool_name": "ALPHA_pool",
"share_backend_name": "GENERIC1", "total_capacity_gb": 1230.0,
"total_capacity_gb": "unknown", "free_capacity_gb": 1210.0,
"driver_handles_share_servers": true, "reserved_percentage": 0,
"server_pools_mapping": {}, "share_backend_name": "ALPHA",
"share_group_stats": { "storage_protocol": "NFS_CIFS",
"consistent_snapshot_support": null "vendor_name": "Open Source",
}, "driver_version": "1.0",
"pools": null, "timestamp": "2019-05-07T00:28:02.935569",
"vendor_name": "Open Source", "driver_handles_share_servers": true,
"reserved_percentage": 0, "snapshot_support": true,
"free_capacity_gb": "unknown", "create_share_from_snapshot_support": true,
"storage_protocol": "NFS_CIFS", "revert_to_snapshot_support": true,
"replication_domain": null "mount_snapshot_support": true,
}, "dedupe": false,
"name": "openstack3@generic1#GENERIC1", "compression": false,
"pool": "GENERIC1", "replication_type": null,
"backend": "generic1" "replication_domain": null,
} "sg_consistent_snapshot_support": "pool",
] "ipv4_support": true,
"ipv6_support": false
}
},
{
"name": "opencloud@beta#BETA_pool",
"host": "opencloud",
"backend": "beta",
"pool": "BETA_pool",
"capabilities": {
"pool_name": "BETA_pool",
"total_capacity_gb": 1230.0,
"free_capacity_gb": 1210.0,
"reserved_percentage": 0,
"share_backend_name": "BETA",
"storage_protocol": "NFS_CIFS",
"vendor_name": "Open Source",
"driver_version": "1.0",
"timestamp": "2019-05-07T00:28:02.817309",
"driver_handles_share_servers": true,
"snapshot_support": true,
"create_share_from_snapshot_support": true,
"revert_to_snapshot_support": true,
"mount_snapshot_support": true,
"dedupe": false,
"compression": false,
"replication_type": null,
"replication_domain": null,
"sg_consistent_snapshot_support": "pool",
"ipv4_support": true,
"ipv6_support": false
}
},
{
"name": "opencloud@gamma#GAMMA_pool",
"host": "opencloud",
"backend": "gamma",
"pool": "GAMMA_pool",
"capabilities": {
"pool_name": "GAMMA_pool",
"total_capacity_gb": 1230.0,
"free_capacity_gb": 1210.0,
"reserved_percentage": 0,
"replication_type": "readable",
"share_backend_name": "GAMMA",
"storage_protocol": "NFS_CIFS",
"vendor_name": "Open Source",
"driver_version": "1.0",
"timestamp": "2019-05-07T00:28:02.899888",
"driver_handles_share_servers": false,
"snapshot_support": true,
"create_share_from_snapshot_support": true,
"revert_to_snapshot_support": true,
"mount_snapshot_support": true,
"dedupe": false,
"compression": false,
"replication_domain": "replica_domain_store1",
"sg_consistent_snapshot_support": "pool",
"ipv4_support": true,
"ipv6_support": false
}
},
{
"name": "opencloud@delta#DELTA_pool",
"host": "opencloud",
"backend": "delta",
"pool": "DELTA_pool",
"capabilities": {
"pool_name": "DELTA_pool",
"total_capacity_gb": 1230.0,
"free_capacity_gb": 1210.0,
"reserved_percentage": 0,
"replication_type": "readable",
"share_backend_name": "DELTA",
"storage_protocol": "NFS_CIFS",
"vendor_name": "Open Source",
"driver_version": "1.0",
"timestamp": "2019-05-07T00:28:02.963660",
"driver_handles_share_servers": false,
"snapshot_support": true,
"create_share_from_snapshot_support": true,
"revert_to_snapshot_support": true,
"mount_snapshot_support": true,
"dedupe": false,
"compression": false,
"replication_domain": "replica_domain_store1",
"sg_consistent_snapshot_support": "pool",
"ipv4_support": true,
"ipv6_support": false
}
}
]
} }

View File

@ -1,22 +1,28 @@
{ {
"pools": [ "pools": [
{ {
"host": "manila2", "name": "opencloud@alpha#ALPHA_pool",
"name": "manila2@generic1#GENERIC1", "host": "opencloud",
"pool": "GENERIC1", "backend": "alpha",
"backend": "generic1" "pool": "ALPHA_pool"
}, },
{ {
"host": "manila2", "name": "opencloud@beta#BETA_pool",
"name": "manila2@unmanage1#UNMANAGE1", "host": "opencloud",
"pool": "UNMANAGE1", "backend": "beta",
"backend": "unmanage1" "pool": "BETA_pool"
}, },
{ {
"host": "manila2", "name": "opencloud@gamma#GAMMA_pool",
"name": "manila2@ams_backend#AMS_BACKEND", "host": "opencloud",
"pool": "AMS_BACKEND", "backend": "gamma",
"backend": "ams_backend" "pool": "GAMMA_pool"
} },
] {
} "name": "opencloud@delta#DELTA_pool",
"host": "opencloud",
"backend": "delta",
"pool": "DELTA_pool"
}
]
}