GET https://192.168.0.0:4443/dashboard/zones/hostedzone/replicationgroups HTTP/1.1
Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"title" : "zones List",
"_links" : {
"self" : {
"href" : "/dashboard/zones/hostedzone/replicationgroups"
}
},
"_embedded" : {
"_instances" : [ {
"_links" : {
"self" : {
"href" : "/dashboard/replicationgroups/Replication_Group: urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global"
},
"datatables" : {
"href" : "/dashboard/replicationgroups/Replication_Group: urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global/datatables"
},
"rglinks" : {
"href" : "/dashboard/replicationgroups/Replication_Group: urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global/rglinks"
}
},
"apiChange" : "1",
"name" : "PassiveRG",
"id" : "Replication_Group: urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global",
"type" : "Passive",
"_embedded" : {
"_instances" : [ {
"_links" : {
"self" : {
"href" : "/dashboard/rglinks/urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global:VDC1"
}
},
"apiChange" : "1",
"rgName" : "urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global",
"zone2Name" : "VDC1",
"id" : "urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global:VDC1",
"zone1Name" : "VDC3",
"transactionWriteBandwidthCurrent" : [ {
"t" : "1502819100",
"Bandwidth" : "219744.0"
} ],
"transactionReadLatencyCurrent" : [ {
"t" : "1502819100",
"Latency" : "0"
} ],
"transactionWriteLatencyCurrent" : [ {
"t" : "1502819100",
"Latency" : "4"
} ],
"transactionReadBandwidthCurrent" : [ {
"t" : "1502819100",
"Bandwidth" : "178688.0"
} ]
}, {
"_links" : {
"self" : {
"href" : "/dashboard/rglinks/urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global:VDC2"
}
},
"apiChange" : "1",
"rgName" : "urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global",
"zone2Name" : "VDC2",
"id" : "urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global:VDC2",
"zone1Name" : "VDC3",
"transactionWriteBandwidthCurrent" : [ {
"t" : "1502819100",
"Bandwidth" : "194792.0"
} ],
"transactionReadLatencyCurrent" : [ {
"t" : "1502819100",
"Latency" : "0"
} ],
"transactionWriteLatencyCurrent" : [ {
"t" : "1502819100",
"Latency" : "4"
} ],
"transactionReadBandwidthCurrent" : [ {
"t" : "1502819100",
"Bandwidth" : "155304.0"
} ]
} ]
}
} ]
}
}
ATTRIBUTES DESCRIPTION
======================
a. All Time Stamps are GMT Epoch time in seconds.
b. Numbers can be reported in different formats, including without decimal point (e.g. 23000000), with decimal point
(23000000.0) or exponential (2.3e7)
c. <Attribute>Current: The most recent value of an attribute. The attribute is returned in the form of a single snapshot
{"t":12345678, " 'value tag' ":10} where 'value tag' reports the most recently known value of the attribute
and timestamp 't' reports time for which this value is available. The value tag is the same as used for the original
historical attribute. Units of the reported current value are the same as units of the corresponding historical attribute.
d. <Attribute>Summary: (Historical attributes only) The summary values for a historical attribute which includes
Min (lowest), Max (highest) and Avg (average) values across all snapshots. The attribute is returned in the form of
{"Min": {"t":"12345678", "Percent":10}, "Max": {"t":"23435455", "Percent": "43"}, "Avg": "30.67" }.
The value tag is the same as used for the original historical attribute. Units of the reported current value are the
same as units of the corresponding historical attribute.
e. 'dataType' filter: The client can use this filter to indicate which data needs to be returned in the feed. If not supplied,
both current and historical data will be returned.
dataType=current: return only the Current values, as detailed in Point C.
dataType=historical&startTime=<Time>&endTime=<Time>&interval=<Interval in seconds>: return historical series data
and summary for the period specified. Start and End Times are in Epoch Time in Seconds.
f. 'category' filter: Every API can be called with an optional 'category' filter. This filter specifies the category of
data to be included in the API. It is recommended to use filters only when a subset of the attributes is necessary.
g. Starting from ECS 2.2 a new attribute named "apiChange' is returned. This attribute may be removed in future versions
of the API, and currently always has the value "1".
------------------------------------+-----------+-------------------------------------------------------------------+------------
Attribute |Historical?|Category| Description |Units
------------------------------------+-----------+-------------------------------------------------------------------+------------
title | | |Name of resource |
------------------------------------+-----------+-------------------------------------------------------------------+------------
url.self | | |URL to this resource |
------------------------------------+-----------+-------------------------------------------------------------------+------------
name | | |Name of the replication group |
------------------------------------+-----------+-------------------------------------------------------------------+------------
id | | |ID of the replication group |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglinks | | |List of replication groups |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > id | | |ID of the rglink (RG Id + ":" + zone2Name) |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > type | | |Type of the replication group: Active, Passive |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > rgName | | |Name of replication group |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > gone1Name | | |Name of zone1 (Hosted VDC) |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > zone2Name | | |Name of zone2 (On-Premise VDC) |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > transactionReadBandwidth | | |Read bandwidth of VDC (Zone) within rglink |Bytes/Second
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > transactionWriteBandwidth | | |Write bandwidth of VDC (Zone) within rglink |Bytes/Second
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > transactionReadLatency | | |Read latency of VDC (Zone) within rglink |Milliseconds
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > transactionWriteLatency | | |Write latency of VDC (Zone) within rglink |Milliseconds
------------------------------------+-----------+-------------------------------------------------------------------+------------
Request
curl -H $token -H "Content-Type: application/json" -X GET https://$nodeIp:4443/dashboard/zones/hostedzone/replicationgroups
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"title" : "zones List",
"_links" : {
"self" : {
"href" : "/dashboard/zones/hostedzone/replicationgroups"
}
},
"_embedded" : {
"_instances" : [ {
"_links" : {
"self" : {
"href" : "/dashboard/replicationgroups/Replication_Group: urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global"
},
"datatables" : {
"href" : "/dashboard/replicationgroups/Replication_Group: urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global/datatables"
},
"rglinks" : {
"href" : "/dashboard/replicationgroups/Replication_Group: urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global/rglinks"
}
},
"apiChange" : "1",
"name" : "PassiveRG",
"id" : "Replication_Group: urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global",
"type" : "Passive",
"_embedded" : {
"_instances" : [ {
"_links" : {
"self" : {
"href" : "/dashboard/rglinks/urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global:VDC1"
}
},
"apiChange" : "1",
"rgName" : "urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global",
"zone2Name" : "VDC1",
"id" : "urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global:VDC1",
"zone1Name" : "VDC3",
"transactionWriteBandwidthCurrent" : [ {
"t" : "1502819100",
"Bandwidth" : "219744.0"
} ],
"transactionReadLatencyCurrent" : [ {
"t" : "1502819100",
"Latency" : "0"
} ],
"transactionWriteLatencyCurrent" : [ {
"t" : "1502819100",
"Latency" : "4"
} ],
"transactionReadBandwidthCurrent" : [ {
"t" : "1502819100",
"Bandwidth" : "178688.0"
} ]
}, {
"_links" : {
"self" : {
"href" : "/dashboard/rglinks/urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global:VDC2"
}
},
"apiChange" : "1",
"rgName" : "urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global",
"zone2Name" : "VDC2",
"id" : "urn:storageos:ReplicationGroupInfo:93430d7b-a5eb-41c7-af49-9e6bc32191e1:global:VDC2",
"zone1Name" : "VDC3",
"transactionWriteBandwidthCurrent" : [ {
"t" : "1502819100",
"Bandwidth" : "194792.0"
} ],
"transactionReadLatencyCurrent" : [ {
"t" : "1502819100",
"Latency" : "0"
} ],
"transactionWriteLatencyCurrent" : [ {
"t" : "1502819100",
"Latency" : "4"
} ],
"transactionReadBandwidthCurrent" : [ {
"t" : "1502819100",
"Bandwidth" : "155304.0"
} ]
} ]
}
} ]
}
}
ATTRIBUTES DESCRIPTION
======================
a. All Time Stamps are GMT Epoch time in seconds.
b. Numbers can be reported in different formats, including without decimal point (e.g. 23000000), with decimal point
(23000000.0) or exponential (2.3e7)
c. <Attribute>Current: The most recent value of an attribute. The attribute is returned in the form of a single snapshot
{"t":12345678, " 'value tag' ":10} where 'value tag' reports the most recently known value of the attribute
and timestamp 't' reports time for which this value is available. The value tag is the same as used for the original
historical attribute. Units of the reported current value are the same as units of the corresponding historical attribute.
d. <Attribute>Summary: (Historical attributes only) The summary values for a historical attribute which includes
Min (lowest), Max (highest) and Avg (average) values across all snapshots. The attribute is returned in the form of
{"Min": {"t":"12345678", "Percent":10}, "Max": {"t":"23435455", "Percent": "43"}, "Avg": "30.67" }.
The value tag is the same as used for the original historical attribute. Units of the reported current value are the
same as units of the corresponding historical attribute.
e. 'dataType' filter: The client can use this filter to indicate which data needs to be returned in the feed. If not supplied,
both current and historical data will be returned.
dataType=current: return only the Current values, as detailed in Point C.
dataType=historical&startTime=<Time>&endTime=<Time>&interval=<Interval in seconds>: return historical series data
and summary for the period specified. Start and End Times are in Epoch Time in Seconds.
f. 'category' filter: Every API can be called with an optional 'category' filter. This filter specifies the category of
data to be included in the API. It is recommended to use filters only when a subset of the attributes is necessary.
g. Starting from ECS 2.2 a new attribute named "apiChange' is returned. This attribute may be removed in future versions
of the API, and currently always has the value "1".
------------------------------------+-----------+-------------------------------------------------------------------+------------
Attribute |Historical?|Category| Description |Units
------------------------------------+-----------+-------------------------------------------------------------------+------------
title | | |Name of resource |
------------------------------------+-----------+-------------------------------------------------------------------+------------
url.self | | |URL to this resource |
------------------------------------+-----------+-------------------------------------------------------------------+------------
name | | |Name of the replication group |
------------------------------------+-----------+-------------------------------------------------------------------+------------
id | | |ID of the replication group |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglinks | | |List of replication groups |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > id | | |ID of the rglink (RG Id + ":" + zone2Name) |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > type | | |Type of the replication group: Active, Passive |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > rgName | | |Name of replication group |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > gone1Name | | |Name of zone1 (Hosted VDC) |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > zone2Name | | |Name of zone2 (On-Premise VDC) |
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > transactionReadBandwidth | | |Read bandwidth of VDC (Zone) within rglink |Bytes/Second
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > transactionWriteBandwidth | | |Write bandwidth of VDC (Zone) within rglink |Bytes/Second
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > transactionReadLatency | | |Read latency of VDC (Zone) within rglink |Milliseconds
------------------------------------+-----------+-------------------------------------------------------------------+------------
rglink > transactionWriteLatency | | |Write latency of VDC (Zone) within rglink |Milliseconds
------------------------------------+-----------+-------------------------------------------------------------------+------------