Fix bug #911330 : ResizeServer sample uses wrong Flavor ID

Change-Id: I3939b0f56d4189ff601e22380ec90f52c982acb7
This commit is contained in:
razique
2012-04-18 23:37:02 +02:00
parent b24d75b66f
commit c53d6f7f96
3 changed files with 4 additions and 6 deletions

View File

@@ -3139,10 +3139,8 @@ Host: servers.api.openstack.org/v2/
<tr>
<td>flavorRef</td>
<td>
<para>The flavor reference, which
is the endpoint appended with the
following
string:<programlisting><parameter>tenant_id</parameter>/flavors/<parameter>flavor_id</parameter></programlisting></para>
<para>The flavor ID
:<programlisting><parameter>flavor_id</parameter></programlisting></para>
</td>
<td>Yes</td>
</tr>

View File

@@ -1,5 +1,5 @@
{
"resize" : {
"flavorRef" : "http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
"flavorRef" : "4"
}
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<resize
xmlns="http://docs.openstack.org/compute/api/v1.1"
flavorRef="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
flavorRef="4"/>