Merge lp:~jorgew/openstack-manuals/coreUpdates into lp:~annegentle/openstack-manuals/trunk
- coreUpdates
- Merge into trunk
Proposed by
Anne Gentle
Status: | Merged |
---|---|
Merged at revision: | 117 |
Proposed branch: | lp:~jorgew/openstack-manuals/coreUpdates |
Merge into: | lp:~annegentle/openstack-manuals/trunk |
Diff against target: |
7691 lines (+3166/-2369) 126 files modified
doc/source/docbkx/openstack-compute-api-1.1/os-compute-devguide.xml (+770/-511) doc/source/docbkx/openstack-compute-api-1.1/samples/addresses.json (+30/-20) doc/source/docbkx/openstack-compute-api-1.1/samples/choices.json (+42/-48) doc/source/docbkx/openstack-compute-api-1.1/samples/choices.xml (+2/-2) doc/source/docbkx/openstack-compute-api-1.1/samples/ext-servers.json (+83/-42) doc/source/docbkx/openstack-compute-api-1.1/samples/ext-servers.xml (+31/-19) doc/source/docbkx/openstack-compute-api-1.1/samples/extensions.json (+40/-42) doc/source/docbkx/openstack-compute-api-1.1/samples/flavor.json (+6/-12) doc/source/docbkx/openstack-compute-api-1.1/samples/flavor.xml (+6/-10) doc/source/docbkx/openstack-compute-api-1.1/samples/flavors-page1.json (+39/-51) doc/source/docbkx/openstack-compute-api-1.1/samples/flavors-page1.xml (+13/-21) doc/source/docbkx/openstack-compute-api-1.1/samples/flavors.json (+34/-48) doc/source/docbkx/openstack-compute-api-1.1/samples/flavors.xml (+12/-20) doc/source/docbkx/openstack-compute-api-1.1/samples/forbidden.json (+7/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/forbidden.xml (+5/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-full.json (+47/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-full.xml (+30/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-response.json (+33/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-response.xml (+21/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/image-create.json (+8/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/image-create.xml (+5/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/image-fault.json (+27/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/image-fault.xml (+20/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/image-meta-page1.json (+14/-16) doc/source/docbkx/openstack-compute-api-1.1/samples/image-meta-page1.xml (+4/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/image.json (+20/-19) doc/source/docbkx/openstack-compute-api-1.1/samples/image.xml (+14/-15) doc/source/docbkx/openstack-compute-api-1.1/samples/images-page1.json (+18/-20) doc/source/docbkx/openstack-compute-api-1.1/samples/images-page1.xml (+4/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/images-page2.json (+9/-15) doc/source/docbkx/openstack-compute-api-1.1/samples/images-page2.xml (+3/-5) doc/source/docbkx/openstack-compute-api-1.1/samples/images-page3.json (+12/-20) doc/source/docbkx/openstack-compute-api-1.1/samples/images-page3.xml (+3/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/images.json (+55/-58) doc/source/docbkx/openstack-compute-api-1.1/samples/images.xml (+26/-26) doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup.json (+7/-13) doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup.xml (+7/-11) doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup2.json (+1/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup2.xml (+1/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups-page1.json (+44/-49) doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups-page1.xml (+20/-26) doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups.json (+39/-46) doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups.xml (+19/-25) doc/source/docbkx/openstack-compute-api-1.1/samples/limits.json (+61/-65) doc/source/docbkx/openstack-compute-api-1.1/samples/limits2.json (+50/-52) doc/source/docbkx/openstack-compute-api-1.1/samples/limits3.json (+5/-7) doc/source/docbkx/openstack-compute-api-1.1/samples/limits4.json (+1/-5) doc/source/docbkx/openstack-compute-api-1.1/samples/metadata.json (+1/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/private.json (+1/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/public.json (+1/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild.json (+3/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild.xml (+3/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_all.json (+4/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_all.xml (+2/-2) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_encoding.json (+5/-5) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_encoding.xml (+2/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_length.json (+4/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_length.xml (+2/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_path.json (+4/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_path.xml (+2/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_files.json (+4/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_files.xml (+2/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_key.json (+4/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_key.xml (+2/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_value.json (+4/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_value.xml (+2/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_both.json (+4/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_both.xml (+2/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_file.json (+3/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_file.xml (+2/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_meta.json (+4/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_meta.xml (+2/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_name.json (+3/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_name.xml (+3/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/resize.json (+3/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/resize.xml (+3/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/server-fault.json (+31/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/server-fault.xml (+20/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-encoding.json (+7/-5) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-encoding.xml (+3/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-length.json (+7/-5) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-length.xml (+3/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-path.json (+7/-5) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-path.xml (+3/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-files.json (+7/-5) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-files.xml (+3/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-key.json (+6/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-key.xml (+3/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-value.json (+6/-4) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-value.xml (+3/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip.json (+12/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip.xml (+6/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip2.json (+13/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip2.xml (+8/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req.json (+7/-5) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req.xml (+3/-3) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-resp.json (+68/-45) doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-resp.xml (+25/-13) doc/source/docbkx/openstack-compute-api-1.1/samples/server-put-req-ad.json (+7/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/server-put-req-ad.xml (+6/-0) doc/source/docbkx/openstack-compute-api-1.1/samples/server-simple.json (+6/-12) doc/source/docbkx/openstack-compute-api-1.1/samples/server-simple.xml (+5/-10) doc/source/docbkx/openstack-compute-api-1.1/samples/server.json (+77/-48) doc/source/docbkx/openstack-compute-api-1.1/samples/server.xml (+45/-34) doc/source/docbkx/openstack-compute-api-1.1/samples/servers-meta-page1.json (+0/-96) doc/source/docbkx/openstack-compute-api-1.1/samples/servers-page1.json (+164/-114) doc/source/docbkx/openstack-compute-api-1.1/samples/servers-page1.xml (+55/-28) doc/source/docbkx/openstack-compute-api-1.1/samples/servers.json (+158/-108) doc/source/docbkx/openstack-compute-api-1.1/samples/servers.xml (+54/-27) doc/source/docbkx/openstack-compute-api-1.1/samples/shareip.json (+1/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/shareip.xml (+1/-1) doc/source/docbkx/openstack-compute-api-1.1/samples/versions.json (+24/-26) doc/source/docbkx/openstack-compute-api-1.1/xsd/actions.xsd (+49/-22) doc/source/docbkx/openstack-compute-api-1.1/xsd/api.xjb (+5/-1) doc/source/docbkx/openstack-compute-api-1.1/xsd/api.xsd (+12/-1) doc/source/docbkx/openstack-compute-api-1.1/xsd/common.xsd (+17/-1) doc/source/docbkx/openstack-compute-api-1.1/xsd/extensions.xsd (+1/-1) doc/source/docbkx/openstack-compute-api-1.1/xsd/faults.xsd (+28/-0) doc/source/docbkx/openstack-compute-api-1.1/xsd/flavor.xsd (+17/-3) doc/source/docbkx/openstack-compute-api-1.1/xsd/image.xsd (+54/-38) doc/source/docbkx/openstack-compute-api-1.1/xsd/ipgroup.xsd (+17/-3) doc/source/docbkx/openstack-compute-api-1.1/xsd/metadata.xsd (+89/-0) doc/source/docbkx/openstack-compute-api-1.1/xsd/server.xsd (+99/-268) doc/source/docbkx/openstack-compute-api-1.1/xsd/shareip.xjb (+11/-0) doc/source/docbkx/openstack-compute-api-1.1/xsd/shareip.xsd (+83/-0) doc/source/docbkx/openstack-compute-api-1.1/xsd/version.xsd (+1/-1) |
To merge this branch: | bzr merge lp:~jorgew/openstack-manuals/coreUpdates |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Anne Gentle | Pending | ||
Review via email: mp+65759@code.launchpad.net |
Commit message
Description of the change
I've pushed a branch
lp:~jorgew/openstack-manuals/coreUpdates
I've not been able to build locally and I had so many conflicts that I may have undone some of your edits. Can you review. I'd like to get this out there sooner rather than later -- but what else is new :-) There's a minor fix I have to do tomorrow morning but wouldn't mind publishing before hand.
Thanks for all your help,
jOrGe W.
To post a comment you must log in.
- 117. By Anne Gentle
-
Merged OpenStack API 1.1 updates from JorgeW
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/os-compute-devguide.xml' |
2 | --- doc/source/docbkx/openstack-compute-api-1.1/os-compute-devguide.xml 2011-06-06 19:39:45 +0000 |
3 | +++ doc/source/docbkx/openstack-compute-api-1.1/os-compute-devguide.xml 2011-06-24 02:29:39 +0000 |
4 | @@ -4,6 +4,7 @@ |
5 | <!ENTITY ndash "–"> |
6 | <!ENTITY mdash "—"> |
7 | <!ENTITY hellip "…"> |
8 | + <!ENTITY plusmn "±"> |
9 | |
10 | <!-- Useful for describing APIs --> |
11 | <!ENTITY GET '<command xmlns="http://docbook.org/ns/docbook">GET</command>'> |
12 | @@ -61,7 +62,7 @@ |
13 | </copyright> |
14 | <releaseinfo>API v1.1</releaseinfo> |
15 | <productname>OpenStack Compute</productname> |
16 | - <pubdate>2011-04-25</pubdate> |
17 | + <pubdate>2011-06-23</pubdate> |
18 | <legalnotice role="apache2"> |
19 | <annotation> |
20 | <remark>Copyright details are filled in by the template.</remark> |
21 | @@ -69,7 +70,7 @@ |
22 | </legalnotice> |
23 | <abstract> |
24 | <para>This document is intended for software developers interested in developing |
25 | - applications using the OpenStack Compute Application Programming Interface |
26 | + applications using the OpenStack Compute Application Programming Interface |
27 | (<abbrev>API</abbrev>). </para> |
28 | </abstract> |
29 | </info> |
30 | @@ -122,13 +123,117 @@ |
31 | </thead> |
32 | <tbody> |
33 | <tr> |
34 | + <td colspan="1" align="center">June 23, 2011</td> |
35 | + <td colspan="4"> |
36 | + <itemizedlist spacing="compact"> |
37 | + <listitem> |
38 | + <para> |
39 | + Many minor updates based |
40 | + on community feedback. |
41 | + </para> |
42 | + </listitem> |
43 | + <listitem> |
44 | + <para> |
45 | + Removed sections on |
46 | + Content Compression, |
47 | + Persistent Connections, |
48 | + and Caching -- these are |
49 | + operator specific. Added |
50 | + section on HTTP. |
51 | + </para> |
52 | + </listitem> |
53 | + <listitem> |
54 | + <para> |
55 | + A Location header is |
56 | + returned when creating |
57 | + servers/images. |
58 | + </para> |
59 | + </listitem> |
60 | + <listitem> |
61 | + <para> |
62 | + Added filters to |
63 | + collection of Image, |
64 | + Servers, and Flavors. |
65 | + </para> |
66 | + </listitem> |
67 | + <listitem> |
68 | + <para> |
69 | + Added asynchronous faults. |
70 | + </para> |
71 | + </listitem> |
72 | + <listitem> |
73 | + <para> |
74 | + Updates to links and |
75 | + references. Remove |
76 | + serverRef, imageRef, and |
77 | + flavorRef and instead |
78 | + embed one entity in |
79 | + another to provide links. |
80 | + </para> |
81 | + </listitem> |
82 | + <listitem> |
83 | + <para> |
84 | + Added primary IP addresses. |
85 | + </para> |
86 | + </listitem> |
87 | + <listitem> |
88 | + <para> |
89 | + Added forbidden fault. |
90 | + </para> |
91 | + </listitem> |
92 | + <listitem> |
93 | + <para> |
94 | + We now use a single bookmark link per entity regardless of mimetype. |
95 | + </para> |
96 | + </listitem> |
97 | + <listitem> |
98 | + <para> |
99 | + Collections are now sorted by create time. |
100 | + </para> |
101 | + </listitem> |
102 | + <listitem> |
103 | + <para> |
104 | + Previous links are no longer required. |
105 | + </para> |
106 | + </listitem> |
107 | + <listitem> |
108 | + <para> |
109 | + Added the ability to create or update multiple metadata items simultaneously. |
110 | + </para> |
111 | + </listitem> |
112 | + <listitem> |
113 | + <para> |
114 | + Minor cleanups to server and image state machine. |
115 | + </para> |
116 | + </listitem> |
117 | + <listitem> |
118 | + <para> |
119 | + Update to JSON collection format. |
120 | + </para> |
121 | + </listitem> |
122 | + <listitem> |
123 | + <para> |
124 | + Replace integer IDs with UUIDs. |
125 | + </para> |
126 | + </listitem> |
127 | + <listitem> |
128 | + <para> |
129 | + Removed affinityID, this |
130 | + will likely come in as an |
131 | + extension. |
132 | + </para> |
133 | + </listitem> |
134 | + </itemizedlist> |
135 | + </td> |
136 | + </tr> |
137 | + <tr> |
138 | <td colspan="1" align="center">April 25, 2011</td> |
139 | <td colspan="4"> |
140 | <itemizedlist spacing="compact"> |
141 | <listitem> |
142 | <para> |
143 | Some minor cleanups in |
144 | - preperation for OpenStack |
145 | + preparation for OpenStack |
146 | Summit discussion. |
147 | </para> |
148 | </listitem> |
149 | @@ -199,22 +304,28 @@ |
150 | </tbody> |
151 | </informaltable> |
152 | </section> |
153 | - <section><?dbhtml filename="additional-resources.html" ?> |
154 | + <!-- Again, don't know what to do with the additional resources section --> |
155 | + <!-- |
156 | + <section> |
157 | <title>Additional Resources</title> |
158 | - <para>You can download the most current version of this document from the OpenStack Docs |
159 | - website at <link |
160 | - xlink:href="http://docs.openstack.org"> |
161 | - http://docs.openstack.org</link>. </para> |
162 | - <para> For more details about the Cloud Servers service that this API is based upon, please refer to <link |
163 | - xlink:href="http://www.rackspacecloud.com/cloud_hosting_products/servers" |
164 | - >http://www.rackspacecloud.com/cloud_hosting_products/servers</link>. Related |
165 | + <para> You can download the most current version of this document from the Rackspace |
166 | + Cloud website at <link xlink:href="http://docs.openstack.org/servers/api/cs-devguide-latest.pdf"> |
167 | + http://docs.openstack.org/servers/api/cs-devguide-latest.pdf</link>. |
168 | + </para> |
169 | + <para> For more details about the Cloud Servers service, please refer to <link |
170 | + xlink:href="http://www.openstack.org/cloud_hosting_products/servers" |
171 | + >http://www.openstack.org/cloud_hosting_products/servers</link>. Related |
172 | documents, including an <link |
173 | - xlink:href="http://docs.rackspacecloud.com/servers/api/cs-bindguide-latest.pdf" |
174 | + xlink:href="http://docs.openstack.org/servers/api/cs-bindguide-latest.pdf" |
175 | >API Language Binding Guide</link>, are available at the same site, as are links |
176 | to Rackspace's official support channels, including knowledge base articles, forums, |
177 | phone, chat, and email.</para> |
178 | + <para> You can also follow updates and announcements via twitter at <link |
179 | + xlink:href="http://www.twitter.com/rackcloud" |
180 | + >http://www.twitter.com/rackcloud</link> |
181 | + </para> |
182 | </section> |
183 | - |
184 | + --> |
185 | </chapter> |
186 | <chapter> |
187 | <?dbhtml stop-chunking?> |
188 | @@ -282,21 +393,38 @@ |
189 | </chapter> |
190 | <chapter> |
191 | <title>General API Information</title> |
192 | - <para> The OpenStack Compute API is implemented using a ReSTful web service interface.</para> |
193 | - <note> |
194 | - <para> |
195 | - All requests to authenticate and operate against Cloud |
196 | - Servers are performed using SSL over HTTP (HTTPS) on |
197 | - TCP port 443. |
198 | - </para> |
199 | - </note> |
200 | + <para> |
201 | + The OpenStack Compute API is defined as a ReSTful HTTP |
202 | + service. The API takes advantage of all aspects of the |
203 | + HTTP protocol (methods, URIs, media types, response codes, |
204 | + etc.) and providers are free to use existing features of |
205 | + the protocol such as caching, persistent connections, and |
206 | + content compression among others. For example, providers |
207 | + who employ a caching layer may respond with a 203 when a |
208 | + request is served from the cache instead of a 200. |
209 | + Additionally, providers may offer support for conditional |
210 | + &GET; requests using ETags, or they may send a redirect in |
211 | + response to a &GET; request. Clients should be written to |
212 | + account for these differences. |
213 | + </para> |
214 | <section> |
215 | <title>Authentication</title> |
216 | - <para> Each HTTP request against the OpenStack Compute system requires the inclusion of |
217 | - specific authentication credentials. A single deployment may support multiple |
218 | - authentication schemes (OAuth, Basic Auth, Token). The authentication scheme used is |
219 | - determined by the provider of the OpenStack Compute system. Please contact your |
220 | - provider to determine the best way to authenticate against this API. </para> |
221 | + <para> |
222 | + Each HTTP request against the OpenStack Compute system |
223 | + requires the inclusion of specific authentication |
224 | + credentials. A single deployment may support multiple |
225 | + authentication schemes (OAuth, Basic Auth, Token). The |
226 | + authentication scheme used is determined by the |
227 | + provider of the OpenStack Compute system. Please contact |
228 | + contact your provider to determine the best way to |
229 | + authenticate against this API. |
230 | + </para> |
231 | + <note> |
232 | + <para> |
233 | + Some authentication schemes may require that the |
234 | + API operate using SSL over HTTP (HTTPS). |
235 | + </para> |
236 | + </note> |
237 | </section> |
238 | <section> |
239 | <title>Request/Response Types</title> |
240 | @@ -350,13 +478,7 @@ |
241 | Accept: application/xml |
242 | X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb |
243 | </literallayout> |
244 | - <programlisting language="javascript"> |
245 | -{ |
246 | - "image" : { |
247 | - "serverRef" : "http://servers.api.openstack.org/v1.1/1234/servers/12", |
248 | - "name" : "Just in case"} |
249 | -} |
250 | - </programlisting> |
251 | + <programlisting language="javascript"><xi:include href="samples/image-create.json" parse="text"/></programlisting> |
252 | </example> |
253 | <example> |
254 | <title>Response with Headers: XML</title> |
255 | @@ -365,35 +487,18 @@ |
256 | Date: Mon, 12 Nov 2007 15:55:01 GMT |
257 | Server: Apache |
258 | Content-Length: 185 |
259 | - </literallayout> |
260 | - <programlisting language="xml"> |
261 | Content-Type: application/xml; charset=UTF-8 |
262 | -<image xmlns="http://docs.openstack.org/compute/api/v1.1" |
263 | - id="22" name="Just in case" |
264 | - serverRef="http://servers.api.openstack.org/v1.1/1234/servers/12" |
265 | - created="2010-10-10T12:00:00Z" |
266 | - status="SAVING" progress="0"> |
267 | - <atom:link |
268 | - rel="self" |
269 | - href="http://servers.api.openstack.org/v1.1/1234/images/22"/> |
270 | - <atom:link |
271 | - rel="bookmark" |
272 | - type="application/vnd.openstack.compute-v1.1+xml" |
273 | - href="http://servers.api.openstack.org/1234/images/22"/> |
274 | - <atom:link |
275 | - rel="bookmark" |
276 | - type="application/vnd.openstack.compute-v1.1+json" |
277 | - href="http://servers.api.openstack.org/1234/images/22"/> |
278 | -</image> |
279 | - </programlisting> |
280 | + </literallayout> |
281 | + <programlisting language="xml"><xi:include href="samples/image-create-response.xml" parse="text"/></programlisting> |
282 | </example> |
283 | <para> |
284 | Notice, in the above example, that the content type is |
285 | - set to application/json but application/xml is |
286 | - requested via the <code>Accept</code> header. An alternative |
287 | - method of achieving the same result is illustrated |
288 | - below – this time we utilize a URI extension instead |
289 | - of an <code>Accept</code> header. |
290 | + set to application/json but it asks for an |
291 | + application/xml response with the <code>Accept</code> |
292 | + header. An alternative method of achieving the same |
293 | + result is illustrated below – this time we utilize a |
294 | + URI extension instead of an <code>Accept</code> |
295 | + header. |
296 | </para> |
297 | <example> |
298 | <title>Request with Extension: JSON</title> |
299 | @@ -403,133 +508,60 @@ |
300 | Content-Type: application/json |
301 | X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb |
302 | </literallayout> |
303 | - <programlisting language="javascript"> |
304 | -{ |
305 | - "image" : { |
306 | - "serverRef" : "http://servers.api.openstack.org/v1.1/1234/servers/12", |
307 | - "name" : "Just in case"} |
308 | -} |
309 | - </programlisting> |
310 | + <programlisting language="javascript"><xi:include href="samples/image-create.json" parse="text"/></programlisting> |
311 | </example> |
312 | </section> |
313 | <?hard-pagebreak?> |
314 | - <section> |
315 | - <title>Content Compression</title> |
316 | - <para> |
317 | - Request and response body data may be encoded with |
318 | - gzip compression in order to accelerate interactive |
319 | - performance of API calls and responses. This is |
320 | - controlled using the <code>Accept-Encoding</code> |
321 | - header on the request from the client and indicated by |
322 | - the <code>Content-Encoding</code> header in the server |
323 | - response. Unless the header is explicitly set, |
324 | - encoding defaults to disabled. |
325 | - </para> |
326 | - <table rules="all"> |
327 | - <caption>Encoding Headers</caption> |
328 | - <thead> |
329 | - <tr> |
330 | - <td>Header Type</td> |
331 | - <td>Name</td> |
332 | - <td>Value</td> |
333 | - </tr> |
334 | - </thead> |
335 | - <tbody> |
336 | - <tr> |
337 | - <td>HTTP/1.1 Request</td> |
338 | - <td><code>Accept-Encoding</code></td> |
339 | - <td>gzip</td> |
340 | - </tr> |
341 | - <tr> |
342 | - <td>HTTP/1.1 Response</td> |
343 | - <td><code>Content-Encoding</code></td> |
344 | - <td>gzip</td> |
345 | - </tr> |
346 | - </tbody> |
347 | - </table> |
348 | - </section> |
349 | - <section> |
350 | - <title>Persistent Connections</title> |
351 | - <para> |
352 | - By default, the API supports persistent connections |
353 | - via HTTP/1.1 keepalives. All connections will be kept |
354 | - alive unless the connection header is set to close. |
355 | - </para> |
356 | - <para> |
357 | - To prevent abuse, HTTP sessions have a timeout of 20 |
358 | - seconds before being closed. |
359 | - </para> |
360 | - <note> |
361 | - <para> |
362 | - The server may close the connection at any time |
363 | - and clients should not rely on this behavior. |
364 | - </para> |
365 | - </note> |
366 | - </section> |
367 | + |
368 | <?hard-pagebreak?> |
369 | - <section> |
370 | + <section xml:id="LinksReferences"> |
371 | <title>Links and References</title> |
372 | <para> |
373 | Often resources need to refer to other resources. For |
374 | example, when creating an image, you must specify the |
375 | server from which to build the image from. You can |
376 | - specify the server by providing an ID to the server |
377 | - resource as shown in the following example. When |
378 | + specify the server by embedding a server in the image |
379 | + request. The server need not be specified in its |
380 | + entirety, providing an ID to the server resource as |
381 | + shown in the following example will suffice. When |
382 | providing an ID, it is assumed that the resource |
383 | - exists in the current OpenStack deployment. Notice |
384 | - that, in JSON, the ID is specified as an integer. |
385 | + exists in the current OpenStack deployment. |
386 | </para> |
387 | <example> |
388 | <title>ID Server Reference: XML</title> |
389 | - <programlisting language="xml"> |
390 | -<image xmlns="http://docs.openstack.org/compute/api/v1.1" |
391 | - name="Just in case" serverRef="12" /> |
392 | - </programlisting> |
393 | + <programlisting language="xml"><xi:include href="samples/image-create.xml" parse="text"/></programlisting> |
394 | </example> |
395 | <example> |
396 | <title>ID Server Reference: JSON</title> |
397 | - <programlisting language="javascript"> |
398 | -{ |
399 | - "image" : { |
400 | - "serverRef" : 12, |
401 | - "name" : "Just in case" |
402 | - } |
403 | -} |
404 | - </programlisting> |
405 | + <programlisting language="javascript"><xi:include href="samples/image-create.json" parse="text"/></programlisting> |
406 | </example> |
407 | <para> |
408 | There are times, however, when you may wish to refer |
409 | to resources in other deployments. In these cases you |
410 | - should refer to the resource via its full URI as |
411 | - illustrated below. |
412 | + should refer to the resource via its full URI a simple |
413 | + way of doing this is to retrieve the resource via a |
414 | + &GET; call and embed it as part of the request. This |
415 | + is illustrated below. Note that although the full |
416 | + server is provided only the links are necessary for |
417 | + the image to build. |
418 | </para> |
419 | <example> |
420 | <title>Full Server Reference: XML</title> |
421 | - <programlisting language="xml"> |
422 | -<image xmlns="http://docs.openstack.org/compute/api/v1.1" |
423 | - name="Just in case" serverRef="http://servers.api.openstack.org/v1.1/1234/servers/12" /> |
424 | - </programlisting> |
425 | + <programlisting language="xml"><xi:include href="samples/image-create-full.xml" parse="text"/></programlisting> |
426 | </example> |
427 | <example> |
428 | <title>Full Server Reference: JSON</title> |
429 | - <programlisting language="javascript"> |
430 | -{ |
431 | - "image" : { |
432 | - "serverRef" : "http://servers.api.openstack.org/v1.1/1234/servers/12", |
433 | - "name" : "Just in case" |
434 | - } |
435 | -} |
436 | - </programlisting> |
437 | + <programlisting language="javascript"><xi:include href="samples/image-create-full.json" parse="text"/></programlisting> |
438 | </example> |
439 | <para> |
440 | For convenience, resources contain links to |
441 | themselves. This allows a client to easily obtain a |
442 | resource URIs rather than to construct them. There |
443 | are two kinds of link relations associated with |
444 | - resources. A <code>self</code> link contains the link |
445 | - to the resource exactly as it was retrieved. That is, |
446 | - the URI that was obtained via a &GET; is simply |
447 | - returned. A <code>bookmark</code> link provides a |
448 | + resources. A <code>self</code> link contains a |
449 | + versioned link to the resource. These links should be |
450 | + used in cases where the link will be followed |
451 | + immediately. A <code>bookmark</code> link provides a |
452 | permanent link to a resource that is appropriate for |
453 | long term storage. |
454 | </para> |
455 | @@ -555,12 +587,12 @@ |
456 | (e.g.?<parameter>limit</parameter>=100&<parameter>marker</parameter>=1234). |
457 | The <parameter>marker</parameter> parameter is the ID |
458 | of the last item in the previous list. Items are |
459 | - sorted by update time. When an update time is not |
460 | - available they are sorted by ID. The |
461 | - <parameter>limit</parameter> parameter sets the page |
462 | - size. Both parameters are optional. If the client |
463 | - requests a <parameter>limit</parameter> beyond that |
464 | - which is supported by the deployment an overLimit |
465 | + sorted by create time in descending order. When a |
466 | + create time is not available they are sorted by ID. |
467 | + The <parameter>limit</parameter> parameter sets the |
468 | + page size. Both parameters are optional. If the |
469 | + client requests a <parameter>limit</parameter> beyond |
470 | + that which is supported by the deployment an overLimit |
471 | (<errorcode>413</errorcode>) fault may be thrown. A |
472 | marker with an invalid ID will return an itemNotFound |
473 | (<errorcode>404</errorcode>) fault. |
474 | @@ -574,19 +606,19 @@ |
475 | </para> |
476 | </note> |
477 | <para> |
478 | - For convenience, collections contain atom "next" and |
479 | - "previous" links. The first page in the list will not |
480 | - contain a "previous" link, the last page in the list |
481 | - will not contain a "next" link. The following examples |
482 | + For convenience, collections are required to contain |
483 | + atom "next" links. They may optionally also contain |
484 | + "previous" links. The last page in the list will not |
485 | + contain a "next" link. The following examples |
486 | illustrate three pages in a collection of images. The |
487 | first page was retrieved via a &GET; to |
488 | http://servers.api.openstack.org/v1.1/1234/images?limit=1. |
489 | In these examples, the <parameter>limit</parameter> |
490 | parameter sets the page size to a single item. |
491 | - Subsequent "next" and "previous" links will honor the |
492 | - initial page size. Thus, a client may follow links to |
493 | - traverse a paginated collection without having to |
494 | - input the <parameter>marker</parameter> parameter. |
495 | + Subsequent links will honor the initial page size. |
496 | + Thus, a client may follow links to traverse a |
497 | + paginated collection without having to input the |
498 | + <parameter>marker</parameter> parameter. |
499 | </para> |
500 | <?hard-pagebreak?> |
501 | <example> |
502 | @@ -625,17 +657,23 @@ |
503 | href="samples/images-page3.json" parse="text"/></programlisting> |
504 | </example> |
505 | <para> |
506 | - In the JSON representation, paginated collections |
507 | - contain a <property>values</property> property that |
508 | - contains the items in the collections. Links are |
509 | - accessed via the <property>links</property> |
510 | - property. The approach allows for extensibility of |
511 | - both the collection members and of the paginated |
512 | - collection itself. It also allows collections to be |
513 | - embedded in other objects as illustrated below. Here, a |
514 | - subset of metadata items are presented within the |
515 | - image. Clients must follow the "next" link to retrieve |
516 | - the full set of metadata. |
517 | + In JSON, members in a paginated collection are stored |
518 | + in a JSON array named after the collection. A JSON |
519 | + object may also be used to hold members in cases where |
520 | + using an associative array is more practical. |
521 | + Properties about the collection itself, including |
522 | + links, are contained in an array with the name of the |
523 | + entity an underscore (_) and <code>links</code>. The |
524 | + combination of the objects and arrays that start with |
525 | + the name of the collection and an underscore |
526 | + represent the collection in JSON. The approach allows |
527 | + for extensibility of paginated collections by allowing |
528 | + them to be associated with arbitrary properties. It |
529 | + also allows collections to be embedded in other |
530 | + objects as illustrated below. Here, a subset of |
531 | + metadata items are presented within the image. Clients |
532 | + must follow the "next" link to retrieve the full set |
533 | + of metadata. |
534 | </para> |
535 | <example> |
536 | <title>Paginated Metadata in an Image: XML</title> |
537 | @@ -649,35 +687,7 @@ |
538 | href="samples/image-meta-page1.json" parse="text"/></programlisting> |
539 | </example> |
540 | </section> |
541 | - <section> |
542 | - <title>Caching</title> |
543 | - <para> |
544 | - The OpenStack Compute API makes extensive use of |
545 | - caching layers at various tiers of the system. Purging |
546 | - mechanisms exist to ensure that objects served out of |
547 | - cache are accurate and up to date. &GET;s returning a |
548 | - cached entity return a <returnvalue>203 |
549 | - (Cached)</returnvalue> to signal users that the value |
550 | - is being served out of cache. Additionally, cached |
551 | - entities have the following header set: |
552 | - </para> |
553 | - <table rules="all"> |
554 | - <caption>Last Modified Header</caption> |
555 | - <thead> |
556 | - <tr> |
557 | - <td colspan="1">Header</td> |
558 | - <td colspan="3">Description</td> |
559 | - </tr> |
560 | - </thead> |
561 | - <tbody> |
562 | - <tr> |
563 | - <td colspan="1"><code>Last-Modified</code></td> |
564 | - <td colspan="3">Date and time when the entity was last updated in cache.</td> |
565 | - </tr> |
566 | - </tbody> |
567 | - </table> |
568 | - </section> |
569 | - <section> |
570 | + <section xml:id="ChangesSince"> |
571 | <title>Efficient Polling with the |
572 | <parameter>Changes-Since</parameter> Parameter</title> |
573 | <para> The ReST API allows you to poll for the status of |
574 | @@ -689,22 +699,23 @@ |
575 | <parameter>changes-since</parameter> time is specified as |
576 | an <link |
577 | xlink:href="http://en.wikipedia.org/wiki/ISO_8601">ISO |
578 | - 8601</link> dateTime (2011-01-24T17:08Z). You may also |
579 | - specify a date without a timestamp (2011-01-24), in this |
580 | - case the UTC timezone will be assumed. The time zone should |
581 | - be specified as +hh:mm or -hh:mm and Z (Zulu) stands for UTC. |
582 | - If nothing has |
583 | - changed since the <parameter>changes-since</parameter> |
584 | - time, a <returnvalue>304 (Not Modified)</returnvalue> |
585 | - response will be returned. If data has changed, only the |
586 | - items changed since the specified time will be returned in |
587 | - the response. For example, performing a &GET; against |
588 | + 8601</link> dateTime (2011-01-24T17:08Z). The form for |
589 | + the timestamp is CCYY-MM-DDThh:mm:ss. An optional time |
590 | + zone may be written in by appending the form ±hh:mm |
591 | + which describes the timezone as an offset from UTC. When |
592 | + the timezone is not specified (2011-01-24T17:08), the UTC |
593 | + timezone will be assumed. If nothing has changed since |
594 | + the <parameter>changes-since</parameter> time, a |
595 | + <returnvalue>304 (Not Modified)</returnvalue> response |
596 | + will be returned. If data has changed, only the items |
597 | + changed since the specified time will be returned in the |
598 | + response. For example, performing a &GET; against |
599 | https://api.servers.openstack.org/v1.1/224532/servers?<parameter>changes-since</parameter>=2011-01-24T17:08Z |
600 | would list all servers that have changed since Mon, 24 Jan |
601 | 2011 17:08:00 UTC. </para> |
602 | </section> |
603 | <?hard-pagebreak?> |
604 | - <section><?dbhtml stop-chunking?> |
605 | + <section> |
606 | <title>Limits</title> |
607 | <para> |
608 | Accounts may be pre-configured with a set of thresholds |
609 | @@ -798,7 +809,7 @@ |
610 | In the event a request exceed the thresholds |
611 | established for your account, a |
612 | <errorcode>413</errorcode> HTTP response will be |
613 | - returned with a <code>Retry-After</code> header to |
614 | + returned with a <code>Reply-After</code> header to |
615 | notify the client when they can attempt to try |
616 | again. |
617 | </para> |
618 | @@ -893,6 +904,7 @@ |
619 | Error Response Code(s): |
620 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
621 | serviceUnavailable (<errorcode>503</errorcode>), unauthorized (<errorcode>401</errorcode>), |
622 | + forbidden (<errorcode>403</errorcode>), |
623 | badRequest (<errorcode>400</errorcode>), |
624 | overLimit (<errorcode>413</errorcode>) |
625 | </simpara> |
626 | @@ -1070,6 +1082,7 @@ |
627 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
628 | serviceUnavailable (<errorcode>503</errorcode>), |
629 | unauthorized (<errorcode>401</errorcode>), |
630 | + forbidden (<errorcode>403</errorcode>), |
631 | badRequest (<errorcode>400</errorcode>), |
632 | overLimit(<errorcode>413</errorcode>) |
633 | </simpara> |
634 | @@ -1271,155 +1284,206 @@ |
635 | <?hard-pagebreak?> |
636 | <section> |
637 | <title>Faults</title> |
638 | - <para> When an error occurs, the system will return an HTTP error response code denoting |
639 | - the type of error. The system will also return additional information about the |
640 | - fault in the body of the response. </para> |
641 | - <example> |
642 | - <title>Fault Response: XML</title> |
643 | - <programlisting language="xml"> |
644 | + <section> |
645 | + <title>Synchronous Faults</title> |
646 | + <para> |
647 | + When an error occurs at request time, the system |
648 | + will return an HTTP error response code denoting |
649 | + the type of error. The system will also return |
650 | + additional information about the fault in the body |
651 | + of the response. |
652 | + </para> |
653 | + <example> |
654 | + <title>Fault Response: XML</title> |
655 | + <programlisting language="xml"> |
656 | <xi:include href="samples/fault.xml" parse="text"/> |
657 | - </programlisting> |
658 | - </example> |
659 | - <example> |
660 | - <title>Fault Response: JSON</title> |
661 | - <programlisting language="javascript"> |
662 | + </programlisting> |
663 | + </example> |
664 | + <example> |
665 | + <title>Fault Response: JSON</title> |
666 | + <programlisting language="javascript"> |
667 | <xi:include href="samples/fault.json" parse="text"/> |
668 | - </programlisting> |
669 | - </example> |
670 | - <para> The error code is returned in the body of the response for convenience. The |
671 | + </programlisting> |
672 | + </example> |
673 | + <para> The error code is returned in the body of the response for convenience. The |
674 | message section returns a human-readable message that is appropriate for display to |
675 | the end user. The details section is optional and may contain information—for example, a stack trace—to |
676 | assist in tracking down an error. The detail section may or may not be |
677 | appropriate for display to an end user. </para> |
678 | - <para> |
679 | - The root element of the fault (e.g. computeFault) |
680 | - may change depending on the type of error. The |
681 | - following is a list of possible elements along with |
682 | - their associated error codes. |
683 | - </para> |
684 | - <?hard-pagebreak?> |
685 | - <table rules="all"> |
686 | - <caption>Fault Elements and Error Codes</caption> |
687 | - <thead> |
688 | - <tr> |
689 | - <td>Fault Element</td> |
690 | - <td>Associated Error Codes</td> |
691 | - <td>Expected in All Requests?</td> |
692 | - </tr> |
693 | - </thead> |
694 | - <tbody> |
695 | - <tr> |
696 | - <td>computeFault</td> |
697 | - <td>500, 400, other codes possible</td> |
698 | - <td align="center">&CHECK;</td> |
699 | - </tr> |
700 | - <tr> |
701 | - <td>serviceUnavailable</td> |
702 | - <td>503</td> |
703 | - <td align="center">&CHECK;</td> |
704 | - </tr> |
705 | - <tr> |
706 | - <td>unauthorized</td> |
707 | - <td>401</td> |
708 | - <td align="center">&CHECK;</td> |
709 | - </tr> |
710 | - <tr> |
711 | - <td>badRequest</td> |
712 | - <td>400</td> |
713 | - <td align="center">&CHECK;</td> |
714 | - </tr> |
715 | - <tr> |
716 | - <td>overLimit</td> |
717 | - <td>413</td> |
718 | - <td align="center">&CHECK;</td> |
719 | - </tr> |
720 | - <tr> |
721 | - <td>badMediaType</td> |
722 | - <td>415</td> |
723 | - <td/> |
724 | - </tr> |
725 | - <tr> |
726 | - <td>badMethod</td> |
727 | - <td>405</td> |
728 | - <td/> |
729 | - </tr> |
730 | - <tr> |
731 | - <td>itemNotFound</td> |
732 | - <td>404</td> |
733 | - <td/> |
734 | - </tr> |
735 | - <tr> |
736 | - <td>buildInProgress</td> |
737 | - <td>409</td> |
738 | - <td/> |
739 | - </tr> |
740 | - <tr> |
741 | - <td>serverCapacityUnavailable</td> |
742 | - <td>503</td> |
743 | - <td/> |
744 | - </tr> |
745 | - <tr> |
746 | - <td>backupOrResizeInProgress</td> |
747 | - <td>409</td> |
748 | - <td/> |
749 | - </tr> |
750 | - <tr> |
751 | - <td>resizeNotAllowed</td> |
752 | - <td>403</td> |
753 | - <td/> |
754 | - </tr> |
755 | - <tr> |
756 | - <td>notImplemented</td> |
757 | - <td>501</td> |
758 | - <td/> |
759 | - </tr> |
760 | - </tbody> |
761 | - </table> |
762 | - <example> |
763 | - <title>Fault Response, Item Not Found: XML</title> |
764 | - <programlisting language="xml"> |
765 | + <para> |
766 | + The root element of the fault (e.g. computeFault) |
767 | + may change depending on the type of error. The |
768 | + following is a list of possible elements along with |
769 | + their associated error codes. |
770 | + </para> |
771 | + <?hard-pagebreak?> |
772 | + <table rules="all"> |
773 | + <caption>Fault Elements and Error Codes</caption> |
774 | + <thead> |
775 | + <tr> |
776 | + <td>Fault Element</td> |
777 | + <td>Associated Error Codes</td> |
778 | + <td>Expected in All Requests?</td> |
779 | + </tr> |
780 | + </thead> |
781 | + <tbody> |
782 | + <tr> |
783 | + <td>computeFault</td> |
784 | + <td>500, 400, other codes possible</td> |
785 | + <td align="center">&CHECK;</td> |
786 | + </tr> |
787 | + <tr> |
788 | + <td>serviceUnavailable</td> |
789 | + <td>503</td> |
790 | + <td align="center">&CHECK;</td> |
791 | + </tr> |
792 | + <tr> |
793 | + <td>unauthorized</td> |
794 | + <td>401</td> |
795 | + <td align="center">&CHECK;</td> |
796 | + </tr> |
797 | + <tr> |
798 | + <td>forbidden</td> |
799 | + <td>403</td> |
800 | + <td align="center">&CHECK;</td> |
801 | + </tr> |
802 | + <tr> |
803 | + <td>badRequest</td> |
804 | + <td>400</td> |
805 | + <td align="center">&CHECK;</td> |
806 | + </tr> |
807 | + <tr> |
808 | + <td>overLimit</td> |
809 | + <td>413</td> |
810 | + <td align="center">&CHECK;</td> |
811 | + </tr> |
812 | + <tr> |
813 | + <td>badMediaType</td> |
814 | + <td>415</td> |
815 | + <td/> |
816 | + </tr> |
817 | + <tr> |
818 | + <td>badMethod</td> |
819 | + <td>405</td> |
820 | + <td/> |
821 | + </tr> |
822 | + <tr> |
823 | + <td>itemNotFound</td> |
824 | + <td>404</td> |
825 | + <td/> |
826 | + </tr> |
827 | + <tr> |
828 | + <td>buildInProgress</td> |
829 | + <td>409</td> |
830 | + <td/> |
831 | + </tr> |
832 | + <tr> |
833 | + <td>serverCapacityUnavailable</td> |
834 | + <td>503</td> |
835 | + <td/> |
836 | + </tr> |
837 | + <tr> |
838 | + <td>backupOrResizeInProgress</td> |
839 | + <td>409</td> |
840 | + <td/> |
841 | + </tr> |
842 | + <tr> |
843 | + <td>resizeNotAllowed</td> |
844 | + <td>403</td> |
845 | + <td/> |
846 | + </tr> |
847 | + <tr> |
848 | + <td>notImplemented</td> |
849 | + <td>501</td> |
850 | + <td/> |
851 | + </tr> |
852 | + </tbody> |
853 | + </table> |
854 | + <example> |
855 | + <title>Fault Response, Item Not Found: XML</title> |
856 | + <programlisting language="xml"> |
857 | <xi:include href="samples/notfound.xml" parse="text"/> |
858 | - </programlisting> |
859 | - </example> |
860 | - <example> |
861 | - <title>Fault Response, Item Not Found: JSON</title> |
862 | - <programlisting language="javascript"> |
863 | + </programlisting> |
864 | + </example> |
865 | + <example> |
866 | + <title>Fault Response, Item Not Found: JSON</title> |
867 | + <programlisting language="javascript"> |
868 | <xi:include href="samples/notfound.json" parse="text"/> |
869 | - </programlisting> |
870 | - </example> |
871 | - <para> |
872 | - From an XML schema perspective, all API faults are |
873 | - extensions of the base fault type ComputeAPIFault. |
874 | - When working with a system that binds XML to actual |
875 | - classes (such as JAXB), one should be capable of using |
876 | - ComputeAPIFault as a “catch-all” if there's no |
877 | - interest in distinguishing between individual fault |
878 | - types. |
879 | - </para> |
880 | - <para> |
881 | - The OverLimit fault is generated when a rate limit |
882 | - threshold is exceeded. For convenience, the fault |
883 | - adds a <property>retryAt</property> attribute that |
884 | - contains the content of the Retry-After header in XML |
885 | - Schema 1.0 date/time format. |
886 | - </para> |
887 | - <example> |
888 | - <title>Fault Response, Over Limit: XML</title> |
889 | - <programlisting language="xml"> |
890 | + </programlisting> |
891 | + </example> |
892 | + <para> |
893 | + From an XML schema perspective, all API faults are |
894 | + extensions of the base fault type ComputeAPIFault. |
895 | + When working with a system that binds XML to actual |
896 | + classes (such as JAXB), one should be capable of using |
897 | + ComputeAPIFault as a “catch-all” if there's no |
898 | + interest in distinguishing between individual fault |
899 | + types. |
900 | + </para> |
901 | + <para> |
902 | + The OverLimit fault is generated when a rate limit |
903 | + threshold is exceeded. For convenience, the fault |
904 | + adds a <property>retryAt</property> attribute that |
905 | + contains the content of the Retry-After header in XML |
906 | + Schema 1.0 date/time format. |
907 | + </para> |
908 | + <example> |
909 | + <title>Fault Response, Over Limit: XML</title> |
910 | + <programlisting language="xml"> |
911 | <xi:include href="samples/overlimit.xml" parse="text"/> |
912 | - </programlisting> |
913 | - </example> |
914 | - <example> |
915 | - <title>Fault Response, Over Limit: JSON</title> |
916 | - <programlisting language="javascript"> |
917 | + </programlisting> |
918 | + </example> |
919 | + <example> |
920 | + <title>Fault Response, Over Limit: JSON</title> |
921 | + <programlisting language="javascript"> |
922 | <xi:include href="samples/overlimit.json" parse="text"/> |
923 | - </programlisting> |
924 | - </example> |
925 | + </programlisting> |
926 | + </example> |
927 | + </section> |
928 | + <section> |
929 | + <title>Asynchronous Faults</title> |
930 | + <para> |
931 | + An error may occur in the background while a |
932 | + server or image is being built or while a server |
933 | + is executing an action. In these cases, the |
934 | + server or image is placed in an <code>ERROR</code> |
935 | + state and the fault is embedded in the offending |
936 | + server or image. Note that these asynchronous |
937 | + faults follow the same format as the synchronous |
938 | + ones. The fault contains an error code, a human |
939 | + readable message, and optional details about the |
940 | + error. |
941 | + </para> |
942 | + <example> |
943 | + <title>Server In Error Sate: XML</title> |
944 | + <programlisting language="xml"> |
945 | +<xi:include href="samples/server-fault.xml" parse="text"/> |
946 | + </programlisting> |
947 | + </example> |
948 | + <example> |
949 | + <title>Server In Error Sate: JSON</title> |
950 | + <programlisting language="javascript"> |
951 | +<xi:include href="samples/server-fault.json" parse="text"/> |
952 | + </programlisting> |
953 | + </example> |
954 | + <example> |
955 | + <title>Image In Error Sate: XML</title> |
956 | + <programlisting language="xml"> |
957 | +<xi:include href="samples/image-fault.xml" parse="text"/> |
958 | + </programlisting> |
959 | + </example> |
960 | + <example> |
961 | + <title>Image In Error Sate: JSON</title> |
962 | + <programlisting language="javascript"> |
963 | +<xi:include href="samples/image-fault.json" parse="text"/> |
964 | + </programlisting> |
965 | + </example> |
966 | + </section> |
967 | </section> |
968 | </chapter> |
969 | <chapter> |
970 | <title>API Operations</title> |
971 | - <section><?dbhtml stop-chunking?> |
972 | + <section> |
973 | <title>Servers</title> |
974 | <section> |
975 | <title>List Servers</title> |
976 | @@ -1434,12 +1498,22 @@ |
977 | <tbody> |
978 | <tr> |
979 | <td colspan="1">&GET;</td> |
980 | - <td colspan="2">/servers</td> |
981 | + <td colspan="2">/servers?<parameter>image</parameter>=<literal>imageRef</literal>& |
982 | + <parameter>flavor</parameter>=<literal>flavorRef</literal>& |
983 | + <parameter>name</parameter>=<literal>serverName</literal>& |
984 | + <parameter>status</parameter>=<literal>serverStatus</literal>& |
985 | + <parameter>changes-since</parameter>=<literal>dateTime</literal> |
986 | + </td> |
987 | <td colspan="3">List all servers (IDs, names, self links)</td> |
988 | </tr> |
989 | <tr> |
990 | <td colspan="1">&GET;</td> |
991 | - <td colspan="2">/servers/detail</td> |
992 | + <td colspan="2">/servers/detail?<parameter>image</parameter>=<literal>imageRef</literal>& |
993 | + <parameter>flavor</parameter>=<literal>flavorRef</literal>& |
994 | + <parameter>name</parameter>=<literal>serverName</literal>& |
995 | + <parameter>status</parameter>=<literal>serverStatus</literal>& |
996 | + <parameter>changes-since</parameter>=<literal>dateTime</literal> |
997 | + </td> |
998 | <td colspan="3">List all servers (all details)</td> |
999 | </tr> |
1000 | </tbody> |
1001 | @@ -1454,6 +1528,7 @@ |
1002 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1003 | serviceUnavailable (<errorcode>503</errorcode>), |
1004 | unauthorized (<errorcode>401</errorcode>), |
1005 | + forbidden (<errorcode>403</errorcode>), |
1006 | badRequest (<errorcode>400</errorcode>), |
1007 | overLimit (<errorcode>413</errorcode>) |
1008 | </simpara> |
1009 | @@ -1468,7 +1543,7 @@ |
1010 | <date>2009-06-26T14:30:46</date> |
1011 | </info> |
1012 | <para> |
1013 | - We'll need to revisit. List all status even |
1014 | + Well need to revisit. List all status even |
1015 | the ones that don't enter into our state |
1016 | transitions along with descriptions of each. |
1017 | </para> |
1018 | @@ -1483,18 +1558,19 @@ |
1019 | available for use. Other possible values for the |
1020 | status attribute include: <code>BUILD</code>, |
1021 | <code>REBUILD</code>, <code>SUSPENDED</code>, |
1022 | - <code>QUEUE_RESIZE</code>, |
1023 | - <code>PREP_RESIZE</code>, <code>RESIZE</code>, |
1024 | - <code>VERIFY_RESIZE</code>, <code>PASSWORD</code>, |
1025 | - <code>RESCUE</code>, <code>REBOOT</code>, |
1026 | - <code>HARD_REBOOT</code>, <code>DELETE_IP</code>, |
1027 | - and <code>UNKNOWN</code>. |
1028 | + <code>RESIZE</code>, <code>VERIFY_RESIZE</code>, |
1029 | + <code>PASSWORD</code>, <code>REBOOT</code>, |
1030 | + <code>HARD_REBOOT</code>, <code>DELETED</code>, |
1031 | + <code>UNKNOWN</code>, and <code>ERROR</code>. |
1032 | </para> |
1033 | <para> |
1034 | - When retrieving a list of servers via the |
1035 | - changes-since parameter (see Efficient Polling |
1036 | - with the Changes-Since Parameter), the list will |
1037 | - contain servers that have been deleted since the |
1038 | + The list of servers may be filtered by image, |
1039 | + flavor, name, and status via the respective query |
1040 | + parameters. Image and flavor references may be IDs |
1041 | + or full URLs. When retrieving a list of servers |
1042 | + via the changes-since parameter (see <xref |
1043 | + linkend="ChangesSince"/>), the list will contain |
1044 | + servers that have been deleted since the |
1045 | changes-since time. |
1046 | </para> |
1047 | <para> |
1048 | @@ -1556,6 +1632,7 @@ |
1049 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1050 | serviceUnavailable (<errorcode>503</errorcode>), |
1051 | unauthorized (<errorcode>401</errorcode>), |
1052 | + forbidden (<errorcode>403</errorcode>), |
1053 | badMediaType(<errorcode>415</errorcode>), |
1054 | itemNotFound (<errorcode>404</errorcode>), |
1055 | badRequest (<errorcode>400</errorcode>), |
1056 | @@ -1587,9 +1664,15 @@ |
1057 | be checked by performing a &GET; on |
1058 | /servers/<parameter>id</parameter>, which will |
1059 | return a progress attribute (0-100% completion). |
1060 | - Note that when creating a server only the server |
1061 | - ID and the admin password are guaranteed to be |
1062 | - returned in the request object. Additional |
1063 | + The full URL to the newly created server is |
1064 | + returned via the <code>Location</code> header and |
1065 | + is available as a <code>self</code> and |
1066 | + <code>bookmark</code> link in the server |
1067 | + representation (See <xref |
1068 | + linkend="LinksReferences"/>). Note that when |
1069 | + creating a server only the server ID, its links, |
1070 | + and the admin password are guaranteed to be |
1071 | + returned in the request. Additional |
1072 | attributes may be retrieved by performing |
1073 | subsequent &GET;s on the server. |
1074 | </para> |
1075 | @@ -1610,29 +1693,6 @@ |
1076 | <programlisting language="javascript"><?db-font-size 90%?><xi:include href="samples/server-post-resp.json" parse="text"/></programlisting> |
1077 | </example> |
1078 | <section> |
1079 | - <title>Server Affinity</title> |
1080 | - <para> |
1081 | - As stated previously, the compute service has an |
1082 | - anti-affinity property that attempts to spread out |
1083 | - VMs across hosts. There may be cases where |
1084 | - affinity matters however. For example, VMs may |
1085 | - need to be placed near one another in order to |
1086 | - effectively share resources. The |
1087 | - <property>affinityId</property> attribute |
1088 | - represents the lowest level zone that allows |
1089 | - clients to specify placement of VMs. Note that |
1090 | - VMs with the same <property>affinityId</property> |
1091 | - may not necessarily share the same |
1092 | - <property>hostId</property>. That said, hosts with |
1093 | - the same <property>affinityId</property> are |
1094 | - guaranteed to be in proximity of one another. To |
1095 | - launch a server with affinity to an existing |
1096 | - server, include the |
1097 | - <property>affinityId</property> of the existing |
1098 | - server in the server create request. |
1099 | - </para> |
1100 | - </section> |
1101 | - <section> |
1102 | <title>Server Passwords</title> |
1103 | <para> |
1104 | A password may be specified when creating the |
1105 | @@ -1656,16 +1716,17 @@ |
1106 | </section> |
1107 | <section> |
1108 | <title>Server Metadata</title> |
1109 | - <para>Custom server metadata can also be supplied at launch time. See <xref |
1110 | - linkend="MetadataSection"/> for details on working with metadata. The |
1111 | - maximum size of the metadata key and value is 255 bytes each. The maximum |
1112 | - number of key-value pairs that can be supplied per server is determined by |
1113 | - the compute provider and may be queried via the maxServerMeta absolute |
1114 | - limit. </para> |
1115 | - <db:para>Keys that start with the prefix 'aws:' are reserved for use by the |
1116 | - system. To avoid confusion, avoid specifying keys that start with this |
1117 | - reserved prefix value. You may find in the future that metadata with the |
1118 | - reserved key prefix could cause unexpected behavior of API operations. </db:para> |
1119 | + <para> |
1120 | + Custom server metadata can also be supplied at |
1121 | + launch time. See <xref |
1122 | + linkend="MetadataSection"/> for details on |
1123 | + working with metadata. The maximum size of |
1124 | + the metadata key and value is 255 bytes each. |
1125 | + The maximum number of key-value pairs that can |
1126 | + be supplied per server is determined by the |
1127 | + compute provider and may be queried via the |
1128 | + maxServerMeta absolute limit. |
1129 | + </para> |
1130 | </section> |
1131 | <section> |
1132 | <title>Server Personality</title> |
1133 | @@ -1711,6 +1772,63 @@ |
1134 | <code>-r--r-----</code> ). |
1135 | </para> |
1136 | </section> |
1137 | + <section> |
1138 | + <title>Server Primary Addresses</title> |
1139 | + <para> |
1140 | + In a hybrid environment, the IP address of a |
1141 | + server may not be controlled by the underling |
1142 | + implementation. Instead, the primary IP |
1143 | + address may be part of the dedicated hardware; |
1144 | + for example, a router/NAT device. In this |
1145 | + case, the addresses provided by the |
1146 | + implementation cannot actually be used to |
1147 | + access the server (from outside the local |
1148 | + LAN). Here, a <firstterm>primary |
1149 | + address</firstterm> may be assigned at |
1150 | + creation time to provide access to the server. |
1151 | + This address may not be directly bound to a |
1152 | + network interface on the server and may not |
1153 | + not necessarily appear when a server's |
1154 | + addresses are queried (see <xref |
1155 | + linkend="ServerAddresses"/>). Nonetheless, |
1156 | + clients which need to access the server |
1157 | + directly are encouraged to do so via a |
1158 | + primary address. In the example below, an |
1159 | + IPv4 address is assigned at creation time. |
1160 | + </para> |
1161 | + <example> |
1162 | + <title>Creating a Server with a Primary IP: XML</title> |
1163 | + <programlisting language="xml"> |
1164 | +<xi:include href="samples/server-post-req-pip.xml" parse="text"/> |
1165 | + </programlisting> |
1166 | + </example> |
1167 | + <example> |
1168 | + <title>Creating a Server with a Primary IP: JSON</title> |
1169 | + <programlisting language="javascript"> |
1170 | +<xi:include href="samples/server-post-req-pip.json" parse="text"/> |
1171 | + </programlisting> |
1172 | + </example> |
1173 | + <para> |
1174 | + Note that both IPv4 and IPv6 addresses may be |
1175 | + used as primary addresses and both addresses |
1176 | + may be assigned simultaneously as illustrated |
1177 | + below. Primary addresses may be updated after |
1178 | + a server has been created. See <xref |
1179 | + linkend="ServerUpdate"/> for more details. |
1180 | + </para> |
1181 | + <example> |
1182 | + <title>Creating a Server with Multiple Primary IPs: XML</title> |
1183 | + <programlisting language="xml"> |
1184 | +<xi:include href="samples/server-post-req-pip2.xml" parse="text"/> |
1185 | + </programlisting> |
1186 | + </example> |
1187 | + <example> |
1188 | + <title>Creating a Server with Multiple Primary IPs: JSON</title> |
1189 | + <programlisting language="javascript"> |
1190 | +<xi:include href="samples/server-post-req-pip2.json" parse="text"/> |
1191 | + </programlisting> |
1192 | + </example> |
1193 | + </section> |
1194 | </section> |
1195 | <section> |
1196 | <title>Get Server Details</title> |
1197 | @@ -1740,6 +1858,7 @@ |
1198 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1199 | serviceUnavailable (<errorcode>503</errorcode>), |
1200 | unauthorized (<errorcode>401</errorcode>), |
1201 | + forbidden (<errorcode>403</errorcode>), |
1202 | badRequest (<errorcode>400</errorcode>), |
1203 | itemNotFound (<errorcode>404</errorcode>), |
1204 | overLimit (<errorcode>413</errorcode>) |
1205 | @@ -1758,8 +1877,8 @@ |
1206 | <programlisting language="javascript"><?db-font-size 90%?><xi:include href="samples/server.json" parse="text"/></programlisting> |
1207 | </example> |
1208 | </section> |
1209 | - <section> |
1210 | - <title>Update Server Name</title> |
1211 | + <section xml:id="ServerUpdate"> |
1212 | + <title>Update Server</title> |
1213 | <informaltable rules="all"> |
1214 | <thead> |
1215 | <tr> |
1216 | @@ -1772,7 +1891,8 @@ |
1217 | <tr> |
1218 | <td colspan="1">&PUT;</td> |
1219 | <td colspan="2">/servers/<parameter>id</parameter></td> |
1220 | - <td colspan="3">Update the specified server's name</td> |
1221 | + <td colspan="3">Update the specified |
1222 | + server's name and primary addresses</td> |
1223 | </tr> |
1224 | </tbody> |
1225 | </informaltable> |
1226 | @@ -1785,6 +1905,7 @@ |
1227 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1228 | serviceUnavailable (<errorcode>503</errorcode>), |
1229 | unauthorized (<errorcode>401</errorcode>), |
1230 | + forbidden (<errorcode>403</errorcode>), |
1231 | badRequest (<errorcode>400</errorcode>), |
1232 | badMediaType(<errorcode>415</errorcode>), |
1233 | itemNotFound (<errorcode>404</errorcode>), |
1234 | @@ -1803,24 +1924,42 @@ |
1235 | </tbody> |
1236 | </informaltable> |
1237 | <para> |
1238 | - This operation changes the name of the server in |
1239 | - the Compute system. The operation does not change |
1240 | - the server host name. Note that server names are |
1241 | - not guaranteed to be unique. |
1242 | + This operation updates the editable attributes of |
1243 | + a server: the name of the server, the server |
1244 | + metadata, and the IPv4 and IPv6 primary address. |
1245 | + Note that while the server name is editable, the |
1246 | + operation does not change the server host |
1247 | + name. Note also that server names are not |
1248 | + guaranteed to be unique. |
1249 | </para> |
1250 | <example> |
1251 | - <title>Server Update Request: XML</title> |
1252 | + <title>Server Update Name Request: XML</title> |
1253 | <programlisting language="xml"> |
1254 | <xi:include href="samples/server-put-req.xml" parse="text"/> |
1255 | </programlisting> |
1256 | </example> |
1257 | <example> |
1258 | - <title>Server Update Request: JSON</title> |
1259 | + <title>Server Update Name Request: JSON</title> |
1260 | <programlisting language="javascript"> |
1261 | <xi:include href="samples/server-put-req.json" parse="text"/> |
1262 | </programlisting> |
1263 | </example> |
1264 | - <para>This operation does not contain a response body.</para> |
1265 | + <para> |
1266 | + Primary addresses may simultaneously be updated as |
1267 | + illustrated below. |
1268 | + </para> |
1269 | + <example> |
1270 | + <title>Server Update Primary Address Request: XML</title> |
1271 | + <programlisting language="xml"> |
1272 | +<xi:include href="samples/server-put-req-ad.xml" parse="text"/> |
1273 | + </programlisting> |
1274 | + </example> |
1275 | + <example> |
1276 | + <title>Server Update Primary Address Request: JSON</title> |
1277 | + <programlisting language="javascript"> |
1278 | +<xi:include href="samples/server-put-req-ad.json" parse="text"/> |
1279 | + </programlisting> |
1280 | + </example> |
1281 | </section> |
1282 | <?hard-pagebreak?> |
1283 | <section> |
1284 | @@ -1849,8 +1988,8 @@ |
1285 | Error Response Code(s): |
1286 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1287 | serviceUnavailable (<errorcode>503</errorcode>), unauthorized (<errorcode>401</errorcode>), |
1288 | + forbidden (<errorcode>403</errorcode>), |
1289 | itemNotFound (<errorcode>404</errorcode>), |
1290 | - unauthorized (<errorcode>401</errorcode>), |
1291 | buildInProgress (<errorcode>409</errorcode>), |
1292 | overLimit (<errorcode>413</errorcode>) |
1293 | </simpara> |
1294 | @@ -1866,7 +2005,7 @@ |
1295 | <tr> |
1296 | <td colspan="1" /> |
1297 | <td colspan="3"> |
1298 | - <code>SUSPENDED</code> &ARROW; |
1299 | + <code>ERROR</code> &ARROW; |
1300 | <code>DELETED</code> |
1301 | </td> |
1302 | </tr> |
1303 | @@ -1883,7 +2022,7 @@ |
1304 | </section> |
1305 | </section> |
1306 | <?hard-pagebreak?> |
1307 | - <section><?dbhtml stop-chunking?> |
1308 | + <section xml:id="ServerAddresses"> |
1309 | <title>Server Addresses</title> |
1310 | <section> |
1311 | <title>List Addresses</title> |
1312 | @@ -1913,6 +2052,7 @@ |
1313 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1314 | serviceUnavailable (<errorcode>503</errorcode>), |
1315 | unauthorized (<errorcode>401</errorcode>), |
1316 | + forbidden (<errorcode>403</errorcode>), |
1317 | badRequest (<errorcode>400</errorcode>), |
1318 | overLimit (<errorcode>413</errorcode>) |
1319 | </simpara> |
1320 | @@ -1931,7 +2071,6 @@ |
1321 | </programlisting> |
1322 | </example> |
1323 | </section> |
1324 | - <?hard-pagebreak?> |
1325 | <section> |
1326 | <title>List Addresses by Network</title> |
1327 | <informaltable rules="all"> |
1328 | @@ -1960,6 +2099,7 @@ |
1329 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1330 | serviceUnavailable (<errorcode>503</errorcode>), |
1331 | unauthorized (<errorcode>401</errorcode>), |
1332 | + forbidden (<errorcode>403</errorcode>), |
1333 | badRequest (<errorcode>400</errorcode>), |
1334 | itemNotFound (<errorcode>404</errorcode>), |
1335 | overLimit (<errorcode>413</errorcode>) |
1336 | @@ -1980,7 +2120,7 @@ |
1337 | </section> |
1338 | </section> |
1339 | <?hard-pagebreak?> |
1340 | - <section><?dbhtml stop-chunking?> |
1341 | + <section> |
1342 | <title>Server Actions</title> |
1343 | <section> |
1344 | <title>Change Password</title> |
1345 | @@ -2009,6 +2149,7 @@ |
1346 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1347 | serviceUnavailable (<errorcode>503</errorcode>), |
1348 | unauthorized (<errorcode>401</errorcode>), |
1349 | + forbidden (<errorcode>403</errorcode>), |
1350 | badRequest (<errorcode>400</errorcode>), |
1351 | badMediaType(<errorcode>415</errorcode>), |
1352 | itemNotFound (<errorcode>404</errorcode>), |
1353 | @@ -2072,6 +2213,7 @@ |
1354 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1355 | serviceUnavailable (<errorcode>503</errorcode>), |
1356 | unauthorized (<errorcode>401</errorcode>), |
1357 | + forbidden (<errorcode>403</errorcode>), |
1358 | badRequest (<errorcode>400</errorcode>), |
1359 | badMediaType(<errorcode>415</errorcode>), |
1360 | itemNotFound (<errorcode>404</errorcode>), |
1361 | @@ -2148,6 +2290,7 @@ |
1362 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1363 | serviceUnavailable (<errorcode>503</errorcode>), |
1364 | unauthorized (<errorcode>401</errorcode>), |
1365 | + forbidden (<errorcode>403</errorcode>), |
1366 | badRequest (<errorcode>400</errorcode>), |
1367 | badMediaType(<errorcode>415</errorcode>), |
1368 | itemNotFound (<errorcode>404</errorcode>), |
1369 | @@ -2231,6 +2374,7 @@ |
1370 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1371 | serviceUnavailable (<errorcode>503</errorcode>), |
1372 | unauthorized (<errorcode>401</errorcode>), |
1373 | + forbidden (<errorcode>403</errorcode>), |
1374 | badRequest (<errorcode>400</errorcode>), |
1375 | badMediaType(<errorcode>415</errorcode>), |
1376 | itemNotFound (<errorcode>404</errorcode>), |
1377 | @@ -2245,8 +2389,6 @@ |
1378 | <td colspan="1">Status Transition:</td> |
1379 | <td colspan="3"> |
1380 | <code>ACTIVE</code> &ARROW; |
1381 | - <code>QUEUE_RESIZE</code> &ARROW; |
1382 | - <code>PREP_RESIZE</code> &ARROW; |
1383 | <code>RESIZE</code> &ARROW; |
1384 | <code>VERIFY_RESIZE</code> |
1385 | </td> |
1386 | @@ -2255,7 +2397,7 @@ |
1387 | <td colspan="1" /> |
1388 | <td colspan="3"> |
1389 | <code>ACTIVE</code> &ARROW; |
1390 | - <code>QUEUE_RESIZE</code> &ARROW; |
1391 | + <code>RESIZE</code> &ARROW; |
1392 | <code>ACTIVE</code> (on error) |
1393 | </td> |
1394 | </tr> |
1395 | @@ -2314,6 +2456,7 @@ |
1396 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1397 | serviceUnavailable (<errorcode>503</errorcode>), |
1398 | unauthorized (<errorcode>401</errorcode>), |
1399 | + forbidden (<errorcode>403</errorcode>), |
1400 | badRequest (<errorcode>400</errorcode>), |
1401 | badMediaType(<errorcode>415</errorcode>), |
1402 | itemNotFound (<errorcode>404</errorcode>), |
1403 | @@ -2331,6 +2474,13 @@ |
1404 | <code>ACTIVE</code> |
1405 | </td> |
1406 | </tr> |
1407 | + <tr> |
1408 | + <td colspan="1" /> |
1409 | + <td colspan="3"> |
1410 | + <code>VERIFY_RESIZE</code> &ARROW; |
1411 | + <code>ERROR</code> (on error) |
1412 | + </td> |
1413 | + </tr> |
1414 | </tbody> |
1415 | </informaltable> |
1416 | <para> |
1417 | @@ -2386,6 +2536,7 @@ |
1418 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1419 | serviceUnavailable (<errorcode>503</errorcode>), |
1420 | unauthorized (<errorcode>401</errorcode>), |
1421 | + forbidden (<errorcode>403</errorcode>), |
1422 | badRequest (<errorcode>400</errorcode>), |
1423 | badMediaType(<errorcode>415</errorcode>), |
1424 | itemNotFound (<errorcode>404</errorcode>), |
1425 | @@ -2403,6 +2554,13 @@ |
1426 | <code>ACTIVE</code> |
1427 | </td> |
1428 | </tr> |
1429 | + <tr> |
1430 | + <td colspan="1" /> |
1431 | + <td colspan="3"> |
1432 | + <code>VERIFY_RESIZE</code> &ARROW; |
1433 | + <code>ERROR</code> (on error) |
1434 | + </td> |
1435 | + </tr> |
1436 | </tbody> |
1437 | </informaltable> |
1438 | <para> |
1439 | @@ -2431,7 +2589,7 @@ |
1440 | </section> |
1441 | </section> |
1442 | <?hard-pagebreak?> |
1443 | - <section><?dbhtml stop-chunking?> |
1444 | + <section> |
1445 | <title>Flavors</title> |
1446 | <para> |
1447 | A flavor is an available hardware configuration for a |
1448 | @@ -2451,12 +2609,12 @@ |
1449 | <tbody> |
1450 | <tr> |
1451 | <td colspan="1">&GET;</td> |
1452 | - <td colspan="2">/flavors</td> |
1453 | + <td colspan="2">/flavors?<parameter>image</parameter>=<literal>imageRef</literal></td> |
1454 | <td colspan="3">List available flavors (IDs, names, self links)</td> |
1455 | </tr> |
1456 | <tr> |
1457 | <td colspan="1">&GET;</td> |
1458 | - <td colspan="2">/flavors/detail</td> |
1459 | + <td colspan="2">/flavors/detail?<parameter>image</parameter>=<literal>imageRef</literal></td> |
1460 | <td colspan="3">List available flavors (all details)</td> |
1461 | </tr> |
1462 | </tbody> |
1463 | @@ -2471,12 +2629,17 @@ |
1464 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1465 | serviceUnavailable (<errorcode>503</errorcode>), |
1466 | unauthorized (<errorcode>401</errorcode>), |
1467 | + forbidden (<errorcode>403</errorcode>), |
1468 | badRequest (<errorcode>400</errorcode>), |
1469 | overLimit (<errorcode>413</errorcode>) |
1470 | </simpara> |
1471 | <para> |
1472 | - This operation will list all available flavors |
1473 | - with details. |
1474 | + This operation will list all available flavors. |
1475 | + The <parameter>image</parameter> parameter can |
1476 | + narrow the list of flavors to those acceptable for |
1477 | + a particular image. The value of the |
1478 | + <parameter>image</parameter> parameter may be an |
1479 | + ID or a full URL. |
1480 | </para> |
1481 | <para> |
1482 | This operation does not require a request body. |
1483 | @@ -2520,6 +2683,7 @@ |
1484 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1485 | serviceUnavailable (<errorcode>503</errorcode>), |
1486 | unauthorized (<errorcode>401</errorcode>), |
1487 | + forbidden (<errorcode>403</errorcode>), |
1488 | badRequest (<errorcode>400</errorcode>), |
1489 | itemNotFound (<errorcode>404</errorcode>), |
1490 | overLimit (<errorcode>413</errorcode>) |
1491 | @@ -2541,7 +2705,7 @@ |
1492 | </section> |
1493 | </section> |
1494 | <?hard-pagebreak?> |
1495 | - <section><?dbhtml stop-chunking?> |
1496 | + <section> |
1497 | <title>Images</title> |
1498 | <para> |
1499 | An image is a collection of files you use to create or |
1500 | @@ -2561,12 +2725,22 @@ |
1501 | <tbody> |
1502 | <tr> |
1503 | <td colspan="1">&GET;</td> |
1504 | - <td colspan="2">/images</td> |
1505 | + <td colspan="2">/images?<parameter>server</parameter>=<literal>serverRef</literal>& |
1506 | + <parameter>name</parameter>=<literal>imageName</literal>& |
1507 | + <parameter>status</parameter>=<literal>imageStatus</literal>& |
1508 | + <parameter>changes-since</parameter>=<literal>dateTime</literal>& |
1509 | + <parameter>type</parameter>=(<constant>BASE</constant>|<constant>SERVER</constant>) |
1510 | + </td> |
1511 | <td colspan="3">List available images (IDs, names, self links)</td> |
1512 | </tr> |
1513 | <tr> |
1514 | <td colspan="1">&GET;</td> |
1515 | - <td colspan="2">/images/detail</td> |
1516 | + <td colspan="2">/images/detail?<parameter>server</parameter>=<literal>serverRef</literal>& |
1517 | + <parameter>name</parameter>=<literal>imageName</literal>& |
1518 | + <parameter>status</parameter>=<literal>imageStatus</literal>& |
1519 | + <parameter>changes-since</parameter>=<literal>dateTime</literal>& |
1520 | + <parameter>type</parameter>=(<constant>BASE</constant>|<constant>SERVER</constant>) |
1521 | + </td> |
1522 | <td colspan="3">List available images (all details)</td> |
1523 | </tr> |
1524 | </tbody> |
1525 | @@ -2581,6 +2755,7 @@ |
1526 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1527 | serviceUnavailable (<errorcode>503</errorcode>), |
1528 | unauthorized (<errorcode>401</errorcode>), |
1529 | + forbidden (<errorcode>403</errorcode>), |
1530 | badRequest (<errorcode>400</errorcode>), |
1531 | overLimit (<errorcode>413</errorcode>) |
1532 | </simpara> |
1533 | @@ -2594,11 +2769,25 @@ |
1534 | progress element (0-100% completion) will also be |
1535 | returned. Other possible values for the status |
1536 | attribute include: <code>UNKNOWN</code>, |
1537 | - <code>PREPARING</code>, <code>ACTIVE</code>, |
1538 | - <code>QUEUED</code>, <code>FAILED</code>. Images |
1539 | + <code>ACTIVE</code>, |
1540 | + <code>SAVING</code>, <code>ERROR</code>. Images |
1541 | with an <code>ACTIVE</code> status are available |
1542 | for install. |
1543 | </para> |
1544 | + <para> |
1545 | + The list of images may be filtered by server, |
1546 | + name, and status via the respective query |
1547 | + parameters. A server reference may be specified by |
1548 | + ID or with a full URL. The |
1549 | + <parameter>type</parameter> parameter will select |
1550 | + only base images (<constant>BASE</constant>) or |
1551 | + server backups (<constant>SERVER</constant>). See |
1552 | + <xref linkend="ChangesSince"/> for a description |
1553 | + of the <parameter>changes-since</parameter> |
1554 | + parameter. Note that, when using this parameter |
1555 | + the list of images will contain images that have |
1556 | + been deleted since the changes-since time. |
1557 | + </para> |
1558 | <para>This operation does not require a request body.</para> |
1559 | <example> |
1560 | <title>Images List Response: XML (detail)</title> |
1561 | @@ -2638,6 +2827,7 @@ |
1562 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1563 | serviceUnavailable (<errorcode>503</errorcode>), |
1564 | unauthorized (<errorcode>401</errorcode>), |
1565 | + forbidden (<errorcode>403</errorcode>), |
1566 | badMediaType(<errorcode>415</errorcode>), |
1567 | itemNotFound (<errorcode>404</errorcode>), |
1568 | badRequest (<errorcode>400</errorcode>), |
1569 | @@ -2652,33 +2842,46 @@ |
1570 | <tr> |
1571 | <td colspan="1">Status Transition:</td> |
1572 | <td colspan="3"> |
1573 | - <code>QUEUED</code> &ARROW; <code>PREPARING</code> &ARROW; |
1574 | <code>SAVING</code> &ARROW; <code>ACTIVE</code> |
1575 | </td> |
1576 | </tr> |
1577 | <tr> |
1578 | <td colspan="1" /> |
1579 | <td colspan="3"> |
1580 | - <code>QUEUED</code> &ARROW; <code>PREPARING</code> &ARROW; |
1581 | - <code>SAVING</code> &ARROW; <code>FAILED</code> (on error) |
1582 | + <code>SAVING</code> &ARROW; <code>ERROR</code> (on error) |
1583 | </td> |
1584 | </tr> |
1585 | </tbody> |
1586 | </informaltable> |
1587 | <para> |
1588 | This operation creates a new image for the given |
1589 | - server ID. Once complete, a new image will be |
1590 | + server. Once complete, a new image will be |
1591 | available that can be used to rebuild or create |
1592 | servers. The image creation status can be queried |
1593 | by performing a &GET; on |
1594 | /images/<parameter>id</parameter> and examining |
1595 | - the status and progress attributes. |
1596 | - </para> |
1597 | - <para> Custom image metadata can also be supplied at launch time. See <xref |
1598 | - linkend="MetadataSection"/> for details on working with metadata. The |
1599 | - maximum size of the metadata key and value is 255 bytes each. The maximum number |
1600 | - of key-value pairs that can be supplied per image is determined by the compute |
1601 | - provider and may be queried via the maxImageMeta absolute limit. </para> |
1602 | + the status and progress attributes. The full URL |
1603 | + to the newly created image is returned via the |
1604 | + <code>Location</code> header and is available as a |
1605 | + <code>self</code> and <code>bookmark</code> link |
1606 | + in the image representation (See <xref |
1607 | + linkend="LinksReferences"/>). Note that when |
1608 | + creating an image only the image's ID and its |
1609 | + links are guaranteed to be returned in the |
1610 | + request. Additional attributes may be retrieved |
1611 | + by performing subsequent &GET;s on the image. |
1612 | + </para> |
1613 | + <para> |
1614 | + Custom image metadata can also be supplied at |
1615 | + launch time. See <xref |
1616 | + linkend="MetadataSection"/> for details on working |
1617 | + with metadata. The maximum size of the metadata |
1618 | + key and value is 255 bytes each. The maximum |
1619 | + number of key-value pairs that can be supplied per |
1620 | + image is determined by the compute provider and |
1621 | + may be queried via the maxImageMeta absolute |
1622 | + limit. |
1623 | + </para> |
1624 | <note> |
1625 | <para> |
1626 | At present, image creation is an asynchronous |
1627 | @@ -2689,75 +2892,19 @@ |
1628 | </note> |
1629 | <example> |
1630 | <title>Image Create Request: XML</title> |
1631 | - <programlisting language="xml"> |
1632 | -<image xmlns="http://docs.openstack.org/compute/api/v1.1" |
1633 | - name="Just in case" serverRef="12" /> |
1634 | - </programlisting> |
1635 | + <programlisting language="xml"><xi:include href="samples/image-create.xml" parse="text"/></programlisting> |
1636 | </example> |
1637 | <example> |
1638 | <title>Image Create Request: JSON</title> |
1639 | - <programlisting language="javascript"> |
1640 | -{ |
1641 | - "image" : { |
1642 | - "serverRef" : 12, |
1643 | - "name" : "Just in case" |
1644 | - } |
1645 | -} |
1646 | - </programlisting> |
1647 | + <programlisting language="javascript"><xi:include href="samples/image-create.json" parse="text"/></programlisting> |
1648 | </example> |
1649 | <example> |
1650 | <title>Image Create Response: XML</title> |
1651 | - <programlisting language="xml"> |
1652 | -<image xmlns="http://docs.openstack.org/compute/api/v1.1" |
1653 | - xmlns:atom="http://www.w3.org/2005/Atom" |
1654 | - id="22" name="Just in case" |
1655 | - created="2010-10-10T12:00:00Z" |
1656 | - status="SAVING" progress="0" |
1657 | - serverRef="http://servers.api.openstack.org/v1.1/1234/servers/12"> |
1658 | - <atom:link |
1659 | - rel="self" |
1660 | - href="http://servers.api.openstack.org/v1.1/1234/images/22"/> |
1661 | - <atom:link |
1662 | - rel="bookmark" |
1663 | - type="application/vnd.openstack.compute-v1.1+xml" |
1664 | - href="http://servers.api.openstack.org/1234/images/22"/> |
1665 | - <atom:link |
1666 | - rel="bookmark" |
1667 | - type="application/vnd.openstack.compute-v1.1+json" |
1668 | - href="http://servers.api.openstack.org/1234/images/22"/> |
1669 | -</image> |
1670 | - </programlisting> |
1671 | + <programlisting language="xml"><xi:include href="samples/image-create-response.xml" parse="text"/></programlisting> |
1672 | </example> |
1673 | <example> |
1674 | <title>Image Create Response: JSON</title> |
1675 | - <programlisting language="javascript"> |
1676 | -{ |
1677 | - "image" : { |
1678 | - "id" : 22, |
1679 | - "serverRef" : "http://servers.api.openstack.org/v1.1/1234/servers/12", |
1680 | - "name" : "Just in case", |
1681 | - "created" : "2010-10-10T12:00:00Z", |
1682 | - "status" : "SAVING", |
1683 | - "progress" : 0, |
1684 | - "links": [ |
1685 | - { |
1686 | - "rel" : "self", |
1687 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images/22" |
1688 | - }, |
1689 | - { |
1690 | - "rel" : "bookmark", |
1691 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
1692 | - "href" : "http://servers.api.openstack.org/1234/images/22" |
1693 | - }, |
1694 | - { |
1695 | - "rel" : "bookmark", |
1696 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
1697 | - "href" : "http://servers.api.openstack.org/1234/images/22" |
1698 | - } |
1699 | - ] |
1700 | - } |
1701 | -} |
1702 | - </programlisting> |
1703 | + <programlisting language="javascript"><xi:include href="samples/image-create-response.json" parse="text"/></programlisting> |
1704 | </example> |
1705 | </section> |
1706 | <?hard-pagebreak?> |
1707 | @@ -2789,6 +2936,7 @@ |
1708 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1709 | serviceUnavailable (<errorcode>503</errorcode>), |
1710 | unauthorized (<errorcode>401</errorcode>), |
1711 | + forbidden (<errorcode>403</errorcode>), |
1712 | badRequest (<errorcode>400</errorcode>), |
1713 | itemNotFound (<errorcode>404</errorcode>), |
1714 | overLimit (<errorcode>413</errorcode>) |
1715 | @@ -2836,9 +2984,26 @@ |
1716 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1717 | serviceUnavailable (<errorcode>503</errorcode>), |
1718 | unauthorized (<errorcode>401</errorcode>), |
1719 | + forbidden (<errorcode>403</errorcode>), |
1720 | itemNotFound (<errorcode>404</errorcode>), |
1721 | overLimit (<errorcode>413</errorcode>) |
1722 | </simpara> |
1723 | + <informaltable frame="void"> |
1724 | + <tbody> |
1725 | + <tr> |
1726 | + <td colspan="1">Status Transition:</td> |
1727 | + <td colspan="3"> |
1728 | + <code>ACTIVE</code> &ARROW; <code>DELETED</code> |
1729 | + </td> |
1730 | + </tr> |
1731 | + <tr> |
1732 | + <td colspan="1"/> |
1733 | + <td colspan="3"> |
1734 | + <code>ERROR</code> &ARROW; <code>DELETED</code> |
1735 | + </td> |
1736 | + </tr> |
1737 | + </tbody> |
1738 | + </informaltable> |
1739 | <para>This operation deletes an image from the system.</para> |
1740 | <para> |
1741 | Images are immediately removed. Currently, there |
1742 | @@ -2850,7 +3015,7 @@ |
1743 | </section> |
1744 | </section> |
1745 | <?hard-pagebreak?> |
1746 | - <section xml:id="MetadataSection"><?dbhtml stop-chunking?> |
1747 | + <section xml:id="MetadataSection"> |
1748 | <title>Metadata</title> |
1749 | <para> |
1750 | The following operations allow access to metadata |
1751 | @@ -2891,6 +3056,7 @@ |
1752 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1753 | serviceUnavailable (<errorcode>503</errorcode>), |
1754 | unauthorized (<errorcode>401</errorcode>), |
1755 | + forbidden (<errorcode>403</errorcode>), |
1756 | badRequest (<errorcode>400</errorcode>), |
1757 | overLimit (<errorcode>413</errorcode>) |
1758 | </simpara> |
1759 | @@ -2944,9 +3110,10 @@ |
1760 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1761 | serviceUnavailable (<errorcode>503</errorcode>), |
1762 | unauthorized (<errorcode>401</errorcode>), |
1763 | + forbidden (<errorcode>403</errorcode>), |
1764 | badRequest (<errorcode>400</errorcode>), |
1765 | buildInProgress (<errorcode>409</errorcode>), |
1766 | - badMediaType(<errorcode>415</errorcode>) |
1767 | + badMediaType(<errorcode>415</errorcode>), |
1768 | overLimit (<errorcode>413</errorcode>) |
1769 | </simpara> |
1770 | <para> |
1771 | @@ -2955,7 +3122,12 @@ |
1772 | not be modified. An overlimit |
1773 | (<errorcode>413</errorcode>) fault may be thrown if |
1774 | the operation causes the maximum number of metadata |
1775 | - items to be exceeded. |
1776 | + items to be exceeded. The maximum number of |
1777 | + key-value pairs that can be supplied per server is |
1778 | + determined by the compute provider and may be |
1779 | + queried via the maxServerMeta absolute limit. The |
1780 | + maximum number of key-value pairs for an image may |
1781 | + be queried via the maxImageMeta absolute limit. |
1782 | </para> |
1783 | <example> |
1784 | <title>Metadata Update Request: XML </title> |
1785 | @@ -2985,6 +3157,84 @@ |
1786 | </section> |
1787 | <?hard-pagebreak?> |
1788 | <section> |
1789 | + <title>Create or Replace Metadata</title> |
1790 | + <informaltable rules="all"> |
1791 | + <thead> |
1792 | + <tr> |
1793 | + <td colspan="1">Verb</td> |
1794 | + <td colspan="2">URI</td> |
1795 | + <td colspan="3">Description</td> |
1796 | + </tr> |
1797 | + </thead> |
1798 | + <tbody> |
1799 | + <tr> |
1800 | + <td colspan="1">&PUT;</td> |
1801 | + <td colspan="2">/servers/<parameter>id</parameter>/meta</td> |
1802 | + <td colspan="3">Create or replace metadata</td> |
1803 | + </tr> |
1804 | + <tr> |
1805 | + <td colspan="1">&PUT;</td> |
1806 | + <td colspan="2">/images/<parameter>id</parameter>/meta</td> |
1807 | + <td colspan="3">Create or replace metadata</td> |
1808 | + </tr> |
1809 | + </tbody> |
1810 | + </informaltable> |
1811 | + <simpara> |
1812 | + Normal Response Code(s): |
1813 | + <returnvalue>201</returnvalue> |
1814 | + </simpara> |
1815 | + <simpara> |
1816 | + Error Response Code(s): |
1817 | + computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1818 | + serviceUnavailable (<errorcode>503</errorcode>), |
1819 | + unauthorized (<errorcode>401</errorcode>), |
1820 | + forbidden (<errorcode>403</errorcode>), |
1821 | + badRequest (<errorcode>400</errorcode>), |
1822 | + buildInProgress (<errorcode>409</errorcode>), |
1823 | + badMediaType(<errorcode>415</errorcode>), |
1824 | + overLimit (<errorcode>413</errorcode>) |
1825 | + </simpara> |
1826 | + <para> |
1827 | + Creates a number of metadata items simultaneously |
1828 | + replacing all existing metadata items. An |
1829 | + overlimit (<errorcode>413</errorcode>) fault may be |
1830 | + thrown if the operation causes the maximum number |
1831 | + of metadata items to be exceeded. The maximum |
1832 | + number of key-value pairs that can be supplied per |
1833 | + server is determined by the compute provider and |
1834 | + may be queried via the maxServerMeta absolute |
1835 | + limit. The maximum number of key-value pairs for an |
1836 | + image may be queried via the maxImageMeta absolute |
1837 | + limit. |
1838 | + </para> |
1839 | + <example> |
1840 | + <title>Metadata Update Request: XML </title> |
1841 | + <programlisting language="xml"> |
1842 | +<xi:include href="samples/metadata.xml" parse="text"/> |
1843 | + </programlisting> |
1844 | + </example> |
1845 | + <example> |
1846 | + <title>Metadata Update Request: JSON </title> |
1847 | + <programlisting language="javascript"> |
1848 | +<xi:include href="samples/metadata.json" parse="text"/> |
1849 | + </programlisting> |
1850 | + </example> |
1851 | + <?hard-pagebreak?> |
1852 | + <example> |
1853 | + <title>Metadata Update Response: XML </title> |
1854 | + <programlisting language="xml"> |
1855 | +<xi:include href="samples/metadata.xml" parse="text"/> |
1856 | + </programlisting> |
1857 | + </example> |
1858 | + <example> |
1859 | + <title>Metadata Update Response: JSON </title> |
1860 | + <programlisting language="javascript"> |
1861 | +<xi:include href="samples/metadata.json" parse="text"/> |
1862 | + </programlisting> |
1863 | + </example> |
1864 | + </section> |
1865 | + <?hard-pagebreak?> |
1866 | + <section> |
1867 | <title>Get Metadata Item</title> |
1868 | <informaltable rules="all"> |
1869 | <thead> |
1870 | @@ -3021,6 +3271,7 @@ |
1871 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1872 | serviceUnavailable (<errorcode>503</errorcode>), |
1873 | unauthorized (<errorcode>401</errorcode>), |
1874 | + forbidden (<errorcode>403</errorcode>), |
1875 | itemNotFound (<errorcode>404</errorcode>), |
1876 | badRequest (<errorcode>400</errorcode>), |
1877 | overLimit (<errorcode>413</errorcode>) |
1878 | @@ -3075,17 +3326,24 @@ |
1879 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1880 | serviceUnavailable (<errorcode>503</errorcode>), |
1881 | unauthorized (<errorcode>401</errorcode>), |
1882 | + forbidden (<errorcode>403</errorcode>), |
1883 | itemNotFound (<errorcode>404</errorcode>), |
1884 | badRequest (<errorcode>400</errorcode>), |
1885 | buildInProgress (<errorcode>409</errorcode>), |
1886 | - badMediaType(<errorcode>415</errorcode>) |
1887 | + badMediaType(<errorcode>415</errorcode>), |
1888 | overLimit (<errorcode>413</errorcode>), |
1889 | </simpara> |
1890 | <para> |
1891 | - Updates or creates a new metadata item by key. |
1892 | - An overlimit (<errorcode>413</errorcode>) fault |
1893 | - may be thrown if the operation causes the maximum |
1894 | - number of metadata items to be exceeded. |
1895 | + Updates or creates a new metadata item by key. An |
1896 | + overlimit (<errorcode>413</errorcode>) fault may |
1897 | + be thrown if the operation causes the maximum |
1898 | + number of metadata items to be exceeded. The |
1899 | + maximum number of key-value pairs that can be |
1900 | + supplied per server is determined by the compute |
1901 | + provider and may be queried via the maxServerMeta |
1902 | + absolute limit. The maximum number of key-value |
1903 | + pairs for an image may be queried via the |
1904 | + maxImageMeta absolute limit. |
1905 | </para> |
1906 | <example> |
1907 | <title>Metadata Item Update Request: XML </title> |
1908 | @@ -3146,10 +3404,11 @@ |
1909 | computeFault (<errorcode>400</errorcode>, <errorcode>500</errorcode>), |
1910 | serviceUnavailable (<errorcode>503</errorcode>), |
1911 | unauthorized (<errorcode>401</errorcode>), |
1912 | + forbidden (<errorcode>403</errorcode>), |
1913 | itemNotFound (<errorcode>404</errorcode>), |
1914 | badRequest (<errorcode>400</errorcode>), |
1915 | buildInProgress (<errorcode>409</errorcode>), |
1916 | - badMediaType(<errorcode>415</errorcode>) |
1917 | + badMediaType(<errorcode>415</errorcode>), |
1918 | overLimit (<errorcode>413</errorcode>), |
1919 | </simpara> |
1920 | <para> |
1921 | |
1922 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/addresses.json' |
1923 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/addresses.json 2011-03-01 18:43:57 +0000 |
1924 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/addresses.json 2011-06-24 02:29:39 +0000 |
1925 | @@ -1,22 +1,32 @@ |
1926 | { |
1927 | - "addresses" : { |
1928 | - "values" : [ |
1929 | - { |
1930 | - "id" : "public", |
1931 | - "values" : [ |
1932 | - {"version" : 4, "addr" : "67.23.10.132"}, |
1933 | - {"version" : 6, "addr" : "::babe:67.23.10.132"}, |
1934 | - {"version" : 4, "addr" : "67.23.10.131"}, |
1935 | - {"version" : 6, "addr" : "::babe:4317:0A83"} |
1936 | - ] |
1937 | - }, |
1938 | - { |
1939 | - "id" : "private", |
1940 | - "values" : [ |
1941 | - {"version" : 4, "addr" : "10.176.42.16"}, |
1942 | - {"version" : 6, "addr" : "::babe:10.176.42.16"} |
1943 | - ] |
1944 | - } |
1945 | - ] |
1946 | - } |
1947 | + "addresses": { |
1948 | + "public" : [ |
1949 | + { |
1950 | + "version": 4, |
1951 | + "addr": "67.23.10.132" |
1952 | + }, |
1953 | + { |
1954 | + "version": 6, |
1955 | + "addr": "::babe:67.23.10.132" |
1956 | + }, |
1957 | + { |
1958 | + "version": 4, |
1959 | + "addr": "67.23.10.131" |
1960 | + }, |
1961 | + { |
1962 | + "version": 6, |
1963 | + "addr": "::babe:4317:0A83" |
1964 | + } |
1965 | + ], |
1966 | + "private" : [ |
1967 | + { |
1968 | + "version": 4, |
1969 | + "addr": "10.176.42.16" |
1970 | + }, |
1971 | + { |
1972 | + "version": 6, |
1973 | + "addr": "::babe:10.176.42.16" |
1974 | + } |
1975 | + ] |
1976 | + } |
1977 | } |
1978 | |
1979 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/choices.json' |
1980 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/choices.json 2011-04-26 03:49:47 +0000 |
1981 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/choices.json 2011-06-24 02:29:39 +0000 |
1982 | @@ -1,50 +1,44 @@ |
1983 | { |
1984 | - "choices" : { |
1985 | - "values" : [ |
1986 | - { |
1987 | - "id" : "v1.0", |
1988 | - "status" : "DEPRECATED", |
1989 | - "links": [ |
1990 | - { |
1991 | - "rel" : "self", |
1992 | - "href" : "http://servers.api.openstack.org/v1.0/1234/servers/12" |
1993 | - } |
1994 | - ], |
1995 | - "media-types": { |
1996 | - "values" : [ |
1997 | - { |
1998 | - "base" : "application/xml", |
1999 | - "type" : "application/vnd.openstack.compute-v1.0+xml" |
2000 | - }, |
2001 | - { |
2002 | - "base" : "application/json", |
2003 | - "type" : "application/vnd.openstack.compute-v1.0+json" |
2004 | - } |
2005 | - ] |
2006 | - } |
2007 | - }, |
2008 | - { |
2009 | - "id" : "v1.1", |
2010 | - "status" : "CURRENT", |
2011 | - "links": [ |
2012 | - { |
2013 | - "rel" : "self", |
2014 | - "href" : "http://servers.api.openstack.org/v1.1/1234/servers/12" |
2015 | - } |
2016 | - ], |
2017 | - "media-types": { |
2018 | - "values" : [ |
2019 | - { |
2020 | - "base" : "application/xml", |
2021 | - "type" : "application/vnd.openstack.compute-v1.1+xml" |
2022 | - }, |
2023 | - { |
2024 | - "base" : "application/json", |
2025 | - "type" : "application/vnd.openstack.compute-v1.1+json" |
2026 | - } |
2027 | - ] |
2028 | - } |
2029 | - } |
2030 | - ] |
2031 | - } |
2032 | + "choices": [ |
2033 | + { |
2034 | + "id": "v1.0", |
2035 | + "status": "DEPRECATED", |
2036 | + "links": [ |
2037 | + { |
2038 | + "rel": "self", |
2039 | + "href": "http://servers.api.openstack.org/v1.0/1234/servers/52415800-8b69-11e0-9b19-734f6af67565" |
2040 | + } |
2041 | + ], |
2042 | + "media-types": [ |
2043 | + { |
2044 | + "base": "application/xml", |
2045 | + "type": "application/vnd.openstack.compute-v1.0+xml" |
2046 | + }, |
2047 | + { |
2048 | + "base": "application/json", |
2049 | + "type": "application/vnd.openstack.compute-v1.0+json" |
2050 | + } |
2051 | + ] |
2052 | + }, |
2053 | + { |
2054 | + "id": "v1.1", |
2055 | + "status": "CURRENT", |
2056 | + "links": [ |
2057 | + { |
2058 | + "rel": "self", |
2059 | + "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565" |
2060 | + } |
2061 | + ], |
2062 | + "media-types": [ |
2063 | + { |
2064 | + "base": "application/xml", |
2065 | + "type": "application/vnd.openstack.compute-v1.1+xml" |
2066 | + }, |
2067 | + { |
2068 | + "base": "application/json", |
2069 | + "type": "application/vnd.openstack.compute-v1.1+json" |
2070 | + } |
2071 | + ] |
2072 | + } |
2073 | + ] |
2074 | } |
2075 | |
2076 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/choices.xml' |
2077 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/choices.xml 2011-03-01 18:43:57 +0000 |
2078 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/choices.xml 2011-06-24 02:29:39 +0000 |
2079 | @@ -11,7 +11,7 @@ |
2080 | </media-types> |
2081 | |
2082 | <atom:link rel="self" |
2083 | - href="http://servers.api.openstack.org/v1.0/1234/servers/12"/> |
2084 | + href="http://servers.api.openstack.org/v1.0/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/> |
2085 | </version> |
2086 | |
2087 | <version id="v1.1" status="CURRENT"> |
2088 | @@ -23,6 +23,6 @@ |
2089 | </media-types> |
2090 | |
2091 | <atom:link rel="self" |
2092 | - href="http://servers.api.openstack.org/v1.1/1234/servers/12"/> |
2093 | + href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/> |
2094 | </version> |
2095 | </choices> |
2096 | |
2097 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ext-servers.json' |
2098 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ext-servers.json 2011-04-26 03:49:47 +0000 |
2099 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ext-servers.json 2011-06-24 02:29:39 +0000 |
2100 | @@ -1,56 +1,97 @@ |
2101 | { |
2102 | - "servers" : { |
2103 | - "values" : [ |
2104 | - { |
2105 | - "id" : 1234, |
2106 | - "name" : "sample-server", |
2107 | - "imageRef" : "https://servers.api.rackspacecloud.com/v1.1/32278/images/1234", |
2108 | - "flavorId" : 1, |
2109 | - "updated" : "2010-10-10T12:00:00Z", |
2110 | - "created" : "2010-08-10T12:00:00Z", |
2111 | - "hostId" : "e4d909c290d0fb1ca068ffaddf22cbd0", |
2112 | - "affinityId" : "fc88bcf8394db9c8d0564e08ca6a9724188a84d1", |
2113 | - "status" : "BUILD", |
2114 | - "progress" : 60, |
2115 | - "addresses" : { |
2116 | - "public" : [ |
2117 | - {"version" : 4, "addr" : "67.23.10.132"}, |
2118 | - {"version" : 6, "addr" : "::babe:67.23.10.132"}, |
2119 | - {"version" : 4, "addr" : "67.23.10.131"}, |
2120 | - {"version" : 6, "addr" : "::babe:4317:0A83"} |
2121 | + "servers": [ |
2122 | + { |
2123 | + "id": "52415800-8b69-11e0-9b19-734f6af67565", |
2124 | + "name": "sample-server", |
2125 | + "updated": "2010-10-10T12:00:00Z", |
2126 | + "created": "2010-08-10T12:00:00Z", |
2127 | + "hostId": "e4d909c290d0fb1ca068ffaddf22cbd0", |
2128 | + "status": "BUILD", |
2129 | + "progress": 60, |
2130 | + "primaryIPv4" : "67.23.10.132", |
2131 | + "primaryIPv6" : "::babe:67.23.10.132", |
2132 | + "image" : { |
2133 | + "id": "52415800-8b69-11e0-9b19-734f6f006e54", |
2134 | + "name": "CentOS 5.2", |
2135 | + "links": [ |
2136 | + { |
2137 | + "rel": "self", |
2138 | + "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54" |
2139 | + }, |
2140 | + { |
2141 | + "rel": "bookmark", |
2142 | + "href": "http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f6f006e54" |
2143 | + } |
2144 | + ] |
2145 | + }, |
2146 | + "flavor" : { |
2147 | + "id": "52415800-8b69-11e0-9b19-734f216543fd", |
2148 | + "name": "512 MB Server", |
2149 | + "links": [ |
2150 | + { |
2151 | + "rel": "self", |
2152 | + "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd" |
2153 | + }, |
2154 | + { |
2155 | + "rel": "bookmark", |
2156 | + "href": "http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd" |
2157 | + } |
2158 | + ] |
2159 | + }, |
2160 | + "addresses": { |
2161 | + "public" : [ |
2162 | + { |
2163 | + "version": 4, |
2164 | + "addr": "67.23.10.132" |
2165 | + }, |
2166 | + { |
2167 | + "version": 6, |
2168 | + "addr": "::babe:67.23.10.132" |
2169 | + }, |
2170 | + { |
2171 | + "version": 4, |
2172 | + "addr": "67.23.10.131" |
2173 | + }, |
2174 | + { |
2175 | + "version": 6, |
2176 | + "addr": "::babe:4317:0A83" |
2177 | + } |
2178 | ], |
2179 | "private" : [ |
2180 | - {"version" : 4, "addr" : "10.176.42.16"}, |
2181 | - {"version" : 6, "addr" : "::babe:10.176.42.16"} |
2182 | + { |
2183 | + "version": 4, |
2184 | + "addr": "10.176.42.16" |
2185 | + }, |
2186 | + { |
2187 | + "version": 6, |
2188 | + "addr": "::babe:10.176.42.16" |
2189 | + } |
2190 | ] |
2191 | }, |
2192 | - "metadata" : { |
2193 | - "Server Label" : "Web Head 1", |
2194 | - "Image Version" : "2.1" |
2195 | + "metadata": { |
2196 | + "Server Label": "Web Head 1", |
2197 | + "Image Version": "2.1" |
2198 | }, |
2199 | "links": [ |
2200 | { |
2201 | - "rel" : "self", |
2202 | - "href" : "http://servers.api.openstack.org/v1.1/1234/servers/1234" |
2203 | - }, |
2204 | - { |
2205 | - "rel" : "bookmark", |
2206 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
2207 | - "href" : "http://servers.api.openstack.org/1234/servers/1234" |
2208 | - }, |
2209 | - { |
2210 | - "rel" : "bookmark", |
2211 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
2212 | - "href" : "http://servers.api.openstack.org/1234/servers/1234" |
2213 | + "rel": "self", |
2214 | + "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565" |
2215 | + }, |
2216 | + { |
2217 | + "rel": "bookmark", |
2218 | + "href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f6af67565" |
2219 | } |
2220 | ], |
2221 | - "RS-CBS:volumes" : [ |
2222 | - { "name" : "OS", |
2223 | - "href" : "https://cbs.api.rackspacecloud.com/12934/volumes/19"}, |
2224 | - { "name" : "Work", |
2225 | - "href" : "https://cbs.api.rackspacecloud.com/12934/volumes/23"} |
2226 | + "RS-CBS:volumes": [ |
2227 | + { |
2228 | + "name": "OS", |
2229 | + "href": "https://cbs.api.rackspacecloud.com/12934/volumes/19" |
2230 | + }, |
2231 | + { |
2232 | + "name": "Work", |
2233 | + "href": "https://cbs.api.rackspacecloud.com/12934/volumes/23" |
2234 | + } |
2235 | ] |
2236 | } |
2237 | ] |
2238 | - } |
2239 | } |
2240 | |
2241 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ext-servers.xml' |
2242 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ext-servers.xml 2011-03-01 18:43:57 +0000 |
2243 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ext-servers.xml 2011-06-24 02:29:39 +0000 |
2244 | @@ -1,41 +1,53 @@ |
2245 | <?xml version="1.0" encoding="UTF-8"?> |
2246 | <servers xmlns="http://docs.openstack.org/compute/api/v1.1" |
2247 | xmlns:atom="http://www.w3.org/2005/Atom"> |
2248 | - <server id="1234" |
2249 | - name="sample-server" flavorId="1" |
2250 | - status="BUILD" progress="60" |
2251 | - hostId="e4d909c290d0fb1ca068ffaddf22cbd0" |
2252 | - affinityId="fc88bcf8394db9c8d0564e08ca6a9724188a84d1" |
2253 | + <server id="52415800-8b69-11e0-9b19-734f6af67565" |
2254 | + name="sample-server" status="BUILD" |
2255 | + progress="60" hostId="e4d909c290d0fb1ca068ffaddf22cbd0" |
2256 | updated="2010-10-10T12:00:00Z" |
2257 | created="2010-08-10T12:00:00Z" |
2258 | - imageRef="https://servers.api.rackspacecloud.com/v1.1/32278/images/1234"> |
2259 | + primaryIPv4="67.23.10.132" |
2260 | + primaryIPv6="::babe:67.23.10.132"> |
2261 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" |
2262 | + name="CentOS 5.2"> |
2263 | + <atom:link |
2264 | + rel="self" |
2265 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/> |
2266 | + <atom:link |
2267 | + rel="bookmark" |
2268 | + href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/> |
2269 | + </image> |
2270 | + <flavor id="52415800-8b69-11e0-9b19-734f216543fd" |
2271 | + name="512 MB Server"> |
2272 | + <atom:link |
2273 | + rel="self" |
2274 | + href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/> |
2275 | + <atom:link |
2276 | + rel="bookmark" |
2277 | + href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/> |
2278 | + </flavor> |
2279 | <metadata> |
2280 | <meta key="Server Label">Web Head 1</meta> |
2281 | <meta key="Image Version">2.1</meta> |
2282 | </metadata> |
2283 | <addresses> |
2284 | - <public> |
2285 | + <network id="public"> |
2286 | <ip version="4" addr="67.23.10.132"/> |
2287 | <ip version="6" addr="::babe:67.23.10.132"/> |
2288 | <ip version="4" addr="67.23.10.131"/> |
2289 | <ip version="6" addr="::babe:4317:0A83"/> |
2290 | - </public> |
2291 | - <private> |
2292 | + </network> |
2293 | + <network id="private"> |
2294 | <ip version="4" addr="10.176.42.16"/> |
2295 | <ip version="6" addr="::babe:10.176.42.16"/> |
2296 | - </private> |
2297 | + </network> |
2298 | </addresses> |
2299 | <atom:link |
2300 | rel="self" |
2301 | - href="http://servers.api.openstack.org/v1.1/1234/servers/1234"/> |
2302 | - <atom:link |
2303 | - rel="bookmark" |
2304 | - type="application/vnd.openstack.compute-v1.1+xml" |
2305 | - href="http://servers.api.openstack.org/1234/servers/1234"/> |
2306 | - <atom:link |
2307 | - rel="bookmark" |
2308 | - type="application/vnd.openstack.compute-v1.1+json" |
2309 | - href="http://servers.api.openstack.org/1234/servers/1234"/> |
2310 | + href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/> |
2311 | + <atom:link |
2312 | + rel="bookmark" |
2313 | + href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/> |
2314 | <volumes |
2315 | xmlns="http://docs.rackspacecloud.com/servers/api/ext/cbs/v1.0"> |
2316 | <volume name="OS" |
2317 | |
2318 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/extensions.json' |
2319 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/extensions.json 2011-04-26 03:49:47 +0000 |
2320 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/extensions.json 2011-06-24 02:29:39 +0000 |
2321 | @@ -1,44 +1,42 @@ |
2322 | { |
2323 | - "extensions" : { |
2324 | - "values" : [ |
2325 | - { |
2326 | - "name" : "Public Image Extension", |
2327 | - "namespace" : "http://docs.rackspacecloud.com/servers/api/ext/pie/v1.0", |
2328 | - "alias" : "RS-PIE", |
2329 | - "updated" : "2011-01-22T13:25:27-06:00", |
2330 | - "description" : "Adds the capability to share an image with other users.", |
2331 | - "links" : [ |
2332 | - { |
2333 | - "rel" : "describedby", |
2334 | - "type" : "application/pdf", |
2335 | - "href" : "http://docs.rackspacecloud.com/servers/api/ext/cs-pie-20111111.pdf" |
2336 | - }, |
2337 | - { |
2338 | - "rel" : "describedby", |
2339 | - "type" : "application/vnd.sun.wadl+xml", |
2340 | - "href" : "http://docs.rackspacecloud.com/servers/api/ext/cs-pie.wadl" |
2341 | - } |
2342 | - ] |
2343 | - }, |
2344 | - { |
2345 | - "name" : "Cloud Block Storage", |
2346 | - "namespace" : "http://docs.rackspacecloud.com/servers/api/ext/cbs/v1.0", |
2347 | - "alias" : "RS-CBS", |
2348 | - "updated" : "2011-01-12T11:22:33-06:00", |
2349 | - "description" : "Allows mounting cloud block storage volumes.", |
2350 | - "links" : [ |
2351 | - { |
2352 | - "rel" : "describedby", |
2353 | - "type" : "application/pdf", |
2354 | - "href" : "http://docs.rackspacecloud.com/servers/api/ext/cs-cbs-20111201.pdf" |
2355 | - }, |
2356 | - { |
2357 | - "rel" : "describedby", |
2358 | - "type" : "application/vnd.sun.wadl+xml", |
2359 | - "href" : "http://docs.rackspacecloud.com/servers/api/ext/cs-cbs.wadl" |
2360 | - } |
2361 | - ] |
2362 | - } |
2363 | - ] |
2364 | - } |
2365 | + "extensions": [ |
2366 | + { |
2367 | + "name": "Public Image Extension", |
2368 | + "namespace": "http://docs.rackspacecloud.com/servers/api/ext/pie/v1.0", |
2369 | + "alias": "RS-PIE", |
2370 | + "updated": "2011-01-22T13:25:27-06:00", |
2371 | + "description": "Adds the capability to share an image with other users.", |
2372 | + "links": [ |
2373 | + { |
2374 | + "rel": "describedby", |
2375 | + "type": "application/pdf", |
2376 | + "href": "http://docs.rackspacecloud.com/servers/api/ext/cs-pie-20111111.pdf" |
2377 | + }, |
2378 | + { |
2379 | + "rel": "describedby", |
2380 | + "type": "application/vnd.sun.wadl+xml", |
2381 | + "href": "http://docs.rackspacecloud.com/servers/api/ext/cs-pie.wadl" |
2382 | + } |
2383 | + ] |
2384 | + }, |
2385 | + { |
2386 | + "name": "Cloud Block Storage", |
2387 | + "namespace": "http://docs.rackspacecloud.com/servers/api/ext/cbs/v1.0", |
2388 | + "alias": "RS-CBS", |
2389 | + "updated": "2011-01-12T11:22:33-06:00", |
2390 | + "description": "Allows mounting cloud block storage volumes.", |
2391 | + "links": [ |
2392 | + { |
2393 | + "rel": "describedby", |
2394 | + "type": "application/pdf", |
2395 | + "href": "http://docs.rackspacecloud.com/servers/api/ext/cs-cbs-20111201.pdf" |
2396 | + }, |
2397 | + { |
2398 | + "rel": "describedby", |
2399 | + "type": "application/vnd.sun.wadl+xml", |
2400 | + "href": "http://docs.rackspacecloud.com/servers/api/ext/cs-cbs.wadl" |
2401 | + } |
2402 | + ] |
2403 | + } |
2404 | + ] |
2405 | } |
2406 | |
2407 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/flavor.json' |
2408 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/flavor.json 2011-03-01 18:43:57 +0000 |
2409 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/flavor.json 2011-06-24 02:29:39 +0000 |
2410 | @@ -1,23 +1,17 @@ |
2411 | { |
2412 | "flavor" : { |
2413 | - "id" : 1, |
2414 | + "id" : "52415800-8b69-11e0-9b19-734f1195ff37", |
2415 | "name" : "256 MB Server", |
2416 | "ram" : 256, |
2417 | "disk" : 10, |
2418 | "links": [ |
2419 | { |
2420 | "rel" : "self", |
2421 | - "href" : "http://servers.api.openstack.org/v1.1/1234/flavors/1" |
2422 | - }, |
2423 | - { |
2424 | - "rel" : "bookmark", |
2425 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
2426 | - "href" : "http://servers.api.openstack.org/1234/flavors/1" |
2427 | - }, |
2428 | - { |
2429 | - "rel" : "bookmark", |
2430 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
2431 | - "href" : "http://servers.api.openstack.org/1234/flavors/1" |
2432 | + "href" : "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37" |
2433 | + }, |
2434 | + { |
2435 | + "rel" : "bookmark", |
2436 | + "href" : "http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37" |
2437 | } |
2438 | ] |
2439 | } |
2440 | |
2441 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/flavor.xml' |
2442 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/flavor.xml 2011-03-01 18:43:57 +0000 |
2443 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/flavor.xml 2011-06-24 02:29:39 +0000 |
2444 | @@ -2,16 +2,12 @@ |
2445 | <flavor |
2446 | xmlns="http://docs.openstack.org/compute/api/v1.1" |
2447 | xmlns:atom="http://www.w3.org/2005/Atom" |
2448 | - id="1" name="256 MB Server" ram="256" disk="10"> |
2449 | + id="52415800-8b69-11e0-9b19-734f1195ff37" |
2450 | + name="256 MB Server" ram="256" disk="10"> |
2451 | <atom:link |
2452 | rel="self" |
2453 | - href="http://servers.api.openstack.org/v1.1/1234/flavors/1"/> |
2454 | - <atom:link |
2455 | - rel="bookmark" |
2456 | - type="application/vnd.openstack.compute-v1.1+xml" |
2457 | - href="http://servers.api.openstack.org/1234/flavors/1"/> |
2458 | - <atom:link |
2459 | - rel="bookmark" |
2460 | - type="application/vnd.openstack.compute-v1.1+json" |
2461 | - href="http://servers.api.openstack.org/1234/flavors/1"/> |
2462 | + href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/> |
2463 | + <atom:link |
2464 | + rel="bookmark" |
2465 | + href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/> |
2466 | </flavor> |
2467 | |
2468 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/flavors-page1.json' |
2469 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/flavors-page1.json 2011-03-01 18:43:57 +0000 |
2470 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/flavors-page1.json 2011-06-24 02:29:39 +0000 |
2471 | @@ -1,55 +1,43 @@ |
2472 | { |
2473 | - "flavors" : { |
2474 | - "values" : [ |
2475 | - { |
2476 | - "id" : 1, |
2477 | - "name" : "256 MB Server", |
2478 | - "ram" : 256, |
2479 | - "disk" : 10, |
2480 | - "links": [ |
2481 | - { |
2482 | - "rel" : "self", |
2483 | - "href" : "http://servers.api.openstack.org/v1.1/1234/flavors/1" |
2484 | - }, |
2485 | - { |
2486 | - "rel" : "bookmark", |
2487 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
2488 | - "href" : "http://servers.api.openstack.org/1234/flavors/1" |
2489 | - }, |
2490 | - { |
2491 | - "rel" : "bookmark", |
2492 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
2493 | - "href" : "http://servers.api.openstack.org/1234/flavors/1" |
2494 | - } |
2495 | - ] |
2496 | - }, |
2497 | - { |
2498 | - "id" : 2, |
2499 | - "name" : "512 MB Server", |
2500 | - "ram" : 512, |
2501 | - "disk" : 20, |
2502 | - "links": [ |
2503 | - { |
2504 | - "rel" : "self", |
2505 | - "href" : "http://servers.api.openstack.org/v1.1/1234/flavors/2" |
2506 | - }, |
2507 | - { |
2508 | - "rel" : "bookmark", |
2509 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
2510 | - "href" : "http://servers.api.openstack.org/1234/flavors/2" |
2511 | - }, |
2512 | - { |
2513 | - "rel" : "bookmark", |
2514 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
2515 | - "href" : "http://servers.api.openstack.org/1234/flavors/2" |
2516 | - } |
2517 | - ] |
2518 | - } |
2519 | - ], |
2520 | - "links" : [ |
2521 | - { |
2522 | - "rel" : "next", |
2523 | - "href" : "http://servers.api.openstack.org/v1.1/1234/flavors?limit=2&marker=2" |
2524 | + "flavors": [ |
2525 | + { |
2526 | + "id": "52415800-8b69-11e0-9b19-734f1195ff37", |
2527 | + "name": "256 MB Server", |
2528 | + "ram": 256, |
2529 | + "disk": 10, |
2530 | + "links": [ |
2531 | + { |
2532 | + "rel": "self", |
2533 | + "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37" |
2534 | + }, |
2535 | + { |
2536 | + "rel": "bookmark", |
2537 | + "href": "http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37" |
2538 | + } |
2539 | + ] |
2540 | + }, |
2541 | + { |
2542 | + "id": "52415800-8b69-11e0-9b19-734f216543fd", |
2543 | + "name": "512 MB Server", |
2544 | + "ram": 512, |
2545 | + "disk": 20, |
2546 | + "links": [ |
2547 | + { |
2548 | + "rel": "self", |
2549 | + "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd" |
2550 | + }, |
2551 | + { |
2552 | + "rel": "bookmark", |
2553 | + "type": "application/vnd.openstack.compute-v1.1+xml", |
2554 | + } |
2555 | + ] |
2556 | + } |
2557 | + ], |
2558 | + "flavors_": { |
2559 | + "links": [ |
2560 | + { |
2561 | + "rel": "next", |
2562 | + "href": "http://servers.api.openstack.org/v1.1/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd" |
2563 | } |
2564 | ] |
2565 | } |
2566 | |
2567 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/flavors-page1.xml' |
2568 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/flavors-page1.xml 2011-03-01 18:43:57 +0000 |
2569 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/flavors-page1.xml 2011-06-24 02:29:39 +0000 |
2570 | @@ -1,33 +1,25 @@ |
2571 | <?xml version="1.0" encoding="UTF-8"?> |
2572 | <flavors xmlns="http://docs.openstack.org/compute/api/v1.1" |
2573 | xmlns:atom="http://www.w3.org/2005/Atom"> |
2574 | - <flavor id="1" name="256 MB Server" ram="256" disk="10"> |
2575 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37" |
2576 | + name="256 MB Server" ram="256" disk="10"> |
2577 | <atom:link |
2578 | rel="self" |
2579 | - href="http://servers.api.openstack.org/v1.1/1234/flavors/1"/> |
2580 | - <atom:link |
2581 | - rel="bookmark" |
2582 | - type="application/vnd.openstack.compute-v1.1+xml" |
2583 | - href="http://servers.api.openstack.org/1234/flavors/1"/> |
2584 | - <atom:link |
2585 | - rel="bookmark" |
2586 | - type="application/vnd.openstack.compute-v1.1+json" |
2587 | - href="http://servers.api.openstack.org/1234/flavors/1"/> |
2588 | + href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/> |
2589 | + <atom:link |
2590 | + rel="bookmark" |
2591 | + href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/> |
2592 | </flavor> |
2593 | - <flavor id="2" name="512 MB Server" ram="512" disk="20"> |
2594 | + <flavor id="52415800-8b69-11e0-9b19-734f216543fd" |
2595 | + name="512 MB Server" ram="512" disk="20"> |
2596 | <atom:link |
2597 | rel="self" |
2598 | - href="http://servers.api.openstack.org/v1.1/1234/flavors/2"/> |
2599 | - <atom:link |
2600 | - rel="bookmark" |
2601 | - type="application/vnd.openstack.compute-v1.1+xml" |
2602 | - href="http://servers.api.openstack.org/1234/flavors/2"/> |
2603 | - <atom:link |
2604 | - rel="bookmark" |
2605 | - type="application/vnd.openstack.compute-v1.1+json" |
2606 | - href="http://servers.api.openstack.org/1234/flavors/2"/> |
2607 | + href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/> |
2608 | + <atom:link |
2609 | + rel="bookmark" |
2610 | + href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/> |
2611 | </flavor> |
2612 | <atom:link |
2613 | rel="next" |
2614 | - href="http://servers.api.openstack.org/v1.1/1234/flavors?limit=2&marker=2"/> |
2615 | + href="http://servers.api.openstack.org/v1.1/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"/> |
2616 | </flavors> |
2617 | |
2618 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/flavors.json' |
2619 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/flavors.json 2011-03-01 18:43:57 +0000 |
2620 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/flavors.json 2011-06-24 02:29:39 +0000 |
2621 | @@ -1,50 +1,36 @@ |
2622 | { |
2623 | - "flavors" : { |
2624 | - "values" : [ |
2625 | - { |
2626 | - "id" : 1, |
2627 | - "name" : "256 MB Server", |
2628 | - "ram" : 256, |
2629 | - "disk" : 10, |
2630 | - "links": [ |
2631 | - { |
2632 | - "rel" : "self", |
2633 | - "href" : "http://servers.api.openstack.org/v1.1/1234/flavors/1" |
2634 | - }, |
2635 | - { |
2636 | - "rel" : "bookmark", |
2637 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
2638 | - "href" : "http://servers.api.openstack.org/1234/flavors/1" |
2639 | - }, |
2640 | - { |
2641 | - "rel" : "bookmark", |
2642 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
2643 | - "href" : "http://servers.api.openstack.org/1234/flavors/1" |
2644 | - } |
2645 | - ] |
2646 | - }, |
2647 | - { |
2648 | - "id" : 2, |
2649 | - "name" : "512 MB Server", |
2650 | - "ram" : 512, |
2651 | - "disk" : 20, |
2652 | - "links": [ |
2653 | - { |
2654 | - "rel" : "self", |
2655 | - "href" : "http://servers.api.openstack.org/v1.1/1234/flavors/2" |
2656 | - }, |
2657 | - { |
2658 | - "rel" : "bookmark", |
2659 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
2660 | - "href" : "http://servers.api.openstack.org/1234/flavors/2" |
2661 | - }, |
2662 | - { |
2663 | - "rel" : "bookmark", |
2664 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
2665 | - "href" : "http://servers.api.openstack.org/1234/flavors/2" |
2666 | - } |
2667 | - ] |
2668 | - } |
2669 | - ] |
2670 | - } |
2671 | + "flavors": [ |
2672 | + { |
2673 | + "id": "52415800-8b69-11e0-9b19-734f1195ff37", |
2674 | + "name": "256 MB Server", |
2675 | + "ram": 256, |
2676 | + "disk": 10, |
2677 | + "links": [ |
2678 | + { |
2679 | + "rel": "self", |
2680 | + "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37" |
2681 | + }, |
2682 | + { |
2683 | + "rel": "bookmark", |
2684 | + "href": "http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37" |
2685 | + } |
2686 | + ] |
2687 | + }, |
2688 | + { |
2689 | + "id": "52415800-8b69-11e0-9b19-734f216543fd", |
2690 | + "name": "512 MB Server", |
2691 | + "ram": 512, |
2692 | + "disk": 20, |
2693 | + "links": [ |
2694 | + { |
2695 | + "rel": "self", |
2696 | + "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd" |
2697 | + }, |
2698 | + { |
2699 | + "rel": "bookmark", |
2700 | + "href": "http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd" |
2701 | + } |
2702 | + ] |
2703 | + } |
2704 | + ] |
2705 | } |
2706 | |
2707 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/flavors.xml' |
2708 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/flavors.xml 2011-03-01 18:43:57 +0000 |
2709 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/flavors.xml 2011-06-24 02:29:39 +0000 |
2710 | @@ -1,30 +1,22 @@ |
2711 | <?xml version="1.0" encoding="UTF-8"?> |
2712 | <flavors xmlns="http://docs.openstack.org/compute/api/v1.1" |
2713 | xmlns:atom="http://www.w3.org/2005/Atom"> |
2714 | - <flavor id="1" name="256 MB Server" ram="256" disk="10"> |
2715 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37" |
2716 | + name="256 MB Server" ram="256" disk="10"> |
2717 | <atom:link |
2718 | rel="self" |
2719 | - href="http://servers.api.openstack.org/v1.1/1234/flavors/1"/> |
2720 | - <atom:link |
2721 | - rel="bookmark" |
2722 | - type="application/vnd.openstack.compute-v1.1+xml" |
2723 | - href="http://servers.api.openstack.org/1234/flavors/1"/> |
2724 | - <atom:link |
2725 | - rel="bookmark" |
2726 | - type="application/vnd.openstack.compute-v1.1+json" |
2727 | - href="http://servers.api.openstack.org/1234/flavors/1"/> |
2728 | + href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/> |
2729 | + <atom:link |
2730 | + rel="bookmark" |
2731 | + href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/> |
2732 | </flavor> |
2733 | - <flavor id="2" name="512 MB Server" ram="512" disk="20"> |
2734 | + <flavor id="52415800-8b69-11e0-9b19-734f216543fd" |
2735 | + name="512 MB Server" ram="512" disk="20"> |
2736 | <atom:link |
2737 | rel="self" |
2738 | - href="http://servers.api.openstack.org/v1.1/1234/flavors/2"/> |
2739 | - <atom:link |
2740 | - rel="bookmark" |
2741 | - type="application/vnd.openstack.compute-v1.1+xml" |
2742 | - href="http://servers.api.openstack.org/1234/flavors/2"/> |
2743 | - <atom:link |
2744 | - rel="bookmark" |
2745 | - type="application/vnd.openstack.compute-v1.1+json" |
2746 | - href="http://servers.api.openstack.org/1234/flavors/2"/> |
2747 | + href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/> |
2748 | + <atom:link |
2749 | + rel="bookmark" |
2750 | + href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/> |
2751 | </flavor> |
2752 | </flavors> |
2753 | |
2754 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/forbidden.json' |
2755 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/forbidden.json 1970-01-01 00:00:00 +0000 |
2756 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/forbidden.json 2011-06-24 02:29:39 +0000 |
2757 | @@ -0,0 +1,7 @@ |
2758 | +{ |
2759 | + "forbidden" : { |
2760 | + "code" : 403, |
2761 | + "message" : "You are not allowed to perform the operation.", |
2762 | + "details" : "Error Details..." |
2763 | + } |
2764 | +} |
2765 | |
2766 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/forbidden.xml' |
2767 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/forbidden.xml 1970-01-01 00:00:00 +0000 |
2768 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/forbidden.xml 2011-06-24 02:29:39 +0000 |
2769 | @@ -0,0 +1,5 @@ |
2770 | +<?xml version="1.0" encoding="UTF-8"?> |
2771 | +<forbidden xmlns="http://docs.openstack.org/compute/api/v1.1" code="403"> |
2772 | + <message>You are not allowed to perform the operation.</message> |
2773 | + <details>Error Details...</details> |
2774 | +</forbidden> |
2775 | |
2776 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-full.json' |
2777 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-full.json 1970-01-01 00:00:00 +0000 |
2778 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-full.json 2011-06-24 02:29:39 +0000 |
2779 | @@ -0,0 +1,47 @@ |
2780 | +{ |
2781 | + "image": { |
2782 | + "name": "Just in case", |
2783 | + "server": { |
2784 | + "id": "52415800-8b69-11e0-9b19-734f7247a38b", |
2785 | + "name": "Backup Server", |
2786 | + "updated": "2010-10-10T12:00:00Z", |
2787 | + "created": "2010-08-10T12:00:00Z", |
2788 | + "hostId": "9e107d9d372bb6826bd81d3542a419d6", |
2789 | + "status": "ACTIVE", |
2790 | + "primaryIPv4" : "67.23.10.133", |
2791 | + "primaryIPv6" : "::babe:67.23.10.133", |
2792 | + "addresses": { |
2793 | + "public" : [ |
2794 | + { |
2795 | + "version": 4, |
2796 | + "addr": "67.23.10.133" |
2797 | + }, |
2798 | + { |
2799 | + "version": 6, |
2800 | + "addr": "::babe:67.23.10.133" |
2801 | + } |
2802 | + ], |
2803 | + "private" : [ |
2804 | + { |
2805 | + "version": 4, |
2806 | + "addr": "10.176.42.17" |
2807 | + }, |
2808 | + { |
2809 | + "version": 6, |
2810 | + "addr": "::babe:10.176.42.17" |
2811 | + } |
2812 | + ] |
2813 | + }, |
2814 | + "links": [ |
2815 | + { |
2816 | + "rel": "self", |
2817 | + "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f7247a38b" |
2818 | + }, |
2819 | + { |
2820 | + "rel": "bookmark", |
2821 | + "href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f7247a38b" |
2822 | + } |
2823 | + ] |
2824 | + } |
2825 | + } |
2826 | +} |
2827 | |
2828 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-full.xml' |
2829 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-full.xml 1970-01-01 00:00:00 +0000 |
2830 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-full.xml 2011-06-24 02:29:39 +0000 |
2831 | @@ -0,0 +1,30 @@ |
2832 | +<?xml version="1.0" encoding="UTF-8"?> |
2833 | +<image xmlns="http://docs.openstack.org/compute/api/v1.1" |
2834 | + xmlns:atom="http://www.w3.org/2005/Atom" |
2835 | + name="Just in case"> |
2836 | + <server id="52415800-8b69-11e0-9b19-734f7247a38b" |
2837 | + name="Backup Server" |
2838 | + status="ACTIVE" hostId="9e107d9d372bb6826bd81d3542a419d6" |
2839 | + updated="2010-10-10T12:00:00Z" |
2840 | + created="2010-08-10T12:00:00Z" |
2841 | + primaryIPv4="67.23.10.133" |
2842 | + primaryIPv6="::babe:67.23.10.133" |
2843 | + > |
2844 | + <addresses> |
2845 | + <network id="public"> |
2846 | + <ip version="4" addr="67.23.10.133"/> |
2847 | + <ip version="6" addr="::babe:67.23.10.133"/> |
2848 | + </network> |
2849 | + <network id="private"> |
2850 | + <ip version="4" addr="10.176.42.17"/> |
2851 | + <ip version="6" addr="::babe:10.176.42.17"/> |
2852 | + </network> |
2853 | + </addresses> |
2854 | + <atom:link |
2855 | + rel="self" |
2856 | + href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f7247a38b"/> |
2857 | + <atom:link |
2858 | + rel="bookmark" |
2859 | + href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f7247a38b"/> |
2860 | + </server> |
2861 | +</image> |
2862 | |
2863 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-response.json' |
2864 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-response.json 1970-01-01 00:00:00 +0000 |
2865 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-response.json 2011-06-24 02:29:39 +0000 |
2866 | @@ -0,0 +1,33 @@ |
2867 | +{ |
2868 | + "image" : { |
2869 | + "id" : "52415800-8b69-11e0-9b19-734f7542c639", |
2870 | + "name" : "Just in case", |
2871 | + "created" : "2010-10-10T12:00:00Z", |
2872 | + "status" : "SAVING", |
2873 | + "progress" : 0, |
2874 | + "server" : { |
2875 | + "id": "52415800-8b69-11e0-9b19-734f7247a38b", |
2876 | + "name": "My Server", |
2877 | + "links": [ |
2878 | + { |
2879 | + "rel": "self", |
2880 | + "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f7247a38b" |
2881 | + }, |
2882 | + { |
2883 | + "rel": "bookmark", |
2884 | + "href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f7247a38b" |
2885 | + } |
2886 | + ] |
2887 | + }, |
2888 | + "links": [ |
2889 | + { |
2890 | + "rel" : "self", |
2891 | + "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f7542c639" |
2892 | + }, |
2893 | + { |
2894 | + "rel" : "bookmark", |
2895 | + "href" : "http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f7542c639" |
2896 | + } |
2897 | + ] |
2898 | + } |
2899 | +} |
2900 | |
2901 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-response.xml' |
2902 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-response.xml 1970-01-01 00:00:00 +0000 |
2903 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-create-response.xml 2011-06-24 02:29:39 +0000 |
2904 | @@ -0,0 +1,21 @@ |
2905 | +<image xmlns="http://docs.openstack.org/compute/api/v1.1" |
2906 | + xmlns:atom="http://www.w3.org/2005/Atom" |
2907 | + id="52415800-8b69-11e0-9b19-734f7542c639" |
2908 | + name="Just in case" |
2909 | + created="2010-10-10T12:00:00Z" |
2910 | + status="SAVING" progress="0"> |
2911 | + <server name="My Server" id="52415800-8b69-11e0-9b19-734f7247a38b"> |
2912 | + <atom:link |
2913 | + rel="self" |
2914 | + href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f7247a38b"/> |
2915 | + <atom:link |
2916 | + rel="bookmark" |
2917 | + href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f7247a38b"/> |
2918 | + </server> |
2919 | + <atom:link |
2920 | + rel="self" |
2921 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f7542c639"/> |
2922 | + <atom:link |
2923 | + rel="bookmark" |
2924 | + href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f7542c639"/> |
2925 | +</image> |
2926 | |
2927 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-create.json' |
2928 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-create.json 1970-01-01 00:00:00 +0000 |
2929 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-create.json 2011-06-24 02:29:39 +0000 |
2930 | @@ -0,0 +1,8 @@ |
2931 | +{ |
2932 | + "image": { |
2933 | + "name": "Just in case", |
2934 | + "server": { |
2935 | + "id": "52415800-8b69-11e0-9b19-734f7247a38b" |
2936 | + } |
2937 | + } |
2938 | +} |
2939 | |
2940 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-create.xml' |
2941 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-create.xml 1970-01-01 00:00:00 +0000 |
2942 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-create.xml 2011-06-24 02:29:39 +0000 |
2943 | @@ -0,0 +1,5 @@ |
2944 | +<?xml version="1.0" encoding="UTF-8"?> |
2945 | +<image xmlns="http://docs.openstack.org/compute/api/v1.1" |
2946 | + name="Just in case"> |
2947 | + <server id="52415800-8b69-11e0-9b19-734f7247a38b" /> |
2948 | +</image> |
2949 | |
2950 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-fault.json' |
2951 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-fault.json 1970-01-01 00:00:00 +0000 |
2952 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-fault.json 2011-06-24 02:29:39 +0000 |
2953 | @@ -0,0 +1,27 @@ |
2954 | +{ |
2955 | + "image" : { |
2956 | + "id" : "52415800-8b69-11e0-9b19-734f5736d2a2", |
2957 | + "name" : "My Server Backup", |
2958 | + "created" : "2010-08-10T12:00:00Z", |
2959 | + "status" : "SAVING", |
2960 | + "progress" : 89, |
2961 | + "server" : { |
2962 | + "id": "52415800-8b69-11e0-9b19-734f335aa7b3" |
2963 | + }, |
2964 | + "fault" : { |
2965 | + "code" : 500, |
2966 | + "message" : "An internal error occured", |
2967 | + "details" : "Error details" |
2968 | + }, |
2969 | + "links": [ |
2970 | + { |
2971 | + "rel" : "self", |
2972 | + "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2" |
2973 | + }, |
2974 | + { |
2975 | + "rel" : "bookmark", |
2976 | + "href" : "http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2" |
2977 | + } |
2978 | + ] |
2979 | + } |
2980 | +} |
2981 | |
2982 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-fault.xml' |
2983 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-fault.xml 1970-01-01 00:00:00 +0000 |
2984 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-fault.xml 2011-06-24 02:29:39 +0000 |
2985 | @@ -0,0 +1,20 @@ |
2986 | +<?xml version="1.0" encoding="UTF-8"?> |
2987 | +<image |
2988 | + xmlns="http://docs.openstack.org/compute/api/v1.1" |
2989 | + xmlns:atom="http://www.w3.org/2005/Atom" |
2990 | + id="52415800-8b69-11e0-9b19-734f5736d2a2" |
2991 | + name="My Server Backup" |
2992 | + created="2010-08-10T12:00:00Z" |
2993 | + status="ERROR" progress="89"> |
2994 | + <server id="52415800-8b69-11e0-9b19-734f335aa7b3" /> |
2995 | + <fault code="500"> |
2996 | + <message>An internal error occured</message> |
2997 | + <details>Error details</details> |
2998 | + </fault> |
2999 | + <atom:link |
3000 | + rel="self" |
3001 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/> |
3002 | + <atom:link |
3003 | + rel="bookmark" |
3004 | + href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/> |
3005 | +</image> |
3006 | |
3007 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-meta-page1.json' |
3008 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-meta-page1.json 2011-03-01 18:43:57 +0000 |
3009 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-meta-page1.json 2011-06-24 02:29:39 +0000 |
3010 | @@ -1,23 +1,21 @@ |
3011 | { |
3012 | - "image" : { |
3013 | - "id" : 1, |
3014 | - "name" : "CentOS 5.2", |
3015 | - "metadata" : { |
3016 | - "values" : { |
3017 | - "ImageVersion" : "1.5", |
3018 | - "ImageType" : "Gold" |
3019 | - }, |
3020 | - "links" : [ |
3021 | - { |
3022 | - "rel" : "next", |
3023 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images/1/meta?marker=ImageType" |
3024 | - } |
3025 | - ] |
3026 | + "image": { |
3027 | + "id": "52415800-8b69-11e0-9b19-734f6f006e54", |
3028 | + "name": "CentOS 5.2", |
3029 | + "metadata": { |
3030 | + "ImageVersion": "1.5", |
3031 | + "ImageType": "Gold" |
3032 | }, |
3033 | + "metadata_links": [ |
3034 | + { |
3035 | + "rel": "next", |
3036 | + "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54/meta?marker=ImageType" |
3037 | + } |
3038 | + ], |
3039 | "links": [ |
3040 | { |
3041 | - "rel" : "self", |
3042 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images/1" |
3043 | + "rel": "self", |
3044 | + "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54" |
3045 | } |
3046 | ] |
3047 | } |
3048 | |
3049 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image-meta-page1.xml' |
3050 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image-meta-page1.xml 2011-03-01 18:43:57 +0000 |
3051 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image-meta-page1.xml 2011-06-24 02:29:39 +0000 |
3052 | @@ -2,15 +2,16 @@ |
3053 | <image |
3054 | xmlns="http://docs.openstack.org/compute/api/v1.1" |
3055 | xmlns:atom="http://www.w3.org/2005/Atom" |
3056 | - id="1" name="CentOS 5.2"> |
3057 | + id="52415800-8b69-11e0-9b19-734f6f006e54" |
3058 | + name="CentOS 5.2"> |
3059 | <metadata> |
3060 | <meta key="ImageVersion">1.5</meta> |
3061 | <meta key="ImageType">Gold</meta> |
3062 | <atom:link |
3063 | rel="next" |
3064 | - href="http://servers.api.openstack.org/v1.1/1234/images/1/meta?marker=ImageType"/> |
3065 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54/meta?marker=ImageType"/> |
3066 | </metadata> |
3067 | <atom:link |
3068 | rel="self" |
3069 | - href="http://servers.api.openstack.org/v1.1/1234/images/1"/> |
3070 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/> |
3071 | </image> |
3072 | |
3073 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image.json' |
3074 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image.json 2011-03-01 18:43:57 +0000 |
3075 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image.json 2011-06-24 02:29:39 +0000 |
3076 | @@ -1,32 +1,33 @@ |
3077 | { |
3078 | "image" : { |
3079 | - "id" : 1, |
3080 | - "name" : "CentOS 5.2", |
3081 | - "serverRef" : "http://servers.api.openstack.org/v1.1/1234/servers/12", |
3082 | + "id" : "52415800-8b69-11e0-9b19-734f5736d2a2", |
3083 | + "name" : "My Server Backup", |
3084 | "updated" : "2010-10-10T12:00:00Z", |
3085 | "created" : "2010-08-10T12:00:00Z", |
3086 | "status" : "SAVING", |
3087 | "progress" : 80, |
3088 | - "metadata" : { |
3089 | - "values" : { |
3090 | - "ImageVersion" : "1.5", |
3091 | - "ImageType" : "Gold" |
3092 | - } |
3093 | + "server" : { |
3094 | + "id": "52415800-8b69-11e0-9b19-734f335aa7b3", |
3095 | + "name": "test-server", |
3096 | + "links": [ |
3097 | + { |
3098 | + "rel": "self", |
3099 | + "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3" |
3100 | + }, |
3101 | + { |
3102 | + "rel": "bookmark", |
3103 | + "href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3" |
3104 | + } |
3105 | + ] |
3106 | }, |
3107 | "links": [ |
3108 | { |
3109 | "rel" : "self", |
3110 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images/1" |
3111 | - }, |
3112 | - { |
3113 | - "rel" : "bookmark", |
3114 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
3115 | - "href" : "http://servers.api.openstack.org/1234/images/1" |
3116 | - }, |
3117 | - { |
3118 | - "rel" : "bookmark", |
3119 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
3120 | - "href" : "http://servers.api.openstack.org/1234/images/1" |
3121 | + "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2" |
3122 | + }, |
3123 | + { |
3124 | + "rel" : "bookmark", |
3125 | + "href" : "http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2" |
3126 | } |
3127 | ] |
3128 | } |
3129 | |
3130 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/image.xml' |
3131 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/image.xml 2011-03-01 18:43:57 +0000 |
3132 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/image.xml 2011-06-24 02:29:39 +0000 |
3133 | @@ -2,24 +2,23 @@ |
3134 | <image |
3135 | xmlns="http://docs.openstack.org/compute/api/v1.1" |
3136 | xmlns:atom="http://www.w3.org/2005/Atom" |
3137 | - id="1" name="CentOS 5.2" |
3138 | - serverRef="http://servers.api.openstack.org/v1.1/1234/servers/12" |
3139 | + id="52415800-8b69-11e0-9b19-734f5736d2a2" |
3140 | + name="My Server Backup" |
3141 | updated="2010-10-10T12:00:00Z" |
3142 | created="2010-08-10T12:00:00Z" |
3143 | status="SAVING" progress="80"> |
3144 | - <metadata> |
3145 | - <meta key="ImageVersion">1.5</meta> |
3146 | - <meta key="ImageType">Gold</meta> |
3147 | - </metadata> |
3148 | + <server name="test-server" id="52415800-8b69-11e0-9b19-734f335aa7b3"> |
3149 | + <atom:link |
3150 | + rel="self" |
3151 | + href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"/> |
3152 | + <atom:link |
3153 | + rel="bookmark" |
3154 | + href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"/> |
3155 | + </server> |
3156 | <atom:link |
3157 | rel="self" |
3158 | - href="http://servers.api.openstack.org/v1.1/1234/images/1"/> |
3159 | - <atom:link |
3160 | - rel="bookmark" |
3161 | - type="application/vnd.openstack.compute-v1.1+xml" |
3162 | - href="http://servers.api.openstack.org/1234/images/1"/> |
3163 | - <atom:link |
3164 | - rel="bookmark" |
3165 | - type="application/vnd.openstack.compute-v1.1+json" |
3166 | - href="http://servers.api.openstack.org/1234/images/1"/> |
3167 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/> |
3168 | + <atom:link |
3169 | + rel="bookmark" |
3170 | + href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/> |
3171 | </image> |
3172 | |
3173 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/images-page1.json' |
3174 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/images-page1.json 2011-03-01 18:43:57 +0000 |
3175 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/images-page1.json 2011-06-24 02:29:39 +0000 |
3176 | @@ -1,22 +1,20 @@ |
3177 | { |
3178 | - "images" : { |
3179 | - "values" : [ |
3180 | - { |
3181 | - "id" : 1, |
3182 | - "name" : "CentOS 5.2", |
3183 | - "links": [ |
3184 | - { |
3185 | - "rel" : "self", |
3186 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images/1" |
3187 | - } |
3188 | - ] |
3189 | - } |
3190 | - ], |
3191 | - "links" : [ |
3192 | - { |
3193 | - "rel" : "next", |
3194 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=1" |
3195 | - } |
3196 | - ] |
3197 | - } |
3198 | + "images": [ |
3199 | + { |
3200 | + "id": "52415800-8b69-11e0-9b19-734f6f006e54", |
3201 | + "name": "CentOS 5.2", |
3202 | + "links": [ |
3203 | + { |
3204 | + "rel": "self", |
3205 | + "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54" |
3206 | + } |
3207 | + ] |
3208 | + } |
3209 | + ], |
3210 | + "images_links" : [ |
3211 | + { |
3212 | + "rel": "next", |
3213 | + "href": "http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54" |
3214 | + } |
3215 | + ] |
3216 | } |
3217 | |
3218 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/images-page1.xml' |
3219 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/images-page1.xml 2011-03-01 18:43:57 +0000 |
3220 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/images-page1.xml 2011-06-24 02:29:39 +0000 |
3221 | @@ -1,12 +1,13 @@ |
3222 | <?xml version="1.0" encoding="UTF-8"?> |
3223 | <images xmlns="http://docs.openstack.org/compute/api/v1.1" |
3224 | xmlns:atom="http://www.w3.org/2005/Atom"> |
3225 | - <image id="1" name="CentOS 5.2"> |
3226 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" |
3227 | + name="CentOS 5.2"> |
3228 | <atom:link |
3229 | rel="self" |
3230 | - href="http://servers.api.openstack.org/v1.1/1234/images/1"/> |
3231 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/> |
3232 | </image> |
3233 | <atom:link |
3234 | rel="next" |
3235 | - href="http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=1"/> |
3236 | + href="http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"/> |
3237 | </images> |
3238 | |
3239 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/images-page2.json' |
3240 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/images-page2.json 2011-03-01 18:43:57 +0000 |
3241 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/images-page2.json 2011-06-24 02:29:39 +0000 |
3242 | @@ -1,26 +1,20 @@ |
3243 | { |
3244 | - "images" : { |
3245 | - "values" : [ |
3246 | + "images" : [ |
3247 | { |
3248 | - "id" : 743, |
3249 | + "id" : "52415800-8b69-11e0-9b19-734f5736d2a2", |
3250 | "name" : "My Server Backup", |
3251 | "links": [ |
3252 | { |
3253 | "rel" : "self", |
3254 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images/743" |
3255 | + "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2" |
3256 | } |
3257 | ] |
3258 | } |
3259 | ], |
3260 | - "links" : [ |
3261 | - { |
3262 | - "rel" : "previous", |
3263 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images?limit=1" |
3264 | - }, |
3265 | - { |
3266 | - "rel" : "next", |
3267 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=743" |
3268 | - } |
3269 | - ] |
3270 | - } |
3271 | + "images_links": [ |
3272 | + { |
3273 | + |
3274 | + "href" : "http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f5736d2a2" |
3275 | + } |
3276 | + ] |
3277 | } |
3278 | |
3279 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/images-page2.xml' |
3280 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/images-page2.xml 2011-03-01 18:43:57 +0000 |
3281 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/images-page2.xml 2011-06-24 02:29:39 +0000 |
3282 | @@ -1,13 +1,11 @@ |
3283 | <?xml version="1.0" encoding="UTF-8"?> |
3284 | <images xmlns="http://docs.openstack.org/compute/api/v1.1" |
3285 | xmlns:atom="http://www.w3.org/2005/Atom"> |
3286 | - <image id="743" name="My Server Backup"> |
3287 | + <image id="52415800-8b69-11e0-9b19-734f5736d2a2" name="My Server Backup"> |
3288 | <atom:link |
3289 | rel="self" |
3290 | - href="http://servers.api.openstack.org/v1.1/1234/images/743"/> |
3291 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/> |
3292 | </image> |
3293 | - <atom:link rel="previous" |
3294 | - href="http://servers.api.openstack.org/v1.1/1234/images?limit=1"/> |
3295 | <atom:link rel="next" |
3296 | - href="http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=743"/> |
3297 | + href="http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f5736d2a2"/> |
3298 | </images> |
3299 | |
3300 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/images-page3.json' |
3301 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/images-page3.json 2011-03-01 18:43:57 +0000 |
3302 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/images-page3.json 2011-06-24 02:29:39 +0000 |
3303 | @@ -1,22 +1,14 @@ |
3304 | { |
3305 | - "images" : { |
3306 | - "values" : [ |
3307 | - { |
3308 | - "id" : 999, |
3309 | - "name" : "Backup 2", |
3310 | - "links": [ |
3311 | - { |
3312 | - "rel" : "self", |
3313 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images/999" |
3314 | - } |
3315 | - ] |
3316 | - } |
3317 | - ], |
3318 | - "links" : [ |
3319 | - { |
3320 | - "rel" : "previous", |
3321 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=1" |
3322 | - } |
3323 | - ] |
3324 | - } |
3325 | + "images": [ |
3326 | + { |
3327 | + "id": "52415800-8b69-11e0-9b19-734f6ff7c475", |
3328 | + "name": "Backup 2", |
3329 | + "links": [ |
3330 | + { |
3331 | + "rel": "self", |
3332 | + "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6ff7c475" |
3333 | + } |
3334 | + ] |
3335 | + } |
3336 | + ] |
3337 | } |
3338 | |
3339 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/images-page3.xml' |
3340 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/images-page3.xml 2011-03-01 18:43:57 +0000 |
3341 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/images-page3.xml 2011-06-24 02:29:39 +0000 |
3342 | @@ -1,11 +1,10 @@ |
3343 | <?xml version="1.0" encoding="UTF-8"?> |
3344 | <images xmlns="http://docs.openstack.org/compute/api/v1.1" |
3345 | xmlns:atom="http://www.w3.org/2005/Atom"> |
3346 | - <image id="999" name="Backup 2"> |
3347 | + <image id="52415800-8b69-11e0-9b19-734f6ff7c475" |
3348 | + name="Backup 2"> |
3349 | <atom:link |
3350 | rel="self" |
3351 | - href="http://servers.api.openstack.org/v1.1/1234/images/999"/> |
3352 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6ff7c475"/> |
3353 | </image> |
3354 | - <atom:link rel="previous" |
3355 | - href="http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=1"/> |
3356 | </images> |
3357 | |
3358 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/images.json' |
3359 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/images.json 2011-03-01 18:43:57 +0000 |
3360 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/images.json 2011-06-24 02:29:39 +0000 |
3361 | @@ -1,60 +1,57 @@ |
3362 | { |
3363 | - "images" : { |
3364 | - "values" : [ |
3365 | - { |
3366 | - "id" : 1, |
3367 | - "name" : "CentOS 5.2", |
3368 | - "updated" : "2010-10-10T12:00:00Z", |
3369 | - "created" : "2010-08-10T12:00:00Z", |
3370 | - "status" : "ACTIVE", |
3371 | - "metadata" : { |
3372 | - "values" : { |
3373 | - "ImageType" : "Gold", |
3374 | - "ImageVersion" : "1.5" |
3375 | - } |
3376 | - }, |
3377 | - "links": [ |
3378 | - { |
3379 | - "rel" : "self", |
3380 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images/1" |
3381 | - }, |
3382 | - { |
3383 | - "rel" : "bookmark", |
3384 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
3385 | - "href" : "http://servers.api.openstack.org/1234/images/1" |
3386 | - }, |
3387 | - { |
3388 | - "rel" : "bookmark", |
3389 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
3390 | - "href" : "http://servers.api.openstack.org/1234/images/1" |
3391 | - } |
3392 | - ] |
3393 | - }, |
3394 | - { |
3395 | - "id" : 743, |
3396 | - "name" : "My Server Backup", |
3397 | - "serverRef" : "http://servers.api.openstack.org/v1.1/1234/servers/12", |
3398 | - "updated" : "2010-10-10T12:00:00Z", |
3399 | - "created" : "2010-08-10T12:00:00Z", |
3400 | - "status" : "SAVING", |
3401 | - "progress" : 80, |
3402 | - "links": [ |
3403 | - { |
3404 | - "rel" : "self", |
3405 | - "href" : "http://servers.api.openstack.org/v1.1/1234/images/743" |
3406 | - }, |
3407 | - { |
3408 | - "rel" : "bookmark", |
3409 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
3410 | - "href" : "http://servers.api.openstack.org/1234/images/743" |
3411 | - }, |
3412 | - { |
3413 | - "rel" : "bookmark", |
3414 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
3415 | - "href" : "http://servers.api.openstack.org/1234/images/743" |
3416 | - } |
3417 | - ] |
3418 | - } |
3419 | - ] |
3420 | - } |
3421 | + "images": [ |
3422 | + { |
3423 | + "id": "52415800-8b69-11e0-9b19-734f6f006e54", |
3424 | + "name": "CentOS 5.2", |
3425 | + "updated": "2010-10-10T12:00:00Z", |
3426 | + "created": "2010-08-10T12:00:00Z", |
3427 | + "status": "ACTIVE", |
3428 | + "metadata": { |
3429 | + "ImageType": "Gold", |
3430 | + "ImageVersion": "1.5" |
3431 | + }, |
3432 | + "links": [ |
3433 | + { |
3434 | + "rel": "self", |
3435 | + "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54" |
3436 | + }, |
3437 | + { |
3438 | + "rel": "bookmark", |
3439 | + "href": "http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f6f006e54" |
3440 | + } |
3441 | + ] |
3442 | + }, |
3443 | + { |
3444 | + "id" : "52415800-8b69-11e0-9b19-734f5736d2a2", |
3445 | + "name" : "My Server Backup", |
3446 | + "updated" : "2010-10-10T12:00:00Z", |
3447 | + "created" : "2010-08-10T12:00:00Z", |
3448 | + "status" : "SAVING", |
3449 | + "progress" : 80, |
3450 | + "server" : { |
3451 | + "id": "52415800-8b69-11e0-9b19-734f335aa7b3", |
3452 | + "name": "test-server", |
3453 | + "links": [ |
3454 | + { |
3455 | + "rel": "self", |
3456 | + "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3" |
3457 | + }, |
3458 | + { |
3459 | + "rel": "bookmark", |
3460 | + "href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3" |
3461 | + } |
3462 | + ] |
3463 | + }, |
3464 | + "links": [ |
3465 | + { |
3466 | + "rel" : "self", |
3467 | + "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2" |
3468 | + }, |
3469 | + { |
3470 | + "rel" : "bookmark", |
3471 | + "href" : "http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2" |
3472 | + } |
3473 | + ] |
3474 | + } |
3475 | + ] |
3476 | } |
3477 | |
3478 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/images.xml' |
3479 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/images.xml 2011-03-01 18:43:57 +0000 |
3480 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/images.xml 2011-06-24 02:29:39 +0000 |
3481 | @@ -1,7 +1,8 @@ |
3482 | <?xml version="1.0" encoding="UTF-8"?> |
3483 | <images xmlns="http://docs.openstack.org/compute/api/v1.1" |
3484 | xmlns:atom="http://www.w3.org/2005/Atom"> |
3485 | - <image id="1" name="CentOS 5.2" |
3486 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" |
3487 | + name="CentOS 5.2" |
3488 | updated="2010-10-10T12:00:00Z" |
3489 | created="2010-08-10T12:00:00Z" |
3490 | status="ACTIVE"> |
3491 | @@ -11,31 +12,30 @@ |
3492 | </metadata> |
3493 | <atom:link |
3494 | rel="self" |
3495 | - href="http://servers.api.openstack.org/v1.1/1234/images/1"/> |
3496 | - <atom:link |
3497 | - rel="bookmark" |
3498 | - type="application/vnd.openstack.compute-v1.1+xml" |
3499 | - href="http://servers.api.openstack.org/1234/images/1"/> |
3500 | - <atom:link |
3501 | - rel="bookmark" |
3502 | - type="application/vnd.openstack.compute-v1.1+json" |
3503 | - href="http://servers.api.openstack.org/1234/images/1"/> |
3504 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/> |
3505 | + <atom:link |
3506 | + rel="bookmark" |
3507 | + href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/> |
3508 | </image> |
3509 | - <image id="743" name="My Server Backup" |
3510 | - serverRef="http://servers.api.openstack.org/v1.1/1234/servers/12" |
3511 | - updated="2010-10-10T12:00:00Z" |
3512 | - created="2010-08-10T12:00:00Z" |
3513 | - status="SAVING" progress="80"> |
3514 | - <atom:link |
3515 | - rel="self" |
3516 | - href="http://servers.api.openstack.org/v1.1/1234/images/743"/> |
3517 | - <atom:link |
3518 | - rel="bookmark" |
3519 | - type="application/vnd.openstack.compute-v1.1+xml" |
3520 | - href="http://servers.api.openstack.org/1234/images/743"/> |
3521 | - <atom:link |
3522 | - rel="bookmark" |
3523 | - type="application/vnd.openstack.compute-v1.1+json" |
3524 | - href="http://servers.api.openstack.org/1234/images/743"/> |
3525 | + <image |
3526 | + id="52415800-8b69-11e0-9b19-734f5736d2a2" |
3527 | + name="My Server Backup" |
3528 | + updated="2010-10-10T12:00:00Z" |
3529 | + created="2010-08-10T12:00:00Z" |
3530 | + status="SAVING" progress="80"> |
3531 | + <server name="test-server" id="52415800-8b69-11e0-9b19-734f335aa7b3"> |
3532 | + <atom:link |
3533 | + rel="self" |
3534 | + href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"/> |
3535 | + <atom:link |
3536 | + rel="bookmark" |
3537 | + href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"/> |
3538 | + </server> |
3539 | + <atom:link |
3540 | + rel="self" |
3541 | + href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/> |
3542 | + <atom:link |
3543 | + rel="bookmark" |
3544 | + href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/> |
3545 | </image> |
3546 | </images> |
3547 | |
3548 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup.json' |
3549 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup.json 2011-03-01 18:43:57 +0000 |
3550 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup.json 2011-06-24 02:29:39 +0000 |
3551 | @@ -1,22 +1,16 @@ |
3552 | { |
3553 | "sharedIpGroup" : { |
3554 | - "id" : 1234, |
3555 | + "id" : "52415800-8b69-11e0-9b19-734f68ab4a9f", |
3556 | "name" : "Shared IP Group 1", |
3557 | - "servers" : [422], |
3558 | + "servers" : ["52415800-8b69-11e0-9b19-734f0272444a"], |
3559 | "links": [ |
3560 | { |
3561 | "rel" : "self", |
3562 | - "href" : "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/1234" |
3563 | - }, |
3564 | - { |
3565 | - "rel" : "bookmark", |
3566 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
3567 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/1234" |
3568 | - }, |
3569 | - { |
3570 | - "rel" : "bookmark", |
3571 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
3572 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/1234" |
3573 | + "href" : "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f" |
3574 | + }, |
3575 | + { |
3576 | + "rel" : "bookmark", |
3577 | + "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f" |
3578 | } |
3579 | ] |
3580 | } |
3581 | |
3582 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup.xml' |
3583 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup.xml 2011-03-01 18:43:57 +0000 |
3584 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup.xml 2011-06-24 02:29:39 +0000 |
3585 | @@ -2,19 +2,15 @@ |
3586 | <sharedIpGroup |
3587 | xmlns="http://docs.openstack.org/compute/api/v1.1" |
3588 | xmlns:atom="http://www.w3.org/2005/Atom" |
3589 | - id="1234" name="Shared IP Group 1"> |
3590 | + id="52415800-8b69-11e0-9b19-734f68ab4a9f" |
3591 | + name="Shared IP Group 1"> |
3592 | <servers> |
3593 | - <server id="422"/> |
3594 | + <server id="52415800-8b69-11e0-9b19-734f0272444a"/> |
3595 | </servers> |
3596 | <atom:link |
3597 | rel="self" |
3598 | - href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/1234"/> |
3599 | - <atom:link |
3600 | - rel="bookmark" |
3601 | - type="application/vnd.openstack.compute-v1.1+xml" |
3602 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/1234"/> |
3603 | - <atom:link |
3604 | - rel="bookmark" |
3605 | - type="application/vnd.openstack.compute-v1.1+json" |
3606 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/1234"/> |
3607 | + href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/> |
3608 | + <atom:link |
3609 | + rel="bookmark" |
3610 | + href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/> |
3611 | </sharedIpGroup> |
3612 | |
3613 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup2.json' |
3614 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup2.json 2011-03-01 18:10:50 +0000 |
3615 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup2.json 2011-06-24 02:29:39 +0000 |
3616 | @@ -1,6 +1,6 @@ |
3617 | { |
3618 | "sharedIpGroup" : { |
3619 | "name" : "Shared IP Group 1", |
3620 | - "server" : 422 |
3621 | + "server" : "52415800-8b69-11e0-9b19-734f0272444a" |
3622 | } |
3623 | } |
3624 | |
3625 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup2.xml' |
3626 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup2.xml 2011-03-01 18:24:38 +0000 |
3627 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroup2.xml 2011-06-24 02:29:39 +0000 |
3628 | @@ -2,5 +2,5 @@ |
3629 | <sharedIpGroup |
3630 | xmlns="http://docs.openstack.org/compute/api/v1.1" |
3631 | name="Shared IP Group 1"> |
3632 | - <server id="422"/> |
3633 | + <server id="52415800-8b69-11e0-9b19-734f0272444a"/> |
3634 | </sharedIpGroup> |
3635 | |
3636 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups-page1.json' |
3637 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups-page1.json 2011-03-01 18:43:57 +0000 |
3638 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups-page1.json 2011-06-24 02:29:39 +0000 |
3639 | @@ -1,53 +1,48 @@ |
3640 | { |
3641 | - "sharedIpGroups" : { |
3642 | - "values" : [ |
3643 | - { |
3644 | - "id" : 1234, |
3645 | - "name" : "Shared IP Group 1", |
3646 | - "servers" : [422, 3445], |
3647 | - "links": [ |
3648 | - { |
3649 | - "rel" : "self", |
3650 | - "href" : "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/1234" |
3651 | - }, |
3652 | - { |
3653 | - "rel" : "bookmark", |
3654 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
3655 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/1234" |
3656 | - }, |
3657 | - { |
3658 | - "rel" : "bookmark", |
3659 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
3660 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/1234" |
3661 | - } |
3662 | - ] |
3663 | - }, |
3664 | - { |
3665 | - "id" : 5678, |
3666 | - "name" : "Shared IP Group 2", |
3667 | - "servers" : [23203, 2456, 9891], |
3668 | - "links": [ |
3669 | - { |
3670 | - "rel" : "self", |
3671 | - "href" : "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/5678" |
3672 | - }, |
3673 | - { |
3674 | - "rel" : "bookmark", |
3675 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
3676 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/5678" |
3677 | - }, |
3678 | - { |
3679 | - "rel" : "bookmark", |
3680 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
3681 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/5678" |
3682 | - } |
3683 | - ] |
3684 | - } |
3685 | - ], |
3686 | - "links" : [ |
3687 | - { |
3688 | - "rel" : "next", |
3689 | - "href" : "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups?limit=2&marker=5678" |
3690 | + "sharedIpGroups": [ |
3691 | + { |
3692 | + "id": "52415800-8b69-11e0-9b19-734f68ab4a9f", |
3693 | + "name": "Shared IP Group 1", |
3694 | + "servers": [ |
3695 | + "52415800-8b69-11e0-9b19-734f0272444a", |
3696 | + "52415800-8b69-11e0-9b19-734f3b0d4465" |
3697 | + ], |
3698 | + "links": [ |
3699 | + { |
3700 | + "rel": "self", |
3701 | + "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f" |
3702 | + }, |
3703 | + { |
3704 | + "rel": "bookmark", |
3705 | + "href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f" |
3706 | + } |
3707 | + ] |
3708 | + }, |
3709 | + { |
3710 | + "id": "52415800-8b69-11e0-9b19-734f0e75433e", |
3711 | + "name": "Shared IP Group 2", |
3712 | + "servers": [ |
3713 | + "52415800-8b69-11e0-9b19-734f10c97171", |
3714 | + "52415800-8b69-11e0-9b19-734f4306ea92", |
3715 | + "52415800-8b69-11e0-9b19-734f216543fd" |
3716 | + ], |
3717 | + "links": [ |
3718 | + { |
3719 | + "rel": "self", |
3720 | + "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e" |
3721 | + }, |
3722 | + { |
3723 | + "rel": "bookmark", |
3724 | + "href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e" |
3725 | + } |
3726 | + ] |
3727 | + } |
3728 | + ], |
3729 | + "sharedIpGroups_": { |
3730 | + "links": [ |
3731 | + { |
3732 | + "rel": "next", |
3733 | + "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups?limit=2&marker=52415800-8b69-11e0-9b19-734f0e75433e" |
3734 | } |
3735 | ] |
3736 | } |
3737 | |
3738 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups-page1.xml' |
3739 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups-page1.xml 2011-03-01 18:43:57 +0000 |
3740 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups-page1.xml 2011-06-24 02:29:39 +0000 |
3741 | @@ -2,42 +2,36 @@ |
3742 | <sharedIpGroups |
3743 | xmlns="http://docs.openstack.org/compute/api/v1.1" |
3744 | xmlns:atom="http://www.w3.org/2005/Atom"> |
3745 | - <sharedIpGroup id="1234" name="Shared IP Group 1"> |
3746 | + <sharedIpGroup |
3747 | + id="52415800-8b69-11e0-9b19-734f68ab4a9f" |
3748 | + name="Shared IP Group 1"> |
3749 | <servers> |
3750 | - <server id="422"/> |
3751 | - <server id="3445"/> |
3752 | + <server id="52415800-8b69-11e0-9b19-734f0272444a"/> |
3753 | + <server id="52415800-8b69-11e0-9b19-734f3b0d4465"/> |
3754 | </servers> |
3755 | <atom:link |
3756 | rel="self" |
3757 | - href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/1234"/> |
3758 | - <atom:link |
3759 | - rel="bookmark" |
3760 | - type="application/vnd.openstack.compute-v1.1+xml" |
3761 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/1234"/> |
3762 | - <atom:link |
3763 | - rel="bookmark" |
3764 | - type="application/vnd.openstack.compute-v1.1+json" |
3765 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/1234"/> |
3766 | + href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/> |
3767 | + <atom:link |
3768 | + rel="bookmark" |
3769 | + href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/> |
3770 | </sharedIpGroup> |
3771 | - <sharedIpGroup id="5678" name="Shared IP Group 2"> |
3772 | + <sharedIpGroup |
3773 | + id="52415800-8b69-11e0-9b19-734f0e75433e" |
3774 | + name="Shared IP Group 2"> |
3775 | <servers> |
3776 | - <server id="23203"/> |
3777 | - <server id="2456"/> |
3778 | - <server id="9891"/> |
3779 | + <server id="52415800-8b69-11e0-9b19-734f10c97171"/> |
3780 | + <server id="52415800-8b69-11e0-9b19-734f4306ea92"/> |
3781 | + <server id="52415800-8b69-11e0-9b19-734f216543fd"/> |
3782 | </servers> |
3783 | <atom:link |
3784 | rel="self" |
3785 | - href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/5678"/> |
3786 | - <atom:link |
3787 | - rel="bookmark" |
3788 | - type="application/vnd.openstack.compute-v1.1+xml" |
3789 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/5678"/> |
3790 | - <atom:link |
3791 | - rel="bookmark" |
3792 | - type="application/vnd.openstack.compute-v1.1+json" |
3793 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/5678"/> |
3794 | + href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"/> |
3795 | + <atom:link |
3796 | + rel="bookmark" |
3797 | + href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"/> |
3798 | </sharedIpGroup> |
3799 | <atom:link |
3800 | rel="next" |
3801 | - href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups?limit=2&marker=5678"/> |
3802 | + href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups?limit=2&marker=52415800-8b69-11e0-9b19-734f0e75433e"/> |
3803 | </sharedIpGroups> |
3804 | |
3805 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups.json' |
3806 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups.json 2011-03-01 18:43:57 +0000 |
3807 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups.json 2011-06-24 02:29:39 +0000 |
3808 | @@ -1,48 +1,41 @@ |
3809 | { |
3810 | - "sharedIpGroups" : { |
3811 | - "values" : [ |
3812 | - { |
3813 | - "id" : 1234, |
3814 | - "name" : "Shared IP Group 1", |
3815 | - "servers" : [422, 3445], |
3816 | - "links": [ |
3817 | - { |
3818 | - "rel" : "self", |
3819 | - "href" : "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/1234" |
3820 | - }, |
3821 | - { |
3822 | - "rel" : "bookmark", |
3823 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
3824 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/1234" |
3825 | - }, |
3826 | - { |
3827 | - "rel" : "bookmark", |
3828 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
3829 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/1234" |
3830 | - } |
3831 | - ] |
3832 | - }, |
3833 | - { |
3834 | - "id" : 5678, |
3835 | - "name" : "Shared IP Group 2", |
3836 | - "servers" : [23203, 2456, 9891], |
3837 | - "links": [ |
3838 | - { |
3839 | - "rel" : "self", |
3840 | - "href" : "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/5678" |
3841 | - }, |
3842 | - { |
3843 | - "rel" : "bookmark", |
3844 | - "type" : "application/vnd.openstack.compute-v1.1+xml", |
3845 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/5678" |
3846 | - }, |
3847 | - { |
3848 | - "rel" : "bookmark", |
3849 | - "type" : "application/vnd.openstack.compute-v1.1+json", |
3850 | - "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/5678" |
3851 | - } |
3852 | - ] |
3853 | - } |
3854 | - ] |
3855 | - } |
3856 | + "sharedIpGroups": [ |
3857 | + { |
3858 | + "id": "52415800-8b69-11e0-9b19-734f68ab4a9f", |
3859 | + "name": "Shared IP Group 1", |
3860 | + "servers": [ |
3861 | + "52415800-8b69-11e0-9b19-734f0272444a", |
3862 | + "52415800-8b69-11e0-9b19-734f3b0d4465" |
3863 | + ], |
3864 | + "links": [ |
3865 | + { |
3866 | + "rel": "self", |
3867 | + "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f" |
3868 | + }, |
3869 | + { |
3870 | + "rel": "bookmark", |
3871 | + "href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f" |
3872 | + } |
3873 | + ] |
3874 | + }, |
3875 | + { |
3876 | + "id": "52415800-8b69-11e0-9b19-734f0e75433e", |
3877 | + "name": "Shared IP Group 2", |
3878 | + "servers": [ |
3879 | + "52415800-8b69-11e0-9b19-734f10c97171", |
3880 | + "52415800-8b69-11e0-9b19-734f4306ea92", |
3881 | + "52415800-8b69-11e0-9b19-734f216543fd" |
3882 | + ], |
3883 | + "links": [ |
3884 | + { |
3885 | + "rel": "self", |
3886 | + "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e" |
3887 | + }, |
3888 | + { |
3889 | + "rel": "bookmark", |
3890 | + "href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e" |
3891 | + } |
3892 | + ] |
3893 | + } |
3894 | + ] |
3895 | } |
3896 | |
3897 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups.xml' |
3898 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups.xml 2011-03-01 18:43:57 +0000 |
3899 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/ipgroups.xml 2011-06-24 02:29:39 +0000 |
3900 | @@ -2,39 +2,33 @@ |
3901 | <sharedIpGroups |
3902 | xmlns="http://docs.openstack.org/compute/api/v1.1" |
3903 | xmlns:atom="http://www.w3.org/2005/Atom"> |
3904 | - <sharedIpGroup id="1234" name="Shared IP Group 1"> |
3905 | + <sharedIpGroup |
3906 | + id="52415800-8b69-11e0-9b19-734f68ab4a9f" |
3907 | + name="Shared IP Group 1"> |
3908 | <servers> |
3909 | - <server id="422"/> |
3910 | - <server id="3445"/> |
3911 | + <server id="52415800-8b69-11e0-9b19-734f0272444a"/> |
3912 | + <server id="52415800-8b69-11e0-9b19-734f3b0d4465"/> |
3913 | </servers> |
3914 | <atom:link |
3915 | rel="self" |
3916 | - href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/1234"/> |
3917 | - <atom:link |
3918 | - rel="bookmark" |
3919 | - type="application/vnd.openstack.compute-v1.1+xml" |
3920 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/1234"/> |
3921 | - <atom:link |
3922 | - rel="bookmark" |
3923 | - type="application/vnd.openstack.compute-v1.1+json" |
3924 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/1234"/> |
3925 | + href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/> |
3926 | + <atom:link |
3927 | + rel="bookmark" |
3928 | + href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/> |
3929 | </sharedIpGroup> |
3930 | - <sharedIpGroup id="5678" name="Shared IP Group 2"> |
3931 | + <sharedIpGroup |
3932 | + id="52415800-8b69-11e0-9b19-734f0e75433e" |
3933 | + name="Shared IP Group 2"> |
3934 | <servers> |
3935 | - <server id="23203"/> |
3936 | - <server id="2456"/> |
3937 | - <server id="9891"/> |
3938 | + <server id="52415800-8b69-11e0-9b19-734f10c97171"/> |
3939 | + <server id="52415800-8b69-11e0-9b19-734f4306ea92"/> |
3940 | + <server id="52415800-8b69-11e0-9b19-734f216543fd"/> |
3941 | </servers> |
3942 | <atom:link |
3943 | rel="self" |
3944 | - href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/5678"/> |
3945 | - <atom:link |
3946 | - rel="bookmark" |
3947 | - type="application/vnd.openstack.compute-v1.1+xml" |
3948 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/5678"/> |
3949 | - <atom:link |
3950 | - rel="bookmark" |
3951 | - type="application/vnd.openstack.compute-v1.1+json" |
3952 | - href="http://servers.api.openstack.org/1234/shared_ip_groups/5678"/> |
3953 | + href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"/> |
3954 | + <atom:link |
3955 | + rel="bookmark" |
3956 | + href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"/> |
3957 | </sharedIpGroup> |
3958 | </sharedIpGroups> |
3959 | |
3960 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/limits.json' |
3961 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/limits.json 2011-04-26 03:49:47 +0000 |
3962 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/limits.json 2011-06-24 02:29:39 +0000 |
3963 | @@ -1,70 +1,66 @@ |
3964 | { |
3965 | - "limits" : { |
3966 | - "rate" : { |
3967 | - "values" : [ |
3968 | - { |
3969 | - "uri" : "*", |
3970 | - "regex" : ".*", |
3971 | - "limit" : [ |
3972 | - { |
3973 | - "value" : 10, |
3974 | - "verb" : "POST", |
3975 | - "remaining" : 2, |
3976 | - "unit" : "MINUTE", |
3977 | - "next-available" : "2011-12-15T22:42:45Z" |
3978 | - }, |
3979 | - { |
3980 | - "value" : 10, |
3981 | - "verb" : "PUT", |
3982 | - "remaining" : 2, |
3983 | - "unit" : "MINUTE", |
3984 | - "next-available" : "2011-12-15T22:42:45Z" |
3985 | - }, |
3986 | - { |
3987 | - "value" : 100, |
3988 | - "verb" : "DELETE", |
3989 | - "remaining" : 100, |
3990 | - "unit" : "MINUTE", |
3991 | - "next-available" : "2011-12-15T22:42:45Z" |
3992 | - } |
3993 | - ] |
3994 | - }, |
3995 | - { |
3996 | - "uri" : "*changes-since*", |
3997 | - "regex" : "changes-since", |
3998 | - "limit" : [ |
3999 | - { |
4000 | - "value" : 3, |
4001 | - "verb" : "GET", |
4002 | - "remaining" : 3, |
4003 | - "unit" : "MINUTE", |
4004 | - "next-available" : "2011-12-15T22:42:45Z" |
4005 | - } |
4006 | - ] |
4007 | - }, |
4008 | - { |
4009 | - "uri" : "*/servers", |
4010 | - "regex" : "^/servers", |
4011 | - "limit" : [ |
4012 | - { |
4013 | - "verb" : "POST", |
4014 | - "value" : 25, |
4015 | - "remaining" : 24, |
4016 | - "unit" : "DAY", |
4017 | - "next-available" : "2011-12-15T22:42:45Z" |
4018 | - } |
4019 | - ] |
4020 | - } |
4021 | - ] |
4022 | - } , |
4023 | - "absolute" : { |
4024 | - "values" : { |
4025 | - "maxTotalRAMSize" : 51200, |
4026 | - "maxServerMeta" : 5, |
4027 | - "maxImageMeta" : 5, |
4028 | - "maxPersonality" : 5, |
4029 | - "maxPersonalitySize" : 10240 |
4030 | + "limits": { |
4031 | + "rate": [ |
4032 | + { |
4033 | + "uri": "*", |
4034 | + "regex": ".*", |
4035 | + "limit": [ |
4036 | + { |
4037 | + "value": 10, |
4038 | + "verb": "POST", |
4039 | + "remaining": 2, |
4040 | + "unit": "MINUTE", |
4041 | + "next-available": "2011-12-15T22:42:45Z" |
4042 | + }, |
4043 | + { |
4044 | + "value": 10, |
4045 | + "verb": "PUT", |
4046 | + "remaining": 2, |
4047 | + "unit": "MINUTE", |
4048 | + "next-available": "2011-12-15T22:42:45Z" |
4049 | + }, |
4050 | + { |
4051 | + "value": 100, |
4052 | + "verb": "DELETE", |
4053 | + "remaining": 100, |
4054 | + "unit": "MINUTE", |
4055 | + "next-available": "2011-12-15T22:42:45Z" |
4056 | + } |
4057 | + ] |
4058 | + }, |
4059 | + { |
4060 | + "uri": "*changes-since*", |
4061 | + "regex": "changes-since", |
4062 | + "limit": [ |
4063 | + { |
4064 | + "value": 3, |
4065 | + "verb": "GET", |
4066 | + "remaining": 3, |
4067 | + "unit": "MINUTE", |
4068 | + "next-available": "2011-12-15T22:42:45Z" |
4069 | + } |
4070 | + ] |
4071 | + }, |
4072 | + { |
4073 | + "uri": "*/servers", |
4074 | + "regex": "^/servers", |
4075 | + "limit": [ |
4076 | + { |
4077 | + "verb": "POST", |
4078 | + "value": 25, |
4079 | + "remaining": 24, |
4080 | + "unit": "DAY", |
4081 | + "next-available": "2011-12-15T22:42:45Z" |
4082 | + } |
4083 | + ] |
4084 | } |
4085 | + ], |
4086 | + "absolute": { |
4087 | + "maxTotalRAMSize": 51200, |
4088 | + "maxServerMeta": 5, |
4089 | + "maxImageMeta": 5, |
4090 | + "maxPersonality": 5, |
4091 | + "maxPersonalitySize": 10240 |
4092 | } |
4093 | } |
4094 | } |
4095 | |
4096 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/limits2.json' |
4097 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/limits2.json 2011-04-26 03:49:47 +0000 |
4098 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/limits2.json 2011-06-24 02:29:39 +0000 |
4099 | @@ -1,55 +1,53 @@ |
4100 | { |
4101 | - "limits" : { |
4102 | - "rate" : { |
4103 | - "values" : [ |
4104 | - { |
4105 | - "uri" : "*", |
4106 | - "regex" : ".*", |
4107 | - "limit" : [ |
4108 | - { |
4109 | - "value" : 10, |
4110 | - "verb" : "POST", |
4111 | - "remaining" : 2, |
4112 | - "unit" : "MINUTE", |
4113 | - "next-available" : "2011-12-15T22:42:45Z" |
4114 | - }, |
4115 | - { |
4116 | - "value" : 10, |
4117 | - "verb" : "PUT", |
4118 | - "remaining" : 2, |
4119 | - "unit" : "MINUTE", |
4120 | - "next-available" : "2011-12-15T22:42:45Z" |
4121 | - }, |
4122 | - { |
4123 | - "value" : 3, |
4124 | - "verb" : "GET", |
4125 | - "remaining" : 3, |
4126 | - "unit" : "MINUTE", |
4127 | - "next-available" : "2011-12-15T22:42:45Z" |
4128 | - }, |
4129 | - { |
4130 | - "value" : 100, |
4131 | - "verb" : "DELETE", |
4132 | - "remaining" : 100, |
4133 | - "unit" : "MINUTE", |
4134 | - "next-available" : "2011-12-15T22:42:45Z" |
4135 | - } |
4136 | - ] |
4137 | - }, |
4138 | - { |
4139 | - "uri" : "*/servers", |
4140 | - "regex" : "^/servers", |
4141 | - "limit" : [ |
4142 | - { |
4143 | - "verb" : "POST", |
4144 | - "value" : 25, |
4145 | - "remaining" : 24, |
4146 | - "unit" : "DAY", |
4147 | - "next-available" : "2011-12-15T22:42:45Z" |
4148 | - } |
4149 | - ] |
4150 | - } |
4151 | - ] |
4152 | - } |
4153 | + "limits": { |
4154 | + "rate": [ |
4155 | + { |
4156 | + "uri": "*", |
4157 | + "regex": ".*", |
4158 | + "limit": [ |
4159 | + { |
4160 | + "value": 10, |
4161 | + "verb": "POST", |
4162 | + "remaining": 2, |
4163 | + "unit": "MINUTE", |
4164 | + "next-available": "2011-12-15T22:42:45Z" |
4165 | + }, |
4166 | + { |
4167 | + "value": 10, |
4168 | + "verb": "PUT", |
4169 | + "remaining": 2, |
4170 | + "unit": "MINUTE", |
4171 | + "next-available": "2011-12-15T22:42:45Z" |
4172 | + }, |
4173 | + { |
4174 | + "value": 3, |
4175 | + "verb": "GET", |
4176 | + "remaining": 3, |
4177 | + "unit": "MINUTE", |
4178 | + "next-available": "2011-12-15T22:42:45Z" |
4179 | + }, |
4180 | + { |
4181 | + "value": 100, |
4182 | + "verb": "DELETE", |
4183 | + "remaining": 100, |
4184 | + "unit": "MINUTE", |
4185 | + "next-available": "2011-12-15T22:42:45Z" |
4186 | + } |
4187 | + ] |
4188 | + }, |
4189 | + { |
4190 | + "uri": "*/servers", |
4191 | + "regex": "^/servers", |
4192 | + "limit": [ |
4193 | + { |
4194 | + "verb": "POST", |
4195 | + "value": 25, |
4196 | + "remaining": 24, |
4197 | + "unit": "DAY", |
4198 | + "next-available": "2011-12-15T22:42:45Z" |
4199 | + } |
4200 | + ] |
4201 | + } |
4202 | + ] |
4203 | } |
4204 | } |
4205 | |
4206 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/limits3.json' |
4207 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/limits3.json 2011-04-26 03:49:47 +0000 |
4208 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/limits3.json 2011-06-24 02:29:39 +0000 |
4209 | @@ -1,11 +1,9 @@ |
4210 | { |
4211 | - "limits" : { |
4212 | - "absolute" : { |
4213 | - "values" : { |
4214 | - "maxTotalRAMSize" : 51200, |
4215 | - "maxIPGroups" : 50, |
4216 | - "maxIPGroupMembers" : 25 |
4217 | - } |
4218 | + "limits": { |
4219 | + "absolute": { |
4220 | + "maxTotalRAMSize": 51200, |
4221 | + "maxIPGroups": 50, |
4222 | + "maxIPGroupMembers": 25 |
4223 | } |
4224 | } |
4225 | } |
4226 | |
4227 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/limits4.json' |
4228 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/limits4.json 2011-03-01 18:24:38 +0000 |
4229 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/limits4.json 2011-06-24 02:29:39 +0000 |
4230 | @@ -1,5 +1,1 @@ |
4231 | -{ |
4232 | - "limits" : { |
4233 | - |
4234 | - } |
4235 | -} |
4236 | +{ "limits" : {}} |
4237 | \ No newline at end of file |
4238 | |
4239 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/metadata.json' |
4240 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/metadata.json 2011-03-01 18:43:57 +0000 |
4241 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/metadata.json 2011-06-24 02:29:39 +0000 |
4242 | @@ -1,8 +1,6 @@ |
4243 | { |
4244 | - "metadata" : { |
4245 | - "values" : { |
4246 | + "metadata" : { |
4247 | "Server Label" : "Web Head 1", |
4248 | "Image Version" : "2.1" |
4249 | } |
4250 | - } |
4251 | } |
4252 | |
4253 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/private.json' |
4254 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/private.json 2011-03-01 18:43:57 +0000 |
4255 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/private.json 2011-06-24 02:29:39 +0000 |
4256 | @@ -1,7 +1,7 @@ |
4257 | { |
4258 | "network" { |
4259 | "id" : "private", |
4260 | - "values" : [ |
4261 | + "ip" : [ |
4262 | {"version" : 4, "addr" : "10.176.42.16"}, |
4263 | {"version" : 6, "addr" : "::babe:10.176.42.16"} |
4264 | ] |
4265 | |
4266 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/public.json' |
4267 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/public.json 2011-03-01 18:43:57 +0000 |
4268 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/public.json 2011-06-24 02:29:39 +0000 |
4269 | @@ -1,7 +1,7 @@ |
4270 | { |
4271 | "network" { |
4272 | "id" : "public", |
4273 | - "values" : [ |
4274 | + "ip" : [ |
4275 | {"version" : 4, "addr" : "67.23.10.132"}, |
4276 | {"version" : 6, "addr" : "::babe:67.23.10.132"}, |
4277 | {"version" : 4, "addr" : "67.23.10.131"}, |
4278 | |
4279 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild.json' |
4280 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild.json 2011-03-01 18:43:57 +0000 |
4281 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild.json 2011-06-24 02:29:39 +0000 |
4282 | @@ -1,5 +1,7 @@ |
4283 | { |
4284 | "rebuild" : { |
4285 | - "imageRef" : 2 |
4286 | + "image" : { |
4287 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4288 | + } |
4289 | } |
4290 | } |
4291 | |
4292 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild.xml' |
4293 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild.xml 2011-03-01 18:43:57 +0000 |
4294 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild.xml 2011-06-24 02:29:39 +0000 |
4295 | @@ -1,2 +1,4 @@ |
4296 | <?xml version="1.0" encoding="UTF-8"?> |
4297 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2"/> |
4298 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1"> |
4299 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4300 | +</rebuild> |
4301 | |
4302 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_all.json' |
4303 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_all.json 2011-03-01 18:43:57 +0000 |
4304 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_all.json 2011-06-24 02:29:39 +0000 |
4305 | @@ -1,11 +1,11 @@ |
4306 | { |
4307 | "rebuild" : { |
4308 | - "imageRef" : "https://servers.api.rackspacecloud.com/v1.1/32278/images/2", |
4309 | + "image" : { |
4310 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4311 | + }, |
4312 | "name" : "newName", |
4313 | "metadata" : { |
4314 | - "values" : { |
4315 | - "My Server Name" : "Apache1" |
4316 | - } |
4317 | + "My Server Name" : "Apache1" |
4318 | }, |
4319 | "personality" : [ |
4320 | { |
4321 | |
4322 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_all.xml' |
4323 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_all.xml 2011-03-01 18:24:38 +0000 |
4324 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_all.xml 2011-06-24 02:29:39 +0000 |
4325 | @@ -1,8 +1,8 @@ |
4326 | <?xml version="1.0" encoding="UTF-8"?> |
4327 | <rebuild |
4328 | xmlns="http://docs.openstack.org/compute/api/v1.1" |
4329 | - name="newName" |
4330 | - imageRef="https://servers.api.rackspacecloud.com/v1.1/32278/images/2"> |
4331 | + name="newName"> |
4332 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4333 | <metadata> |
4334 | <meta key="My Server Name">Apache1</meta> |
4335 | </metadata> |
4336 | |
4337 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_encoding.json' |
4338 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_encoding.json 2011-03-01 18:43:57 +0000 |
4339 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_encoding.json 2011-06-24 02:29:39 +0000 |
4340 | @@ -1,11 +1,11 @@ |
4341 | { |
4342 | "rebuild" : { |
4343 | - "imageRef" : 2, |
4344 | + "image" : { |
4345 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4346 | + }, |
4347 | "name" : "newName", |
4348 | - "metadata" : { |
4349 | - "values" : { |
4350 | - "My Server Name" : "Apache1" |
4351 | - } |
4352 | + "metadata" : { |
4353 | + "My Server Name" : "Apache1" |
4354 | }, |
4355 | "personality" : [ |
4356 | { |
4357 | |
4358 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_encoding.xml' |
4359 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_encoding.xml 2011-03-01 18:43:57 +0000 |
4360 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_encoding.xml 2011-06-24 02:29:39 +0000 |
4361 | @@ -1,5 +1,6 @@ |
4362 | <?xml version="1.0" encoding="UTF-8"?> |
4363 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2" name="newName"> |
4364 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" name="newName"> |
4365 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4366 | <metadata> |
4367 | <meta key="My Server Name">Apache1</meta> |
4368 | </metadata> |
4369 | |
4370 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_length.json' |
4371 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_length.json 2011-03-01 18:43:57 +0000 |
4372 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_length.json 2011-06-24 02:29:39 +0000 |
4373 | @@ -1,11 +1,11 @@ |
4374 | { |
4375 | "rebuild" : { |
4376 | - "imageRef" : 2, |
4377 | + "image" : { |
4378 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4379 | + }, |
4380 | "name" : "newName", |
4381 | "metadata" : { |
4382 | - "values" : { |
4383 | - "My Server Name" : "Apache1" |
4384 | - } |
4385 | + "My Server Name" : "Apache1" |
4386 | }, |
4387 | "personality" : [ |
4388 | { |
4389 | |
4390 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_length.xml' |
4391 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_length.xml 2011-03-01 18:43:57 +0000 |
4392 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_length.xml 2011-06-24 02:29:39 +0000 |
4393 | @@ -1,5 +1,6 @@ |
4394 | <?xml version="1.0" encoding="UTF-8"?> |
4395 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2" name="newName"> |
4396 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" name="newName"> |
4397 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4398 | <metadata> |
4399 | <meta key="My Server Name">Apache1</meta> |
4400 | </metadata> |
4401 | |
4402 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_path.json' |
4403 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_path.json 2011-03-01 18:43:57 +0000 |
4404 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_path.json 2011-06-24 02:29:39 +0000 |
4405 | @@ -1,11 +1,11 @@ |
4406 | { |
4407 | "rebuild" : { |
4408 | - "imageRef" : 2, |
4409 | + "image" : { |
4410 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4411 | + }, |
4412 | "name" : "newName", |
4413 | "metadata" : { |
4414 | - "values" : { |
4415 | - "My Server Name" : "Apache1" |
4416 | - } |
4417 | + "My Server Name" : "Apache1" |
4418 | }, |
4419 | "personality" : [ |
4420 | { |
4421 | |
4422 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_path.xml' |
4423 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_path.xml 2011-03-01 18:43:57 +0000 |
4424 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_file_path.xml 2011-06-24 02:29:39 +0000 |
4425 | @@ -1,5 +1,6 @@ |
4426 | <?xml version="1.0" encoding="UTF-8"?> |
4427 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2" name="newName"> |
4428 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" name="newName"> |
4429 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4430 | <metadata> |
4431 | <meta key="My Server Name">Apache1</meta> |
4432 | </metadata> |
4433 | |
4434 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_files.json' |
4435 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_files.json 2011-03-01 18:43:57 +0000 |
4436 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_files.json 2011-06-24 02:29:39 +0000 |
4437 | @@ -1,11 +1,11 @@ |
4438 | { |
4439 | "rebuild" : { |
4440 | - "imageRef" : 2, |
4441 | + "image" : { |
4442 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4443 | + }, |
4444 | "name" : "newName", |
4445 | "metadata" : { |
4446 | - "values" : { |
4447 | - "My Server Name" : "Apache1" |
4448 | - } |
4449 | + "My Server Name" : "Apache1" |
4450 | }, |
4451 | "personality" : [ |
4452 | { |
4453 | |
4454 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_files.xml' |
4455 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_files.xml 2011-03-01 18:43:57 +0000 |
4456 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_files.xml 2011-06-24 02:29:39 +0000 |
4457 | @@ -1,5 +1,6 @@ |
4458 | <?xml version="1.0" encoding="UTF-8"?> |
4459 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2" name="newName"> |
4460 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" name="newName"> |
4461 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4462 | <metadata> |
4463 | <meta key="My Server Name">Apache1</meta> |
4464 | </metadata> |
4465 | |
4466 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_key.json' |
4467 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_key.json 2011-03-01 18:43:57 +0000 |
4468 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_key.json 2011-06-24 02:29:39 +0000 |
4469 | @@ -1,11 +1,11 @@ |
4470 | { |
4471 | "rebuild" : { |
4472 | - "imageRef" : 2, |
4473 | + "image" : { |
4474 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4475 | + }, |
4476 | "name" : "newName", |
4477 | "metadata" : { |
4478 | - "values" : { |
4479 | - "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADSANIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0Kxw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CW2a1jnVnbggEV5P41I8iBR0L1pS5fapRIqxapNyOOHGaikXIz2qxtyKryE5xXps80rv6VXbg9KtMO9Q7N0irgnJ7VI0W9PuVRpTHbTyKg2vIAAFPf6mtazu0maOSPOVYqeMU3TbPdbhZo0VckgEHP4VYstOFvcORyhOQB2NYNnVFNGsk2yPc78U0XQdiQSVI69uKY0AlUR8g561ft7eLYU2gL0xjpWTNkFjLLcoCwI46k5q5DZLbxtNM+9wcg+9Jb7LfgDgHiqmu6g1raRTGMvCJVEgXsppoTZgeJLJ7tmukkkS4gZZo" : "Apache1" |
4482 | }, |
4483 | "personality" : [ |
4484 | { |
4485 | |
4486 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_key.xml' |
4487 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_key.xml 2011-03-01 18:43:57 +0000 |
4488 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_key.xml 2011-06-24 02:29:39 +0000 |
4489 | @@ -1,5 +1,6 @@ |
4490 | <?xml version="1.0" encoding="UTF-8"?> |
4491 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2" name="newName"> |
4492 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" name="newName"> |
4493 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4494 | <metadata> |
4495 | <meta key="/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADSANIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAA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Qc0U7SJui2enTinKN3GKaxOKdGTXceaNb71GAeaUjJx6Uzfg4HNAA56KKbt3H0pWGTkUKTxQMTZ1prCpT1pre1IEMXpiremof7ShHvmqoBzWjpC51CP2BqZv3WXBe8jt9Idn8+OI/vNtT6doN9f32yaUA9c+lcZp/iaHSvGU1vcPtjdRjPSvXtJ1DT96XKTx9M9a8pxPUkmVtV8P3NlpEuGDgLXmXidSmiwoRglxXreu+KLCW2a1jnVnbggEV5P41I8iBR0L1pS5fapRIqxapNyOOHGaikXIz2qxtyKryE5xXps80rv6VXbg9KtMO9Q7N0irgnJ7VI0W9PuVRpTHbTyKg2vIAAFPf6mtazu0maOSPOVYqeMU3TbPdbhZo0VckgEHP4VYstOFvcORyhOQB2NYNnVFNGsk2yPc78U0XQdiQSVI69uKY0AlUR8g561ft7eLYU2gL0xjpWTNkFjLLcoCwI46k5q5DZLbxtNM+9wcg+9Jb7LfgDgHiqmu6g1raRTGMvCJVEgXsppoTZgeJLJ7tmukkkS4gZZo">Apache1</meta> |
4496 | </metadata> |
4497 | |
4498 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_value.json' |
4499 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_value.json 2011-03-01 18:43:57 +0000 |
4500 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_value.json 2011-06-24 02:29:39 +0000 |
4501 | @@ -1,11 +1,11 @@ |
4502 | { |
4503 | "rebuild" : { |
4504 | - "imageRef" : 2, |
4505 | + "image" : { |
4506 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4507 | + }, |
4508 | "name" : "newName", |
4509 | "metadata" : { |
4510 | - "values" : { |
4511 | - "My Server Name" : "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQk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N3GKaxOKdGTXceaNb71GAeaUjJx6Uzfg4HNAA56KKbt3H0pWGTkUKTxQMTZ1prCpT1pre1IEMXpiremof7ShHvmqoBzWjpC51CP2BqZv3WXBe8jt9Idn8+OI/vNtT6doN9f32yaUA9c+lcZp/iaHSvGU1vcPtjdRjPSvXtJ1DT96XKTx9M9a8pxPUkmVtV8P3NlpEuGDgLXmXidSmiwoRglxXreu+KLCW2a1jnVnbggEV5P41I8iBR0L1pS5fapRIqxapNyOOHGaikXIz2qxtyKryE5xXps80rv6VXbg9KtMO9Q7N0irgnJ7VI0W9PuVRpTHbTyKg2vIAAFPf6mtazu0maOSPOVYqeMU3TbPdbhZo0VckgEHP4VYstOFvcORyhOQB2NYNnVFNGsk2yPc78U0XQdiQSVI69uKY0AlUR8g561ft7eLYU2gL0xjpWTNkFjLLcoCwI46k5q5DZLbxtNM+9wcg+9Jb7LfgDgHiqmu6g1raRTGMvCJVEgXsppoTZgeJLJ7tmukkkS4gZZo" |
4514 | }, |
4515 | "personality" : [ |
4516 | { |
4517 | |
4518 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_value.xml' |
4519 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_value.xml 2011-03-01 18:43:57 +0000 |
4520 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_bad_meta_value.xml 2011-06-24 02:29:39 +0000 |
4521 | @@ -1,5 +1,6 @@ |
4522 | <?xml version="1.0" encoding="UTF-8"?> |
4523 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2" name="newName"> |
4524 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" name="newName"> |
4525 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4526 | <metadata> |
4527 | <meta key="My Server Name"> |
4528 | /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4n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YI02HhgwOc1sabZiNCJAWdvToBV8KoXgYJ74qWEEsA2AO59qhy0sVYrRaXHJccBwF6gH7xqtqFsI7t1VMZwa6QMqFAigcD8azJ4PMvwp5Lck9h7VLKi9bnKT2jmXKtjnuO1VPsFzEzfZyPLxxv5FdLfIkEjRu2WC/Io+83sB3NVdH8rWpTYxrcWdy6nYk4xv+lCiynJHMNBc7jmGDOfU/40VelsTHK6M/KsQc0U7SJui2enTinKN3GKaxOKdGTXceaNb71GAeaUjJx6Uzfg4HNAA56KKbt3H0pWGTkUKTxQMTZ1prCpT1pre1IEMXpiremof7ShHvmqoBzWjpC51CP2BqZv3WXBe8jt9Idn8+OI/vNtT6doN9f32yaUA9c+lcZp/iaHSvGU1vcPtjdRjPSvXtJ1DT96XKTx9M9a8pxPUkmVtV8P3NlpEuGDgLXmXidSmiwoRglxXreu+KLCW2a1jnVnbggEV5P41I8iBR0L1pS5fapRIqxapNyOOHGaikXIz2qxtyKryE5xXps80rv6VXbg9KtMO9Q7N0irgnJ7VI0W9PuVRpTHbTyKg2vIAAFPf6mtazu0maOSPOVYqeMU3TbPdbhZo0VckgEHP4VYstOFvcORyhOQB2NYNnVFNGsk2yPc78U0XQdiQSVI69uKY0AlUR8g561ft7eLYU2gL0xjpWTNkFjLLcoCwI46k5q5DZLbxtNM+9wcg+9Jb7LfgDgHiqmu6g1raRTGMvCJVEgXsppoTZgeJLJ7tmukkkS4gZZo</meta> |
4529 | |
4530 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_both.json' |
4531 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_both.json 2011-03-01 18:43:57 +0000 |
4532 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_both.json 2011-06-24 02:29:39 +0000 |
4533 | @@ -1,10 +1,10 @@ |
4534 | { |
4535 | "rebuild" : { |
4536 | - "imageRef" : 2, |
4537 | + "image" : { |
4538 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4539 | + }, |
4540 | "metadata" : { |
4541 | - "values" : { |
4542 | - "My Server Name" : "Apache1" |
4543 | - } |
4544 | + "My Server Name" : "Apache1" |
4545 | }, |
4546 | "personality" : [ |
4547 | { |
4548 | |
4549 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_both.xml' |
4550 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_both.xml 2011-03-01 18:43:57 +0000 |
4551 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_both.xml 2011-06-24 02:29:39 +0000 |
4552 | @@ -1,5 +1,6 @@ |
4553 | <?xml version="1.0" encoding="UTF-8"?> |
4554 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2"> |
4555 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1"> |
4556 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4557 | <metadata> |
4558 | <meta key="My Server Name">Apache1</meta> |
4559 | </metadata> |
4560 | |
4561 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_file.json' |
4562 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_file.json 2011-03-01 18:43:57 +0000 |
4563 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_file.json 2011-06-24 02:29:39 +0000 |
4564 | @@ -1,6 +1,8 @@ |
4565 | { |
4566 | "rebuild" : { |
4567 | - "imageRef" : 2, |
4568 | + "image" : { |
4569 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4570 | + }, |
4571 | "personality" : [ |
4572 | { |
4573 | "path" : "/etc/banner.txt", |
4574 | |
4575 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_file.xml' |
4576 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_file.xml 2011-03-01 18:43:57 +0000 |
4577 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_file.xml 2011-06-24 02:29:39 +0000 |
4578 | @@ -1,5 +1,6 @@ |
4579 | <?xml version="1.0" encoding="UTF-8"?> |
4580 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2"> |
4581 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1"> |
4582 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4583 | <personality> |
4584 | <file path="/etc/banner.txt"> |
4585 | ICAgICAgDQoiQSBjbG91ZCBkb2VzIG5vdCBrbm93IHdoeSBp |
4586 | |
4587 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_meta.json' |
4588 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_meta.json 2011-03-01 18:43:57 +0000 |
4589 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_meta.json 2011-06-24 02:29:39 +0000 |
4590 | @@ -1,10 +1,10 @@ |
4591 | { |
4592 | "rebuild" : { |
4593 | - "imageRef" : 2, |
4594 | + "image" : { |
4595 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4596 | + }, |
4597 | "metadata" : { |
4598 | - "values" : { |
4599 | - "My Server Name" : "Apache1" |
4600 | - } |
4601 | + "My Server Name" : "Apache1" |
4602 | } |
4603 | } |
4604 | } |
4605 | |
4606 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_meta.xml' |
4607 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_meta.xml 2011-03-01 18:43:57 +0000 |
4608 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_meta.xml 2011-06-24 02:29:39 +0000 |
4609 | @@ -1,5 +1,6 @@ |
4610 | <?xml version="1.0" encoding="UTF-8"?> |
4611 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2"> |
4612 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1"> |
4613 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4614 | <metadata> |
4615 | <meta key="My Server Name">Apache1</meta> |
4616 | </metadata> |
4617 | |
4618 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_name.json' |
4619 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_name.json 2011-03-01 18:43:57 +0000 |
4620 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_name.json 2011-06-24 02:29:39 +0000 |
4621 | @@ -1,6 +1,8 @@ |
4622 | { |
4623 | "rebuild" : { |
4624 | - "imageRef" : 2, |
4625 | + "image" : { |
4626 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4627 | + }, |
4628 | "name" : "newName" |
4629 | } |
4630 | } |
4631 | |
4632 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_name.xml' |
4633 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_name.xml 2011-03-01 18:43:57 +0000 |
4634 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/rebuild_name.xml 2011-06-24 02:29:39 +0000 |
4635 | @@ -1,2 +1,4 @@ |
4636 | <?xml version="1.0" encoding="UTF-8"?> |
4637 | -<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" imageRef="2" name="newName"/> |
4638 | +<rebuild xmlns="http://docs.openstack.org/compute/api/v1.1" name="newName"> |
4639 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4640 | +</rebuild> |
4641 | |
4642 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/resize.json' |
4643 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/resize.json 2011-03-01 18:43:57 +0000 |
4644 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/resize.json 2011-06-24 02:29:39 +0000 |
4645 | @@ -1,5 +1,7 @@ |
4646 | { |
4647 | "resize" : { |
4648 | - "flavorRef" : "http://servers.api.openstack.org/1234/flavors/3" |
4649 | + "flavor" : { |
4650 | + "id" : "52415800-8b69-11e0-9b19-734f1195ff37" |
4651 | + } |
4652 | } |
4653 | } |
4654 | |
4655 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/resize.xml' |
4656 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/resize.xml 2011-03-01 18:43:57 +0000 |
4657 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/resize.xml 2011-06-24 02:29:39 +0000 |
4658 | @@ -1,4 +1,4 @@ |
4659 | <?xml version="1.0" encoding="UTF-8"?> |
4660 | -<resize |
4661 | - xmlns="http://docs.openstack.org/compute/api/v1.1" |
4662 | - flavorRef="http://servers.api.openstack.org/1234/flavors/3"/> |
4663 | +<resize xmlns="http://docs.openstack.org/compute/api/v1.1"> |
4664 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37"/> |
4665 | +</resize> |
4666 | |
4667 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-fault.json' |
4668 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-fault.json 1970-01-01 00:00:00 +0000 |
4669 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-fault.json 2011-06-24 02:29:39 +0000 |
4670 | @@ -0,0 +1,31 @@ |
4671 | +{ |
4672 | + "server": { |
4673 | + "id": "52415800-8b69-11e0-9b19-734f0000ffff", |
4674 | + "name": "sample-server", |
4675 | + "created": "2010-08-10T12:00:00Z", |
4676 | + "hostId": "e4d909c290d0fb1ca068ffafff22cbd0", |
4677 | + "status": "ERROR", |
4678 | + "progress": 66, |
4679 | + "image" : { |
4680 | + "id": "52415800-8b69-11e0-9b19-734f6f007777" |
4681 | + }, |
4682 | + "flavor" : { |
4683 | + "id": "52415800-8b69-11e0-9b19-734f216543fd" |
4684 | + }, |
4685 | + "fault" : { |
4686 | + "code" : 404, |
4687 | + "message" : "Could not find image 52415800-8b69-11e0-9b19-734f6f007777", |
4688 | + "details" : "Fault details" |
4689 | + }, |
4690 | + "links": [ |
4691 | + { |
4692 | + "rel": "self", |
4693 | + "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f000004d2" |
4694 | + }, |
4695 | + { |
4696 | + "rel": "bookmark", |
4697 | + "href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f000004d2" |
4698 | + } |
4699 | + ] |
4700 | + } |
4701 | +} |
4702 | |
4703 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-fault.xml' |
4704 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-fault.xml 1970-01-01 00:00:00 +0000 |
4705 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-fault.xml 2011-06-24 02:29:39 +0000 |
4706 | @@ -0,0 +1,20 @@ |
4707 | +<?xml version="1.0" encoding="UTF-8"?> |
4708 | +<server xmlns="http://docs.openstack.org/compute/api/v1.1" |
4709 | + xmlns:atom="http://www.w3.org/2005/Atom" |
4710 | + id="52415800-8b69-11e0-9b19-734f0000ffff" |
4711 | + name="sample-server" status="ERROR" |
4712 | + created="2010-08-10T12:00:00Z" |
4713 | + progress="66" hostId="e4d909c290d0fb1ca068ffafff22cbd0"> |
4714 | + <image id="52415800-8b69-11e0-9b19-734f6f007777" /> |
4715 | + <flavor id="52415800-8b69-11e0-9b19-734f216543fd" /> |
4716 | + <fault code="404"> |
4717 | + <message>Could not find image 52415800-8b69-11e0-9b19-734f6f007777</message> |
4718 | + <details>Fault details</details> |
4719 | + </fault> |
4720 | + <atom:link |
4721 | + rel="self" |
4722 | + href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"/> |
4723 | + <atom:link |
4724 | + rel="bookmark" |
4725 | + href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"/> |
4726 | +</server> |
4727 | |
4728 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-encoding.json' |
4729 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-encoding.json 2011-03-01 18:43:57 +0000 |
4730 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-encoding.json 2011-06-24 02:29:39 +0000 |
4731 | @@ -1,12 +1,14 @@ |
4732 | { |
4733 | "server" : { |
4734 | "name" : "new-server-test", |
4735 | - "imageRef" : "http://servers.api.openstack.org/1234/images/1", |
4736 | - "flavorRef" : "http://servers.api.openstack.org/1234/flavors/1", |
4737 | + "image" : { |
4738 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4739 | + }, |
4740 | + "flavor" : { |
4741 | + "id" : "52415800-8b69-11e0-9b19-734f1195ff37" |
4742 | + }, |
4743 | "metadata" : { |
4744 | - "values" : { |
4745 | - "My Server Name" : "Apache1" |
4746 | - } |
4747 | + "My Server Name" : "Apache1" |
4748 | }, |
4749 | "personality" : [ |
4750 | { |
4751 | |
4752 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-encoding.xml' |
4753 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-encoding.xml 2011-03-01 18:43:57 +0000 |
4754 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-encoding.xml 2011-06-24 02:29:39 +0000 |
4755 | @@ -1,7 +1,7 @@ |
4756 | <?xml version="1.0" encoding="UTF-8"?> |
4757 | -<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test" |
4758 | - imageRef="http://servers.api.openstack.org/1234/images/1" |
4759 | - flavorRef="http://servers.api.openstack.org/1234/flavors/1"> |
4760 | +<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test"> |
4761 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4762 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37" /> |
4763 | <metadata> |
4764 | <meta key="My Server Name">Apache1</meta> |
4765 | </metadata> |
4766 | |
4767 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-length.json' |
4768 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-length.json 2011-03-01 18:43:57 +0000 |
4769 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-length.json 2011-06-24 02:29:39 +0000 |
4770 | @@ -1,12 +1,14 @@ |
4771 | { |
4772 | "server" : { |
4773 | "name" : "new-server-test", |
4774 | - "imageRef" : "http://servers.api.openstack.org/1234/images/1", |
4775 | - "flavorRef" : "http://servers.api.openstack.org/1234/flavors/1", |
4776 | + "image" : { |
4777 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4778 | + }, |
4779 | + "flavor" : { |
4780 | + "id" : "52415800-8b69-11e0-9b19-734f1195ff37" |
4781 | + }, |
4782 | "metadata" : { |
4783 | - "values" : { |
4784 | - "My Server Name" : "Apache1" |
4785 | - } |
4786 | + "My Server Name" : "Apache1" |
4787 | }, |
4788 | "personality" : [ |
4789 | { |
4790 | |
4791 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-length.xml' |
4792 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-length.xml 2011-03-01 18:43:57 +0000 |
4793 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-length.xml 2011-06-24 02:29:39 +0000 |
4794 | @@ -1,7 +1,7 @@ |
4795 | <?xml version="1.0" encoding="UTF-8"?> |
4796 | -<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test" |
4797 | - imageRef="http://servers.api.openstack.org/1234/images/1" |
4798 | - flavorRef="http://servers.api.openstack.org/1234/flavors/1"> |
4799 | +<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test"> |
4800 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4801 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37" /> |
4802 | <metadata> |
4803 | <meta key="My Server Name">Apache1</meta> |
4804 | </metadata> |
4805 | |
4806 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-path.json' |
4807 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-path.json 2011-03-01 18:43:57 +0000 |
4808 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-path.json 2011-06-24 02:29:39 +0000 |
4809 | @@ -1,12 +1,14 @@ |
4810 | { |
4811 | "server" : { |
4812 | "name" : "new-server-test", |
4813 | - "imageRef" : "http://servers.api.openstack.org/1234/images/1", |
4814 | - "flavorRef" : "http://servers.api.openstack.org/1234/flavors/1", |
4815 | + "image" : { |
4816 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4817 | + }, |
4818 | + "flavor" : { |
4819 | + "id" : "52415800-8b69-11e0-9b19-734f1195ff37" |
4820 | + }, |
4821 | "metadata" : { |
4822 | - "values" : { |
4823 | - "My Server Name" : "Apache1" |
4824 | - } |
4825 | + "My Server Name" : "Apache1" |
4826 | }, |
4827 | "personality" : [ |
4828 | { |
4829 | |
4830 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-path.xml' |
4831 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-path.xml 2011-03-01 18:43:57 +0000 |
4832 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-file-path.xml 2011-06-24 02:29:39 +0000 |
4833 | @@ -1,7 +1,7 @@ |
4834 | <?xml version="1.0" encoding="UTF-8"?> |
4835 | -<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test" |
4836 | - imageRef="http://servers.api.openstack.org/1234/images/1" |
4837 | - flavorRef="http://servers.api.openstack.org/1234/flavors/1"> |
4838 | +<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test"> |
4839 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4840 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37" /> |
4841 | <metadata> |
4842 | <meta key="My Server Name">Apache1</meta> |
4843 | </metadata> |
4844 | |
4845 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-files.json' |
4846 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-files.json 2011-03-01 18:43:57 +0000 |
4847 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-files.json 2011-06-24 02:29:39 +0000 |
4848 | @@ -1,12 +1,14 @@ |
4849 | { |
4850 | "server" : { |
4851 | "name" : "new-server-test", |
4852 | - "imageRef" : "http://servers.api.openstack.org/1234/images/1", |
4853 | - "flavorRef" : "http://servers.api.openstack.org/1234/flavors/1", |
4854 | + "image" : { |
4855 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4856 | + }, |
4857 | + "flavor" : { |
4858 | + "id" : "52415800-8b69-11e0-9b19-734f1195ff37" |
4859 | + }, |
4860 | "metadata" : { |
4861 | - "values" : { |
4862 | - "My Server Name" : "Apache1" |
4863 | - } |
4864 | + "My Server Name" : "Apache1" |
4865 | }, |
4866 | "personality" : [ |
4867 | { |
4868 | |
4869 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-files.xml' |
4870 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-files.xml 2011-03-01 18:43:57 +0000 |
4871 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-files.xml 2011-06-24 02:29:39 +0000 |
4872 | @@ -1,7 +1,7 @@ |
4873 | <?xml version="1.0" encoding="UTF-8"?> |
4874 | -<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test" |
4875 | - imageRef="http://servers.api.openstack.org/1234/images/1" |
4876 | - flavorRef="http://servers.api.openstack.org/1234/flavors/1"> |
4877 | +<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test"> |
4878 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4879 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37" /> |
4880 | <metadata> |
4881 | <meta key="My Server Name">Apache1</meta> |
4882 | </metadata> |
4883 | |
4884 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-key.json' |
4885 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-key.json 2011-03-01 18:43:57 +0000 |
4886 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-key.json 2011-06-24 02:29:39 +0000 |
4887 | @@ -1,12 +1,14 @@ |
4888 | { |
4889 | "server" : { |
4890 | "name" : "new-server-test", |
4891 | - "imageRef" : "http://servers.api.openstack.org/1234/images/1", |
4892 | - "flavorRef" : "http://servers.api.openstack.org/1234/flavors/1", |
4893 | + "image" : { |
4894 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4895 | + }, |
4896 | + "flavor" : { |
4897 | + "id" : "52415800-8b69-11e0-9b19-734f1195ff37" |
4898 | + }, |
4899 | "metadata" : { |
4900 | - "values" { |
4901 | "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADSANIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQD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ikXIz2qxtyKryE5xXps80rv6VXbg9KtMO9Q7N0irgnJ7VI0W9PuVRpTHbTyKg2vIAAFPf6mtazu0maOSPOVYqeMU3TbPdbhZo0VckgEHP4VYstOFvcORyhOQB2NYNnVFNGsk2yPc78U0XQdiQSVI69uKY0AlUR8g561ft7eLYU2gL0xjpWTNkFjLLcoCwI46k5q5DZLbxtNM+9wcg+9Jb7LfgDgHiqmu6g1raRTGMvCJVEgXsppoTZgeJLJ7tmukkkS4gZZo" : "Apache1" |
4902 | - } |
4903 | }, |
4904 | "personality" : [ |
4905 | { |
4906 | |
4907 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-key.xml' |
4908 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-key.xml 2011-03-01 18:43:57 +0000 |
4909 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-key.xml 2011-06-24 02:29:39 +0000 |
4910 | @@ -1,7 +1,7 @@ |
4911 | <?xml version="1.0" encoding="UTF-8"?> |
4912 | -<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test" |
4913 | - imageRef="http://servers.api.openstack.org/1234/images/1" |
4914 | - flavorRef="http://servers.api.openstack.org/1234/flavors/1"> |
4915 | +<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test"> |
4916 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4917 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37" /> |
4918 | <metadata> |
4919 | <meta key="/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADSANIDASIAAhEBAxE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jRu2WC/Io+83sB3NVdH8rWpTYxrcWdy6nYk4xv+lCiynJHMNBc7jmGDOfU/40VelsTHK6M/KsQc0U7SJui2enTinKN3GKaxOKdGTXceaNb71GAeaUjJx6Uzfg4HNAA56KKbt3H0pWGTkUKTxQMTZ1prCpT1pre1IEMXpiremof7ShHvmqoBzWjpC51CP2BqZv3WXBe8jt9Idn8+OI/vNtT6doN9f32yaUA9c+lcZp/iaHSvGU1vcPtjdRjPSvXtJ1DT96XKTx9M9a8pxPUkmVtV8P3NlpEuGDgLXmXidSmiwoRglxXreu+KLCW2a1jnVnbggEV5P41I8iBR0L1pS5fapRIqxapNyOOHGaikXIz2qxtyKryE5xXps80rv6VXbg9KtMO9Q7N0irgnJ7VI0W9PuVRpTHbTyKg2vIAAFPf6mtazu0maOSPOVYqeMU3TbPdbhZo0VckgEHP4VYstOFvcORyhOQB2NYNnVFNGsk2yPc78U0XQdiQSVI69uKY0AlUR8g561ft7eLYU2gL0xjpWTNkFjLLcoCwI46k5q5DZLbxtNM+9wcg+9Jb7LfgDgHiqmu6g1raRTGMvCJVEgXsppoTZgeJLJ7tmukkkS4gZZo">Apache1</meta> |
4920 | </metadata> |
4921 | |
4922 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-value.json' |
4923 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-value.json 2011-03-01 18:43:57 +0000 |
4924 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-value.json 2011-06-24 02:29:39 +0000 |
4925 | @@ -1,12 +1,14 @@ |
4926 | { |
4927 | "server" : { |
4928 | "name" : "new-server-test", |
4929 | - "imageRef" : "http://servers.api.openstack.org/1234/images/1", |
4930 | - "flavorRef" : "http://servers.api.openstack.org/1234/flavors/1", |
4931 | + "image" : { |
4932 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4933 | + }, |
4934 | + "flavor" : { |
4935 | + "id" : "52415800-8b69-11e0-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M5DbTJBxU+Mjpio5AAteieYVdvrULDmrBHeojjd9DQNGro/h2W/ZZ5w0dsDnA+8/09B71r6rp0bWv2a0jCKOwGAcetZ8fijUY9q21qku0YIB24FXoL57/AFJcRyRwqgBD92z29a55Nt6nVBJbFa2gvLWPyYI02HhgwOc1sabZiNCJAWdvToBV8KoXgYJ74qWEEsA2AO59qhy0sVYrRaXHJccBwF6gH7xqtqFsI7t1VMZwa6QMqFAigcD8azJ4PMvwp5Lck9h7VLKi9bnKT2jmXKtjnuO1VPsFzEzfZyPLxxv5FdLfIkEjRu2WC/Io+83sB3NVdH8rWpTYxrcWdy6nYk4xv+lCiynJHMNBc7jmGDOfU/40VelsTHK6M/KsQc0U7SJui2enTinKN3GKaxOKdGTXceaNb71GAeaUjJx6Uzfg4HNAA56KKbt3H0pWGTkUKTxQMTZ1prCpT1pre1IEMXpiremof7ShHvmqoBzWjpC51CP2BqZv3WXBe8jt9Idn8+OI/vNtT6doN9f32yaUA9c+lcZp/iaHSvGU1vcPtjdRjPSvXtJ1DT96XKTx9M9a8pxPUkmVtV8P3NlpEuGDgLXmXidSmiwoRglxXreu+KLCW2a1jnVnbggEV5P41I8iBR0L1pS5fapRIqxapNyOOHGaikXIz2qxtyKryE5xXps80rv6VXbg9KtMO9Q7N0irgnJ7VI0W9PuVRpTHbTyKg2vIAAFPf6mtazu0maOSPOVYqeMU3TbPdbhZo0VckgEHP4VYstOFvcORyhOQB2NYNnVFNGsk2yPc78U0XQdiQSVI69uKY0AlUR8g561ft7eLYU2gL0xjpWTNkFjLLcoCwI46k5q5DZLbxtNM+9wcg+9Jb7LfgDgHiqmu6g1raRTGMvCJVEgXsppoTZgeJLJ7tmukkkS4gZZo" |
4940 | - } |
4941 | }, |
4942 | "personality" : [ |
4943 | { |
4944 | |
4945 | === modified file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-value.xml' |
4946 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-value.xml 2011-03-01 18:43:57 +0000 |
4947 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-bad-meta-value.xml 2011-06-24 02:29:39 +0000 |
4948 | @@ -1,7 +1,7 @@ |
4949 | <?xml version="1.0" encoding="UTF-8"?> |
4950 | -<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test" |
4951 | - imageRef="http://servers.api.openstack.org/1234/images/1" |
4952 | - flavorRef="http://servers.api.openstack.org/1234/flavors/1"> |
4953 | +<server xmlns="http://docs.openstack.org/compute/api/v1.1" name="new-server-test"> |
4954 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4955 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37" /> |
4956 | <metadata> |
4957 | <meta key="My Server Name">/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADSANIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8R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mtazu0maOSPOVYqeMU3TbPdbhZo0VckgEHP4VYstOFvcORyhOQB2NYNnVFNGsk2yPc78U0XQdiQSVI69uKY0AlUR8g561ft7eLYU2gL0xjpWTNkFjLLcoCwI46k5q5DZLbxtNM+9wcg+9Jb7LfgDgHiqmu6g1raRTGMvCJVEgXsppoTZgeJLJ7tmukkkS4gZZo</meta> |
4958 | </metadata> |
4959 | |
4960 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip.json' |
4961 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip.json 1970-01-01 00:00:00 +0000 |
4962 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip.json 2011-06-24 02:29:39 +0000 |
4963 | @@ -0,0 +1,12 @@ |
4964 | +{ |
4965 | + "server" : { |
4966 | + "name" : "new-server-test", |
4967 | + "image" : { |
4968 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4969 | + }, |
4970 | + "flavor" : { |
4971 | + "id" : "52415800-8b69-11e0-9b19-734f1195ff37" |
4972 | + }, |
4973 | + "primaryIPv4" : "67.23.10.132" |
4974 | + } |
4975 | +} |
4976 | |
4977 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip.xml' |
4978 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip.xml 1970-01-01 00:00:00 +0000 |
4979 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip.xml 2011-06-24 02:29:39 +0000 |
4980 | @@ -0,0 +1,6 @@ |
4981 | +<?xml version="1.0" encoding="UTF-8"?> |
4982 | +<server xmlns="http://docs.openstack.org/compute/api/v1.1" |
4983 | + name="test" primaryIPv4="67.23.10.132"> |
4984 | + <image id="52415800-8b69-11e0-9b19-734f6f006e54" /> |
4985 | + <flavor id="52415800-8b69-11e0-9b19-734f1195ff37" /> |
4986 | +</server> |
4987 | |
4988 | === added file 'doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip2.json' |
4989 | --- doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip2.json 1970-01-01 00:00:00 +0000 |
4990 | +++ doc/source/docbkx/openstack-compute-api-1.1/samples/server-post-req-pip2.json 2011-06-24 02:29:39 +0000 |
4991 | @@ -0,0 +1,13 @@ |
4992 | +{ |
4993 | + "server" : { |
4994 | + "name" : "new-server-test", |
4995 | + "image" : { |
4996 | + "id" : "52415800-8b69-11e0-9b19-734f6f006e54" |
4997 | + }, |
4998 | + "flavor" : { |
4999 | + "id" : "52415800-8b69-11e0-9b19-734f1195ff37" |
5000 | + }, |
The diff has been truncated for viewing.