Request id is not uuid, it's a int

Change request id of floating ip from uuid to int.

Change-Id: I54f816766dcdc39078386fc6c45dc30d7ab05dbf
Partial-Bug: #1515222
This commit is contained in:
jichenjc 2015-11-22 12:24:15 +08:00 committed by Diane Fleming
parent 9491efa948
commit 3fb3b47350
2 changed files with 7 additions and 5 deletions

View File

@ -1652,13 +1652,15 @@
<para>The IP address.</para>
</wadl:doc>
</param>'>
<!ENTITY floating-ip-idRequestParameter '
<param name="floating_ip_id" style="template" type="csapi:UUID"
<!ENTITY floating_ip_idRequestParameter '
<param name="floating_ip_id" style="template" type="xsd:int"
xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"
xmlns:wadl="http://wadl.dev.java.net/2009/02">
<para>The UUID of the floating IP address.</para>
<para>
The ID of the floating IP address.
</para>
</wadl:doc>
</param>'>
<!ENTITY instanceIdRequestParameter '

View File

@ -19,8 +19,8 @@
<resource id="os-floating-ips" path="os-floating-ips">
<method href="#listFloatingIPs"/>
<method href="#createFloatingIP"/>
<resource id="floating-ip-id" path="{floating-ip-id}">
&floating-ip-idRequestParameter;
<resource id="floating_ip_id" path="{floating_ip_id}">
&floating_ip_idRequestParameter;
<method href="#showFloatingIP"/>
<method href="#deleteFloatingIP"/>
</resource>