Merge "Add volume unmanage to cinder v2 API"
This commit is contained in:
commit
dffd0671f3
@ -169,6 +169,7 @@
|
|||||||
<wadl:method href="#setVolumeimagemetadata"/>
|
<wadl:method href="#setVolumeimagemetadata"/>
|
||||||
<wadl:method href="#unsetVolumeimagemetadata"/>
|
<wadl:method href="#unsetVolumeimagemetadata"/>
|
||||||
<wadl:method href="#attachVolume"/>
|
<wadl:method href="#attachVolume"/>
|
||||||
|
<wadl:method href="#unmanageVolume"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
</wadl:resources>
|
</wadl:resources>
|
||||||
</section>
|
</section>
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"os-unmanage": {}
|
||||||
|
}
|
@ -733,6 +733,17 @@
|
|||||||
</para>
|
</para>
|
||||||
</wadl:doc>
|
</wadl:doc>
|
||||||
</param>'>
|
</param>'>
|
||||||
|
<!ENTITY unmanageVolumeReqParameters '
|
||||||
|
<param xmlns="http://wadl.dev.java.net/2009/02" name="os-unmanage" style="plain"
|
||||||
|
type="xsd:string" required="true">
|
||||||
|
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||||
|
xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||||
|
xml:lang="EN">
|
||||||
|
<para>
|
||||||
|
The <code>os-unmanage</code> action.
|
||||||
|
</para>
|
||||||
|
</wadl:doc>
|
||||||
|
</param>'>
|
||||||
<!ENTITY backendParametersResponse '
|
<!ENTITY backendParametersResponse '
|
||||||
<param name="namespace" style="plain" required="true"
|
<param name="namespace" style="plain" required="true"
|
||||||
xmlns="http://wadl.dev.java.net/2009/02"
|
xmlns="http://wadl.dev.java.net/2009/02"
|
||||||
|
@ -68,6 +68,7 @@
|
|||||||
<method href="#setVolumeimagemetadata"/>
|
<method href="#setVolumeimagemetadata"/>
|
||||||
<method href="#unsetVolumeimagemetadata"/>
|
<method href="#unsetVolumeimagemetadata"/>
|
||||||
<method href="#attachVolume"/>
|
<method href="#attachVolume"/>
|
||||||
|
<method href="#unmanageVolume"/>
|
||||||
</resource>
|
</resource>
|
||||||
</resource>
|
</resource>
|
||||||
</resource>
|
</resource>
|
||||||
@ -644,6 +645,36 @@
|
|||||||
</request>
|
</request>
|
||||||
<response status="202"/>
|
<response status="202"/>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="POST" id="unmanageVolume">
|
||||||
|
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||||
|
title="Unmanage volume">
|
||||||
|
<para role="shortdesc">
|
||||||
|
Unmanages the specified volume.
|
||||||
|
Specify the <code>os-unmanage</code> action in the request body.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
This calls removes the volume from Block Storage management
|
||||||
|
without actually removing the back-end storage object
|
||||||
|
associated with it.
|
||||||
|
</para>
|
||||||
|
<para>Preconditions</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem><para>Volume status must be <code>available</code>.</para></listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</wadl:doc>
|
||||||
|
<request>
|
||||||
|
<representation mediaType="application/json">
|
||||||
|
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||||
|
xml:lang="EN">
|
||||||
|
<xsdxt:code
|
||||||
|
href="api_samples/os-unmanage/os-unmanage-request.json"
|
||||||
|
/>
|
||||||
|
</wadl:doc>
|
||||||
|
&unmanageVolumeReqParameters;
|
||||||
|
</representation>
|
||||||
|
</request>
|
||||||
|
<response status="202"/>
|
||||||
|
</method>
|
||||||
<method name="GET" id="getVolumeTypes">
|
<method name="GET" id="getVolumeTypes">
|
||||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||||
title="List volume types">
|
title="List volume types">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user