Merge "Add volume_types on Consistency Group API Response"
This commit is contained in:
commit
1a5387a2b8
|
@ -2118,9 +2118,18 @@
|
|||
The consistency group description.
|
||||
</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02"
|
||||
name="volume_types" style="plain" required="true"
|
||||
type="xsd:list">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||
xml:lang="EN">
|
||||
<para>
|
||||
The list of volume type IDs.
|
||||
</para>
|
||||
</wadl:doc>
|
||||
</param>'>
|
||||
|
||||
|
||||
<!ENTITY forceRequestParameter '
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02"
|
||||
name="force" style="plain" required="false"
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"availability_zone": "az1",
|
||||
"created_at": "2015-09-16T09:28:52.000000",
|
||||
"name": "my-cg1",
|
||||
"description": "my first consistency group"
|
||||
"description": "my first consistency group",
|
||||
"volume_types": [
|
||||
"123456"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<consistencygroups xmlns:consistencygroups="http://docs.openstack.org/volume/ext/consistencygroups/api/v1">
|
||||
<consistencygroup
|
||||
id="6f519a48-3183-46cf-a32f-41815f813986"
|
||||
status="available"
|
||||
availability_zone="az1"
|
||||
created_at="2015-09-16T09:28:52.000000"
|
||||
name="my-cg1"
|
||||
description="my first consistency group">
|
||||
<volume_types>
|
||||
<volume_type>"123456"</volume_type>
|
||||
</volume_types>
|
||||
</consistencygroup>
|
||||
</consistencygroups>
|
|
@ -6,7 +6,10 @@
|
|||
"availability_zone": "az1",
|
||||
"created_at": "2015-09-16T09:28:52.000000",
|
||||
"name": "my-cg1",
|
||||
"description": "my first consistency group"
|
||||
"description": "my first consistency group",
|
||||
"volume_types": [
|
||||
"123456"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "aed36625-a6d7-4681-ba59-c7ba3d18c148",
|
||||
|
@ -14,7 +17,10 @@
|
|||
"availability_zone": "az2",
|
||||
"created_at": "2015-09-16T09:31:15.000000",
|
||||
"name": "my-cg2",
|
||||
"description": "Edited description"
|
||||
"description": "Edited description",
|
||||
"volume_types": [
|
||||
"234567"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<consistencygroups xmlns:consistencygroups="http://docs.openstack.org/volume/ext/consistencygroups/api/v1">
|
||||
<consistencygroup
|
||||
id="6f519a48-3183-46cf-a32f-41815f813986"
|
||||
status="available"
|
||||
availability_zone="az1"
|
||||
created_at="2015-09-16T09:28:52.000000"
|
||||
name="my-cg1"
|
||||
description="my first consistency group">
|
||||
<volume_types>
|
||||
<volume_type>"123456"</volume_type>
|
||||
</volume_types>
|
||||
</consistencygroup>
|
||||
<consistencygroup
|
||||
id="aed36625-a6d7-4681-ba59-c7ba3d18c148"
|
||||
status="error"
|
||||
availability_zone="az2"
|
||||
created_at="2015-09-16T09:31:15.000000"
|
||||
name="my-cg2"
|
||||
description="Edited description">
|
||||
<volume_types>
|
||||
<volume_type>"234567"</volume_type>
|
||||
</volume_types>
|
||||
</consistencygroup>
|
||||
</consistencygroups>
|
|
@ -90,6 +90,15 @@
|
|||
</wadl:doc>
|
||||
&consistencyGroupDetailResponseParameters;
|
||||
</representation>
|
||||
<representation mediaType="application/xml">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<xsdxt:code
|
||||
href="../samples/consistencygroups/consistency-groups-list-detailed-response.xml"
|
||||
/>
|
||||
</wadl:doc>
|
||||
&consistencyGroupDetailResponseParameters;
|
||||
</representation>
|
||||
</response>
|
||||
</method>
|
||||
<method name="POST" id="createConsistencyGroup">
|
||||
|
@ -206,6 +215,14 @@
|
|||
</wadl:doc>
|
||||
&consistencyGroupDetailResponseParameters;
|
||||
</representation>
|
||||
<representation mediaType="application/xml">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<xsdxt:code
|
||||
href="../samples/consistencygroups/consistency-group-show-response.xml"
|
||||
/>
|
||||
</wadl:doc>
|
||||
</representation>
|
||||
</response>
|
||||
</method>
|
||||
</application>
|
||||
|
|
Loading…
Reference in New Issue