Fix bug #911330 : ResizeServer sample uses wrong Flavor ID
Change-Id: I3939b0f56d4189ff601e22380ec90f52c982acb7
This commit is contained in:
@@ -3139,10 +3139,8 @@ Host: servers.api.openstack.org/v2/
|
|||||||
<tr>
|
<tr>
|
||||||
<td>flavorRef</td>
|
<td>flavorRef</td>
|
||||||
<td>
|
<td>
|
||||||
<para>The flavor reference, which
|
<para>The flavor ID
|
||||||
is the endpoint appended with the
|
:<programlisting><parameter>flavor_id</parameter></programlisting></para>
|
||||||
following
|
|
||||||
string:<programlisting><parameter>tenant_id</parameter>/flavors/<parameter>flavor_id</parameter></programlisting></para>
|
|
||||||
</td>
|
</td>
|
||||||
<td>Yes</td>
|
<td>Yes</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"resize" : {
|
"resize" : {
|
||||||
"flavorRef" : "http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
|
"flavorRef" : "4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<resize
|
<resize
|
||||||
xmlns="http://docs.openstack.org/compute/api/v1.1"
|
xmlns="http://docs.openstack.org/compute/api/v1.1"
|
||||||
flavorRef="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
flavorRef="4"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user