diff --git a/openstack-compute-api-1.1/src/samples/addip.json b/openstack-compute-api-1.1/src/samples/addip.json
deleted file mode 100644
index 5aeb925..0000000
--- a/openstack-compute-api-1.1/src/samples/addip.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "addIp" : {
- "configureServer" : true
- }
-}
diff --git a/openstack-compute-api-1.1/src/samples/addip.xml b/openstack-compute-api-1.1/src/samples/addip.xml
deleted file mode 100644
index b00defa..0000000
--- a/openstack-compute-api-1.1/src/samples/addip.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
diff --git a/openstack-compute-api-1.1/src/samples/backup.json b/openstack-compute-api-1.1/src/samples/backup.json
deleted file mode 100644
index 824e549..0000000
--- a/openstack-compute-api-1.1/src/samples/backup.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "backupSchedule" : {
- "enabled" : true,
- "weekly" : "THURSDAY",
- "daily" : "H_0400_0600"
- }
-}
diff --git a/openstack-compute-api-1.1/src/samples/backup.xml b/openstack-compute-api-1.1/src/samples/backup.xml
deleted file mode 100644
index 9cb61e9..0000000
--- a/openstack-compute-api-1.1/src/samples/backup.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
diff --git a/openstack-compute-api-1.1/src/samples/ipgroup.json b/openstack-compute-api-1.1/src/samples/ipgroup.json
deleted file mode 100644
index b381552..0000000
--- a/openstack-compute-api-1.1/src/samples/ipgroup.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "sharedIpGroup" : {
- "id" : "52415800-8b69-11e0-9b19-734f68ab4a9f",
- "name" : "Shared IP Group 1",
- "servers" : ["52415800-8b69-11e0-9b19-734f0272444a"],
- "links": [
- {
- "rel" : "self",
- "href" : "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
- },
- {
- "rel" : "bookmark",
- "href" : "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
- }
- ]
- }
-}
diff --git a/openstack-compute-api-1.1/src/samples/ipgroup.xml b/openstack-compute-api-1.1/src/samples/ipgroup.xml
deleted file mode 100644
index d11328a..0000000
--- a/openstack-compute-api-1.1/src/samples/ipgroup.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/openstack-compute-api-1.1/src/samples/ipgroup2.json b/openstack-compute-api-1.1/src/samples/ipgroup2.json
deleted file mode 100644
index 3dcd661..0000000
--- a/openstack-compute-api-1.1/src/samples/ipgroup2.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "sharedIpGroup" : {
- "name" : "Shared IP Group 1",
- "server" : "52415800-8b69-11e0-9b19-734f0272444a"
- }
-}
diff --git a/openstack-compute-api-1.1/src/samples/ipgroup2.xml b/openstack-compute-api-1.1/src/samples/ipgroup2.xml
deleted file mode 100644
index f193ee8..0000000
--- a/openstack-compute-api-1.1/src/samples/ipgroup2.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
diff --git a/openstack-compute-api-1.1/src/samples/ipgroups-page1.json b/openstack-compute-api-1.1/src/samples/ipgroups-page1.json
deleted file mode 100644
index fb88f95..0000000
--- a/openstack-compute-api-1.1/src/samples/ipgroups-page1.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "sharedIpGroups": [
- {
- "id": "52415800-8b69-11e0-9b19-734f68ab4a9f",
- "name": "Shared IP Group 1",
- "servers": [
- "52415800-8b69-11e0-9b19-734f0272444a",
- "52415800-8b69-11e0-9b19-734f3b0d4465"
- ],
- "links": [
- {
- "rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
- },
- {
- "rel": "bookmark",
- "href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
- }
- ]
- },
- {
- "id": "52415800-8b69-11e0-9b19-734f0e75433e",
- "name": "Shared IP Group 2",
- "servers": [
- "52415800-8b69-11e0-9b19-734f10c97171",
- "52415800-8b69-11e0-9b19-734f4306ea92",
- "52415800-8b69-11e0-9b19-734f216543fd"
- ],
- "links": [
- {
- "rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"
- },
- {
- "rel": "bookmark",
- "href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"
- }
- ]
- }
- ],
- "sharedIpGroups_": {
- "links": [
- {
- "rel": "next",
- "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups?limit=2&marker=52415800-8b69-11e0-9b19-734f0e75433e"
- }
- ]
- }
-}
diff --git a/openstack-compute-api-1.1/src/samples/ipgroups-page1.xml b/openstack-compute-api-1.1/src/samples/ipgroups-page1.xml
deleted file mode 100644
index c6b7820..0000000
--- a/openstack-compute-api-1.1/src/samples/ipgroups-page1.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/openstack-compute-api-1.1/src/samples/ipgroups.json b/openstack-compute-api-1.1/src/samples/ipgroups.json
deleted file mode 100644
index 4f62932..0000000
--- a/openstack-compute-api-1.1/src/samples/ipgroups.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "sharedIpGroups": [
- {
- "id": "52415800-8b69-11e0-9b19-734f68ab4a9f",
- "name": "Shared IP Group 1",
- "servers": [
- "52415800-8b69-11e0-9b19-734f0272444a",
- "52415800-8b69-11e0-9b19-734f3b0d4465"
- ],
- "links": [
- {
- "rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
- },
- {
- "rel": "bookmark",
- "href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
- }
- ]
- },
- {
- "id": "52415800-8b69-11e0-9b19-734f0e75433e",
- "name": "Shared IP Group 2",
- "servers": [
- "52415800-8b69-11e0-9b19-734f10c97171",
- "52415800-8b69-11e0-9b19-734f4306ea92",
- "52415800-8b69-11e0-9b19-734f216543fd"
- ],
- "links": [
- {
- "rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"
- },
- {
- "rel": "bookmark",
- "href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"
- }
- ]
- }
- ]
-}
diff --git a/openstack-compute-api-1.1/src/samples/ipgroups.xml b/openstack-compute-api-1.1/src/samples/ipgroups.xml
deleted file mode 100644
index 0dd64eb..0000000
--- a/openstack-compute-api-1.1/src/samples/ipgroups.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/openstack-compute-api-1.1/src/samples/ipv6AddressRange.json b/openstack-compute-api-1.1/src/samples/ipv6AddressRange.json
deleted file mode 100644
index e54143c..0000000
--- a/openstack-compute-api-1.1/src/samples/ipv6AddressRange.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ipv6AddressRange":
- {
- "value":"2001:4800:7800:0500:DA39:A3EE:FF00:0000/96"
- }
-}
diff --git a/openstack-compute-api-1.1/src/samples/ipv6AddressRange.xml b/openstack-compute-api-1.1/src/samples/ipv6AddressRange.xml
deleted file mode 100644
index c7909de..0000000
--- a/openstack-compute-api-1.1/src/samples/ipv6AddressRange.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
\ No newline at end of file
diff --git a/openstack-compute-api-1.1/src/samples/shareip.json b/openstack-compute-api-1.1/src/samples/shareip.json
deleted file mode 100644
index 7b475e4..0000000
--- a/openstack-compute-api-1.1/src/samples/shareip.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "RS-SIPE:shareIp" : {
- "sharedIpGroupId" : 1234,
- "configureServer" : true
- }
-}
diff --git a/openstack-compute-api-1.1/src/samples/shareip.xml b/openstack-compute-api-1.1/src/samples/shareip.xml
deleted file mode 100644
index 43f47aa..0000000
--- a/openstack-compute-api-1.1/src/samples/shareip.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
diff --git a/openstack-compute-api-1.1/src/samples/snapshot.json b/openstack-compute-api-1.1/src/samples/snapshot.json
deleted file mode 100644
index 9866849..0000000
--- a/openstack-compute-api-1.1/src/samples/snapshot.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "snapshot" : {
- "imageName" : "Just in case"
- }
-}
diff --git a/openstack-compute-api-1.1/src/samples/snapshot.xml b/openstack-compute-api-1.1/src/samples/snapshot.xml
deleted file mode 100644
index 9e8820f..0000000
--- a/openstack-compute-api-1.1/src/samples/snapshot.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
diff --git a/openstack-compute-api-1.1/src/samples/version2.xml b/openstack-compute-api-1.1/src/samples/version2.xml
deleted file mode 100644
index 8cdd65d..0000000
--- a/openstack-compute-api-1.1/src/samples/version2.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/openstack-compute-api-1.1/pom.xml b/openstack-compute-api-2/pom.xml
similarity index 92%
rename from openstack-compute-api-1.1/pom.xml
rename to openstack-compute-api-2/pom.xml
index cecb5d9..94999a7 100644
--- a/openstack-compute-api-1.1/pom.xml
+++ b/openstack-compute-api-2/pom.xml
@@ -50,7 +50,7 @@
com.rackspace.cloud.apiclouddocs-maven-plugin
- 1.0.7
+ 1.0.9goal1
@@ -100,37 +100,37 @@
-
+
-
+
-
+
-
+
-
+
-
+
+ todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/">
@@ -146,7 +146,7 @@
+ tofile="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/os-compute-devguide-2.pdf"/>
@@ -164,7 +164,7 @@
os-compute-devguide.xml
- http://docs.openstack.org/api/openstack-compute/1.1/content/
+ http://docs.openstack.org/api/openstack-compute/2/content/revieweropenstack
diff --git a/openstack-compute-api-1.1/src/common.ent b/openstack-compute-api-2/src/common.ent
similarity index 100%
rename from openstack-compute-api-1.1/src/common.ent
rename to openstack-compute-api-2/src/common.ent
diff --git a/openstack-compute-api-1.1/src/figures/Arrow_east.png b/openstack-compute-api-2/src/figures/Arrow_east.png
similarity index 100%
rename from openstack-compute-api-1.1/src/figures/Arrow_east.png
rename to openstack-compute-api-2/src/figures/Arrow_east.png
diff --git a/openstack-compute-api-1.1/src/figures/Arrow_east.svg b/openstack-compute-api-2/src/figures/Arrow_east.svg
similarity index 100%
rename from openstack-compute-api-1.1/src/figures/Arrow_east.svg
rename to openstack-compute-api-2/src/figures/Arrow_east.svg
diff --git a/openstack-compute-api-1.1/src/figures/Check_mark_23x20_02.png b/openstack-compute-api-2/src/figures/Check_mark_23x20_02.png
similarity index 100%
rename from openstack-compute-api-1.1/src/figures/Check_mark_23x20_02.png
rename to openstack-compute-api-2/src/figures/Check_mark_23x20_02.png
diff --git a/openstack-compute-api-1.1/src/figures/Check_mark_23x20_02.svg b/openstack-compute-api-2/src/figures/Check_mark_23x20_02.svg
similarity index 100%
rename from openstack-compute-api-1.1/src/figures/Check_mark_23x20_02.svg
rename to openstack-compute-api-2/src/figures/Check_mark_23x20_02.svg
diff --git a/openstack-compute-api-1.1/src/js/shjs/sh_java.js b/openstack-compute-api-2/src/js/shjs/sh_java.js
similarity index 100%
rename from openstack-compute-api-1.1/src/js/shjs/sh_java.js
rename to openstack-compute-api-2/src/js/shjs/sh_java.js
diff --git a/openstack-compute-api-1.1/src/js/shjs/sh_javascript.js b/openstack-compute-api-2/src/js/shjs/sh_javascript.js
similarity index 100%
rename from openstack-compute-api-1.1/src/js/shjs/sh_javascript.js
rename to openstack-compute-api-2/src/js/shjs/sh_javascript.js
diff --git a/openstack-compute-api-1.1/src/js/shjs/sh_main.js b/openstack-compute-api-2/src/js/shjs/sh_main.js
similarity index 100%
rename from openstack-compute-api-1.1/src/js/shjs/sh_main.js
rename to openstack-compute-api-2/src/js/shjs/sh_main.js
diff --git a/openstack-compute-api-1.1/src/js/shjs/sh_xml.js b/openstack-compute-api-2/src/js/shjs/sh_xml.js
similarity index 100%
rename from openstack-compute-api-1.1/src/js/shjs/sh_xml.js
rename to openstack-compute-api-2/src/js/shjs/sh_xml.js
diff --git a/openstack-compute-api-1.1/src/js/trc/schema/controller.js b/openstack-compute-api-2/src/js/trc/schema/controller.js
similarity index 100%
rename from openstack-compute-api-1.1/src/js/trc/schema/controller.js
rename to openstack-compute-api-2/src/js/trc/schema/controller.js
diff --git a/openstack-compute-api-1.1/src/js/trc/schema/layoutManager.js b/openstack-compute-api-2/src/js/trc/schema/layoutManager.js
similarity index 100%
rename from openstack-compute-api-1.1/src/js/trc/schema/layoutManager.js
rename to openstack-compute-api-2/src/js/trc/schema/layoutManager.js
diff --git a/openstack-compute-api-1.1/src/js/trc/schema/sampleManager.js b/openstack-compute-api-2/src/js/trc/schema/sampleManager.js
similarity index 100%
rename from openstack-compute-api-1.1/src/js/trc/schema/sampleManager.js
rename to openstack-compute-api-2/src/js/trc/schema/sampleManager.js
diff --git a/openstack-compute-api-1.1/src/js/trc/util.js b/openstack-compute-api-2/src/js/trc/util.js
similarity index 100%
rename from openstack-compute-api-1.1/src/js/trc/util.js
rename to openstack-compute-api-2/src/js/trc/util.js
diff --git a/openstack-compute-api-1.1/src/os-compute-1.1.wadl b/openstack-compute-api-2/src/os-compute-2.wadl
similarity index 99%
rename from openstack-compute-api-1.1/src/os-compute-1.1.wadl
rename to openstack-compute-api-2/src/os-compute-2.wadl
index 1be63d3..f2aee9b 100644
--- a/openstack-compute-api-1.1/src/os-compute-1.1.wadl
+++ b/openstack-compute-api-2/src/os-compute-2.wadl
@@ -7,7 +7,7 @@
-
+
%common;]>
@@ -32,11 +32,11 @@
-
+
-
+
diff --git a/openstack-compute-api-1.1/src/os-compute-devguide.xml b/openstack-compute-api-2/src/os-compute-devguide.xml
similarity index 98%
rename from openstack-compute-api-1.1/src/os-compute-devguide.xml
rename to openstack-compute-api-2/src/os-compute-devguide.xml
index d58232c..3076e39 100644
--- a/openstack-compute-api-1.1/src/os-compute-devguide.xml
+++ b/openstack-compute-api-2/src/os-compute-devguide.xml
@@ -59,11 +59,12 @@
200920102011
+ 2012Rackspace US, Inc.
- API v1.1
+ API v2OpenStack Compute
- 2011-11-08
+ 2012-02-14Copyright details are filled in by the template.
@@ -75,15 +76,27 @@
(API).
+
+ 2012-02-14
+
+
+
+ Changed the name of the API version
+ from v1.1 to v2.
+
+
+ No longer use mimetype parameters to
+ denote version.
+
+
+
-
2011-11-08Removed DRAFT designation.
-
@@ -649,7 +662,7 @@
Request with Headers: JSON
-POST /v1.1/214412/servers HTTP/1.1
+POST /v2/214412/servers HTTP/1.1
Host: servers.api.openstack.org
Content-Type: application/json
Accept: application/xml
@@ -681,7 +694,7 @@ Content-Type: application/xml; charset=UTF-8
Request with Extension: JSON
-POST /v1.1/214412/servers.xml HTTP/1.1
+POST /v2/214412/servers.xml HTTP/1.1
Host: servers.api.openstack.org
Content-Type: application/json
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
@@ -786,21 +799,19 @@ X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
an empty collection.
-
- For convenience, collections are required to contain
- atom "next" links. They may optionally also contain
- "previous" links. The last page in the list will not
- contain a "next" link. The following examples
- illustrate three pages in a collection of images. The
+ For convenience, collections are required to
+ contain atom "next" links. They may optionally also
+ contain "previous" links. The last page in the list
+ will not contain a "next" link. The following examples
+ illustrate three pages in a collection of images. The
first page was retrieved via a &GET; to
- http://servers.api.openstack.org/v1.1/1234/images?limit=1.
+ http://servers.api.openstack.org/v2/1234/images?limit=1.
In these examples, the limit
parameter sets the page size to a single item.
Subsequent links will honor the initial page size.
Thus, a client may follow links to traverse a
paginated collection without having to input the
- marker parameter.
-
+ marker parameter. Images Collection, First Page: XML
@@ -873,33 +884,31 @@ X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
Efficient Polling with the
Changes-Since Parameter
-
- The ReST API allows you to poll for the status of
+ The ReST API allows you to poll for the status of
certain operations by performing a &GET; on various
elements. Rather than re-downloading and re-parsing
the full status at each polling interval, your ReST
client may use the
- changes-since parameter to
+ changes-since parameter to
check for changes since a previous request. The
- changes-since time is specified
- as an ISO
- 8601 dateTime (2011-01-24T17:08Z). The form
- for the timestamp is CCYY-MM-DDThh:mm:ss. An optional
- time zone may be written in by appending the form
- ±hh:mm which describes the timezone as an
+ changes-since time is
+ specified as an ISO 8601 dateTime (2011-01-24T17:08Z). The
+ form for the timestamp is CCYY-MM-DDThh:mm:ss. An
+ optional time zone may be written in by appending the
+ form ±hh:mm which describes the timezone as an
offset from UTC. When the timezone is not specified
(2011-01-24T17:08), the UTC timezone will be assumed.
If nothing has changed since the
- changes-since time, an empty
- list will be returned. If data has changed, only the
- items changed since the specified time will be
+ changes-since time, an
+ empty list will be returned. If data has changed, only
+ the items changed since the specified time will be
returned in the response. For example, performing a
&GET; against
- https://api.servers.openstack.org/v1.1/224532/servers?changes-since=2011-01-24T17:08Z
+ https://api.servers.openstack.org/v2/224532/servers?changes-since=2011-01-24T17:08Z
would list all servers that have changed since Mon, 24
- Jan 2011 17:08:00 UTC.
-
+ Jan 2011 17:08:00 UTC.
In order to allow clients to keep track of changes,
the changes-since filter displays items that have been
@@ -942,15 +951,13 @@ X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
machine-processable form is intended to be used
directly by client applications.
-
- The regular expression boundary matcher "^" for
+ The regular expression boundary matcher "^" for
the rate limit takes effect after the root URI
path. For example, the regular expression
^/servers would match the bolded portion of the
following URI:
- https://servers.api.openstack.org/v1.1/3542812/servers.
-
+ https://servers.api.openstack.org/v2/3542812/servers.
Sample Rate Limits
@@ -1124,34 +1131,32 @@ X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
Versions
-
- The OpenStack Compute API uses both a URI and a MIME
- type versioning scheme. In the URI scheme, the first
- element of the path contains the target version
+ The OpenStack Compute API uses both a URI and a
+ MIME type versioning scheme. In the URI scheme, the
+ first element of the path contains the target version
identifier (e.g. https://servers.api.openstack.org/
v1.0/…). The MIME type versioning scheme uses
HTTP content negotiation where the Accept
or Content-Type headers contains a MIME
type that identifies the version
- (application/vnd.openstack.compute+xml;version=1.1). A
+ (application/vnd.openstack.compute.v2+xml). A
version MIME type is always linked to a base MIME type
(application/xml or application/json). If conflicting
versions are specified using both an HTTP header and a
- URI, the URI takes precedence.
-
+ URI, the URI takes precedence. Request with MIME type versioning
GET /214412/images HTTP/1.1
Host: servers.api.openstack.org
-Accept: application/vnd.openstack.compute+xml;version=1.1
+Accept: application/vnd.openstack.compute.v2+xml
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
Request with URI versioning
-GET /v1.1/214412/images HTTP/1.1
+GET /v2/214412/images HTTP/1.1
Host: servers.api.openstack.org
Accept: application/xml
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
@@ -1250,27 +1255,25 @@ Host: servers.api.openstack.org
-
- You can also obtain additional information about a
+ You can also obtain additional information about a
specific version by performing a &GET; on the base
- version URL
- (e.g. https://servers.api.openstack.org/v1.1/).
- Version request URLs should always end with a trailing
- slash (/). If the slash is omitted, the server may
- respond with a 302
- redirection request. Format extensions may be placed
- after the slash
- (e.g. https://servers.api.openstack.org/v1.1/.xml). Note
+ version URL (e.g.
+ https://servers.api.openstack.org/v2/). Version
+ request URLs should always end with a trailing slash
+ (/). If the slash is omitted, the server may respond
+ with a 302 redirection
+ request. Format extensions may be placed after the
+ slash (e.g.
+ https://servers.api.openstack.org/v2/.xml). Note
that this is a special case that does not hold true
for other API requests. In general, requests such as
/servers.xml and /servers/.xml are handled
- equivalently.
-
+ equivalently. Version Details Request
GET HTTP/1.1
-Host: servers.api.openstack.org/v1.1/
+Host: servers.api.openstack.org/v2/
@@ -1304,8 +1307,7 @@ Host: servers.api.openstack.org/v1.1/
Version Details Response: JSON
-
+
The detailed version response contains pointers to
diff --git a/openstack-compute-api-1.1/src/samples/address.json b/openstack-compute-api-2/src/samples/address.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/address.json
rename to openstack-compute-api-2/src/samples/address.json
diff --git a/openstack-compute-api-1.1/src/samples/address.xml b/openstack-compute-api-2/src/samples/address.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/address.xml
rename to openstack-compute-api-2/src/samples/address.xml
diff --git a/openstack-compute-api-1.1/src/samples/addresses.json b/openstack-compute-api-2/src/samples/addresses.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/addresses.json
rename to openstack-compute-api-2/src/samples/addresses.json
diff --git a/openstack-compute-api-1.1/src/samples/addresses.xml b/openstack-compute-api-2/src/samples/addresses.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/addresses.xml
rename to openstack-compute-api-2/src/samples/addresses.xml
diff --git a/openstack-compute-api-1.1/src/samples/backupInProgress.json b/openstack-compute-api-2/src/samples/backupInProgress.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/backupInProgress.json
rename to openstack-compute-api-2/src/samples/backupInProgress.json
diff --git a/openstack-compute-api-1.1/src/samples/backupInProgress.xml b/openstack-compute-api-2/src/samples/backupInProgress.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/backupInProgress.xml
rename to openstack-compute-api-2/src/samples/backupInProgress.xml
diff --git a/openstack-compute-api-1.1/src/samples/badmediatype.json b/openstack-compute-api-2/src/samples/badmediatype.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/badmediatype.json
rename to openstack-compute-api-2/src/samples/badmediatype.json
diff --git a/openstack-compute-api-1.1/src/samples/badmediatype.xml b/openstack-compute-api-2/src/samples/badmediatype.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/badmediatype.xml
rename to openstack-compute-api-2/src/samples/badmediatype.xml
diff --git a/openstack-compute-api-1.1/src/samples/badmethod.json b/openstack-compute-api-2/src/samples/badmethod.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/badmethod.json
rename to openstack-compute-api-2/src/samples/badmethod.json
diff --git a/openstack-compute-api-1.1/src/samples/badmethod.xml b/openstack-compute-api-2/src/samples/badmethod.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/badmethod.xml
rename to openstack-compute-api-2/src/samples/badmethod.xml
diff --git a/openstack-compute-api-1.1/src/samples/badrequest.json b/openstack-compute-api-2/src/samples/badrequest.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/badrequest.json
rename to openstack-compute-api-2/src/samples/badrequest.json
diff --git a/openstack-compute-api-1.1/src/samples/badrequest.xml b/openstack-compute-api-2/src/samples/badrequest.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/badrequest.xml
rename to openstack-compute-api-2/src/samples/badrequest.xml
diff --git a/openstack-compute-api-1.1/src/samples/build.json b/openstack-compute-api-2/src/samples/build.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/build.json
rename to openstack-compute-api-2/src/samples/build.json
diff --git a/openstack-compute-api-1.1/src/samples/build.xml b/openstack-compute-api-2/src/samples/build.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/build.xml
rename to openstack-compute-api-2/src/samples/build.xml
diff --git a/openstack-compute-api-1.1/src/samples/changepassword.json b/openstack-compute-api-2/src/samples/changepassword.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/changepassword.json
rename to openstack-compute-api-2/src/samples/changepassword.json
diff --git a/openstack-compute-api-1.1/src/samples/changepassword.xml b/openstack-compute-api-2/src/samples/changepassword.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/changepassword.xml
rename to openstack-compute-api-2/src/samples/changepassword.xml
diff --git a/openstack-compute-api-1.1/src/samples/choices.json b/openstack-compute-api-2/src/samples/choices.json
similarity index 66%
rename from openstack-compute-api-1.1/src/samples/choices.json
rename to openstack-compute-api-2/src/samples/choices.json
index 77ab359..9ce8a4b 100644
--- a/openstack-compute-api-1.1/src/samples/choices.json
+++ b/openstack-compute-api-2/src/samples/choices.json
@@ -12,31 +12,31 @@
"media-types": [
{
"base": "application/xml",
- "type": "application/vnd.openstack.compute+xml;version=1.0"
+ "type": "application/vnd.openstack.compute.v1.0+xml"
},
{
"base": "application/json",
- "type": "application/vnd.openstack.compute+json;version=1.0"
+ "type": "application/vnd.openstack.compute.v1.0+json"
}
]
},
{
- "id": "v1.1",
+ "id": "v2",
"status": "CURRENT",
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
}
],
"media-types": [
{
"base": "application/xml",
- "type": "application/vnd.openstack.compute+xml;version=1.0"
+ "type": "application/vnd.openstack.compute.v2+xml"
},
{
"base": "application/json",
- "type": "application/vnd.openstack.compute+json;version=1.0"
+ "type": "application/vnd.openstack.compute.v2+json"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/choices.xml b/openstack-compute-api-2/src/samples/choices.xml
similarity index 60%
rename from openstack-compute-api-1.1/src/samples/choices.xml
rename to openstack-compute-api-2/src/samples/choices.xml
index 54eff12..8ce868c 100644
--- a/openstack-compute-api-1.1/src/samples/choices.xml
+++ b/openstack-compute-api-2/src/samples/choices.xml
@@ -5,24 +5,24 @@
+ type="application/vnd.openstack.compute.v1.0+xml"/>
+ type="application/vnd.openstack.compute.v1.0+json"/>
-
+
+ type="application/vnd.openstack.compute.v2+xml"/>
+ type="application/vnd.openstack.compute.v2+xml"/>
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
diff --git a/openstack-compute-api-1.1/src/samples/confirmresize.json b/openstack-compute-api-2/src/samples/confirmresize.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/confirmresize.json
rename to openstack-compute-api-2/src/samples/confirmresize.json
diff --git a/openstack-compute-api-1.1/src/samples/confirmresize.xml b/openstack-compute-api-2/src/samples/confirmresize.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/confirmresize.xml
rename to openstack-compute-api-2/src/samples/confirmresize.xml
diff --git a/openstack-compute-api-1.1/src/samples/createimage.json b/openstack-compute-api-2/src/samples/createimage.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/createimage.json
rename to openstack-compute-api-2/src/samples/createimage.json
diff --git a/openstack-compute-api-1.1/src/samples/createimage.xml b/openstack-compute-api-2/src/samples/createimage.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/createimage.xml
rename to openstack-compute-api-2/src/samples/createimage.xml
diff --git a/openstack-compute-api-1.1/src/samples/ext-action.json b/openstack-compute-api-2/src/samples/ext-action.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/ext-action.json
rename to openstack-compute-api-2/src/samples/ext-action.json
diff --git a/openstack-compute-api-1.1/src/samples/ext-action.xml b/openstack-compute-api-2/src/samples/ext-action.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/ext-action.xml
rename to openstack-compute-api-2/src/samples/ext-action.xml
diff --git a/openstack-compute-api-1.1/src/samples/ext-server.json b/openstack-compute-api-2/src/samples/ext-server.json
similarity index 79%
rename from openstack-compute-api-1.1/src/samples/ext-server.json
rename to openstack-compute-api-2/src/samples/ext-server.json
index d60aae3..8f69def 100644
--- a/openstack-compute-api-1.1/src/samples/ext-server.json
+++ b/openstack-compute-api-2/src/samples/ext-server.json
@@ -2,8 +2,8 @@
"server": {
"id": "52415800-8b69-11e0-9b19-734f000004d2",
"name": "sample-server",
- "imageRef": "https://servers.api.rackspacecloud.com/v1.1/32278/images/52415800-8b69-11e0-9b19-734f5736d2a2",
- "flavorRef": "https://servers.api.rackspacecloud.com/v1.1/32278/flavors/52415800-8b69-11e0-9b19-734f1195ff37",
+ "imageRef": "https://servers.api.rackspacecloud.com/v2/32278/images/52415800-8b69-11e0-9b19-734f5736d2a2",
+ "flavorRef": "https://servers.api.rackspacecloud.com/v2/32278/flavors/52415800-8b69-11e0-9b19-734f1195ff37",
"updated": "2010-10-10T12:00:00Z",
"created": "2010-08-10T12:00:00Z",
"hostId": "e4d909c290d0fb1ca068ffaddf22cbd0",
@@ -53,16 +53,16 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
},
{
"rel": "bookmark",
- "type": "application/vnd.openstack.compute-v1.1+xml",
+ "type": "application/vnd.openstack.compute-v2+xml",
"href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
},
{
"rel": "bookmark",
- "type": "application/vnd.openstack.compute-v1.1+json",
+ "type": "application/vnd.openstack.compute-v2+json",
"href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
}
]
diff --git a/openstack-compute-api-1.1/src/samples/ext-server.xml b/openstack-compute-api-2/src/samples/ext-server.xml
similarity index 74%
rename from openstack-compute-api-1.1/src/samples/ext-server.xml
rename to openstack-compute-api-2/src/samples/ext-server.xml
index e170dba..df96d0c 100644
--- a/openstack-compute-api-1.1/src/samples/ext-server.xml
+++ b/openstack-compute-api-2/src/samples/ext-server.xml
@@ -3,13 +3,13 @@
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:aide="http://docs.rackspacecloud.com/servers/api/ext/aide/v1.0"
id="52415800-8b69-11e0-9b19-734f000004d2" name="sample-server"
- flavorRef="https://servers.api.rackspacecloud.com/v1.1/32278/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
+ flavorRef="https://servers.api.rackspacecloud.com/v2/32278/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
status="BUILD"
updated="2010-10-10T12:00:00Z"
created="2010-08-10T12:00:00Z"
progress="60" hostId="e4d909c290d0fb1ca068ffaddf22cbd0"
aide:affinityId="1fdfe1e2-03f0-102f-b7ae-005056bb5f9e"
- imageRef="https://servers.api.rackspacecloud.com/v1.1/32278/images/52415800-8b69-11e0-9b19-734f5736d2a2">
+ imageRef="https://servers.api.rackspacecloud.com/v2/32278/images/52415800-8b69-11e0-9b19-734f5736d2a2">
Web Head 1
2.1
@@ -28,13 +28,13 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"/>
diff --git a/openstack-compute-api-1.1/src/samples/ext-servers.json b/openstack-compute-api-2/src/samples/ext-servers.json
similarity index 93%
rename from openstack-compute-api-1.1/src/samples/ext-servers.json
rename to openstack-compute-api-2/src/samples/ext-servers.json
index b03a86b..a35764e 100644
--- a/openstack-compute-api-1.1/src/samples/ext-servers.json
+++ b/openstack-compute-api-2/src/samples/ext-servers.json
@@ -17,7 +17,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
},
{
"rel": "bookmark",
@@ -30,7 +30,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
},
{
"rel": "bookmark",
@@ -75,7 +75,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
},
{
"rel": "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/ext-servers.xml b/openstack-compute-api-2/src/samples/ext-servers.xml
similarity index 86%
rename from openstack-compute-api-1.1/src/samples/ext-servers.xml
rename to openstack-compute-api-2/src/samples/ext-servers.xml
index dd41d4d..d91fc52 100644
--- a/openstack-compute-api-1.1/src/samples/ext-servers.xml
+++ b/openstack-compute-api-2/src/samples/ext-servers.xml
@@ -12,7 +12,7 @@
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -20,7 +20,7 @@
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
@@ -43,7 +43,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
diff --git a/openstack-compute-api-1.1/src/samples/extension.json b/openstack-compute-api-2/src/samples/extension.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extension.json
rename to openstack-compute-api-2/src/samples/extension.json
diff --git a/openstack-compute-api-1.1/src/samples/extension.xml b/openstack-compute-api-2/src/samples/extension.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extension.xml
rename to openstack-compute-api-2/src/samples/extension.xml
diff --git a/openstack-compute-api-1.1/src/samples/extension2.json b/openstack-compute-api-2/src/samples/extension2.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extension2.json
rename to openstack-compute-api-2/src/samples/extension2.json
diff --git a/openstack-compute-api-1.1/src/samples/extension2.xml b/openstack-compute-api-2/src/samples/extension2.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extension2.xml
rename to openstack-compute-api-2/src/samples/extension2.xml
diff --git a/openstack-compute-api-1.1/src/samples/extension3.json b/openstack-compute-api-2/src/samples/extension3.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extension3.json
rename to openstack-compute-api-2/src/samples/extension3.json
diff --git a/openstack-compute-api-1.1/src/samples/extension3.xml b/openstack-compute-api-2/src/samples/extension3.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extension3.xml
rename to openstack-compute-api-2/src/samples/extension3.xml
diff --git a/openstack-compute-api-1.1/src/samples/extension4.json b/openstack-compute-api-2/src/samples/extension4.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extension4.json
rename to openstack-compute-api-2/src/samples/extension4.json
diff --git a/openstack-compute-api-1.1/src/samples/extension4.xml b/openstack-compute-api-2/src/samples/extension4.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extension4.xml
rename to openstack-compute-api-2/src/samples/extension4.xml
diff --git a/openstack-compute-api-1.1/src/samples/extensions.json b/openstack-compute-api-2/src/samples/extensions.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extensions.json
rename to openstack-compute-api-2/src/samples/extensions.json
diff --git a/openstack-compute-api-1.1/src/samples/extensions.xml b/openstack-compute-api-2/src/samples/extensions.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/extensions.xml
rename to openstack-compute-api-2/src/samples/extensions.xml
diff --git a/openstack-compute-api-1.1/src/samples/fault.json b/openstack-compute-api-2/src/samples/fault.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/fault.json
rename to openstack-compute-api-2/src/samples/fault.json
diff --git a/openstack-compute-api-1.1/src/samples/fault.xml b/openstack-compute-api-2/src/samples/fault.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/fault.xml
rename to openstack-compute-api-2/src/samples/fault.xml
diff --git a/openstack-compute-api-1.1/src/samples/flavor.json b/openstack-compute-api-2/src/samples/flavor.json
similarity index 79%
rename from openstack-compute-api-1.1/src/samples/flavor.json
rename to openstack-compute-api-2/src/samples/flavor.json
index 280d0d1..d11d4b4 100644
--- a/openstack-compute-api-1.1/src/samples/flavor.json
+++ b/openstack-compute-api-2/src/samples/flavor.json
@@ -8,7 +8,7 @@
"links": [
{
"rel" : "self",
- "href" : "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
+ "href" : "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
},
{
"rel" : "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/flavor.xml b/openstack-compute-api-2/src/samples/flavor.xml
similarity index 80%
rename from openstack-compute-api-1.1/src/samples/flavor.xml
rename to openstack-compute-api-2/src/samples/flavor.xml
index 1c3bb3b..ab21b23 100644
--- a/openstack-compute-api-1.1/src/samples/flavor.xml
+++ b/openstack-compute-api-2/src/samples/flavor.xml
@@ -6,7 +6,7 @@
name="256 MB Server" ram="256" disk="10" vcpus="1">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
diff --git a/openstack-compute-api-1.1/src/samples/flavors-page1-sp.xml b/openstack-compute-api-2/src/samples/flavors-page1-sp.xml
similarity index 72%
rename from openstack-compute-api-1.1/src/samples/flavors-page1-sp.xml
rename to openstack-compute-api-2/src/samples/flavors-page1-sp.xml
index aad8e1f..73a4bf0 100644
--- a/openstack-compute-api-1.1/src/samples/flavors-page1-sp.xml
+++ b/openstack-compute-api-2/src/samples/flavors-page1-sp.xml
@@ -8,7 +8,7 @@
name="256 MB Server">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
@@ -17,12 +17,12 @@
name="512 MB Server">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
+ href="http://servers.api.openstack.org/v2/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"/>
diff --git a/openstack-compute-api-1.1/src/samples/flavors-page1.json b/openstack-compute-api-2/src/samples/flavors-page1.json
similarity index 74%
rename from openstack-compute-api-1.1/src/samples/flavors-page1.json
rename to openstack-compute-api-2/src/samples/flavors-page1.json
index 5437e97..984a7b2 100644
--- a/openstack-compute-api-1.1/src/samples/flavors-page1.json
+++ b/openstack-compute-api-2/src/samples/flavors-page1.json
@@ -9,7 +9,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
},
{
"rel": "bookmark",
@@ -26,7 +26,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
},
{
"rel": "bookmark",
@@ -38,7 +38,7 @@
"flavors_links": [
{
"rel": "next",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/flavors-page1.xml b/openstack-compute-api-2/src/samples/flavors-page1.xml
similarity index 70%
rename from openstack-compute-api-1.1/src/samples/flavors-page1.xml
rename to openstack-compute-api-2/src/samples/flavors-page1.xml
index a8b45f0..5be6d6e 100644
--- a/openstack-compute-api-1.1/src/samples/flavors-page1.xml
+++ b/openstack-compute-api-2/src/samples/flavors-page1.xml
@@ -5,7 +5,7 @@
name="256 MB Server" ram="256" disk="10" vcpus="1">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
@@ -14,12 +14,12 @@
name="512 MB Server" ram="512" disk="20" vcpus="2">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
+ href="http://servers.api.openstack.org/v2/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"/>
diff --git a/openstack-compute-api-1.1/src/samples/flavors.json b/openstack-compute-api-2/src/samples/flavors.json
similarity index 80%
rename from openstack-compute-api-1.1/src/samples/flavors.json
rename to openstack-compute-api-2/src/samples/flavors.json
index be757c0..8785260 100644
--- a/openstack-compute-api-1.1/src/samples/flavors.json
+++ b/openstack-compute-api-2/src/samples/flavors.json
@@ -9,7 +9,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
},
{
"rel": "bookmark",
@@ -26,7 +26,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
},
{
"rel": "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/flavors.xml b/openstack-compute-api-2/src/samples/flavors.xml
similarity index 78%
rename from openstack-compute-api-1.1/src/samples/flavors.xml
rename to openstack-compute-api-2/src/samples/flavors.xml
index d391433..eb4177f 100644
--- a/openstack-compute-api-1.1/src/samples/flavors.xml
+++ b/openstack-compute-api-2/src/samples/flavors.xml
@@ -5,7 +5,7 @@
name="256 MB Server" ram="256" disk="10" vcpus="1">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
@@ -14,7 +14,7 @@
name="512 MB Server" ram="512" disk="20" vcpus="2">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
diff --git a/openstack-compute-api-1.1/src/samples/forbidden.json b/openstack-compute-api-2/src/samples/forbidden.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/forbidden.json
rename to openstack-compute-api-2/src/samples/forbidden.json
diff --git a/openstack-compute-api-1.1/src/samples/forbidden.xml b/openstack-compute-api-2/src/samples/forbidden.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/forbidden.xml
rename to openstack-compute-api-2/src/samples/forbidden.xml
diff --git a/openstack-compute-api-1.1/src/samples/image-fault.json b/openstack-compute-api-2/src/samples/image-fault.json
similarity index 86%
rename from openstack-compute-api-1.1/src/samples/image-fault.json
rename to openstack-compute-api-2/src/samples/image-fault.json
index eccb4c7..5a45d8e 100644
--- a/openstack-compute-api-1.1/src/samples/image-fault.json
+++ b/openstack-compute-api-2/src/samples/image-fault.json
@@ -16,7 +16,7 @@
"links": [
{
"rel" : "self",
- "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
+ "href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
},
{
"rel" : "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/image-fault.xml b/openstack-compute-api-2/src/samples/image-fault.xml
similarity index 86%
rename from openstack-compute-api-1.1/src/samples/image-fault.xml
rename to openstack-compute-api-2/src/samples/image-fault.xml
index 687b720..6c1b95d 100644
--- a/openstack-compute-api-1.1/src/samples/image-fault.xml
+++ b/openstack-compute-api-2/src/samples/image-fault.xml
@@ -13,7 +13,7 @@
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
diff --git a/openstack-compute-api-1.1/src/samples/image-meta-page1.json b/openstack-compute-api-2/src/samples/image-meta-page1.json
similarity index 61%
rename from openstack-compute-api-1.1/src/samples/image-meta-page1.json
rename to openstack-compute-api-2/src/samples/image-meta-page1.json
index a23690a..2035357 100644
--- a/openstack-compute-api-1.1/src/samples/image-meta-page1.json
+++ b/openstack-compute-api-2/src/samples/image-meta-page1.json
@@ -9,13 +9,13 @@
"metadata_links": [
{
"rel": "next",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54/meta?marker=ImageType"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54/meta?marker=ImageType"
}
],
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/image-meta-page1.xml b/openstack-compute-api-2/src/samples/image-meta-page1.xml
similarity index 64%
rename from openstack-compute-api-1.1/src/samples/image-meta-page1.xml
rename to openstack-compute-api-2/src/samples/image-meta-page1.xml
index b27cce6..6732d69 100644
--- a/openstack-compute-api-1.1/src/samples/image-meta-page1.xml
+++ b/openstack-compute-api-2/src/samples/image-meta-page1.xml
@@ -9,9 +9,9 @@
Gold
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54/meta?marker=ImageType"/>
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
diff --git a/openstack-compute-api-1.1/src/samples/image-simple.json b/openstack-compute-api-2/src/samples/image-simple.json
similarity index 84%
rename from openstack-compute-api-1.1/src/samples/image-simple.json
rename to openstack-compute-api-2/src/samples/image-simple.json
index 734d731..695e465 100644
--- a/openstack-compute-api-1.1/src/samples/image-simple.json
+++ b/openstack-compute-api-2/src/samples/image-simple.json
@@ -5,7 +5,7 @@
"links": [
{
"rel" : "self",
- "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
+ "href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
},
{
"rel" : "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/image-simple.xml b/openstack-compute-api-2/src/samples/image-simple.xml
similarity index 84%
rename from openstack-compute-api-1.1/src/samples/image-simple.xml
rename to openstack-compute-api-2/src/samples/image-simple.xml
index f4732f2..0b43eaa 100644
--- a/openstack-compute-api-1.1/src/samples/image-simple.xml
+++ b/openstack-compute-api-2/src/samples/image-simple.xml
@@ -6,7 +6,7 @@
name="My Server Backup">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
diff --git a/openstack-compute-api-1.1/src/samples/image.json b/openstack-compute-api-2/src/samples/image.json
similarity index 81%
rename from openstack-compute-api-1.1/src/samples/image.json
rename to openstack-compute-api-2/src/samples/image.json
index 1d81a51..be1122d 100644
--- a/openstack-compute-api-1.1/src/samples/image.json
+++ b/openstack-compute-api-2/src/samples/image.json
@@ -15,7 +15,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"
},
{
"rel": "bookmark",
@@ -26,7 +26,7 @@
"links": [
{
"rel" : "self",
- "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
+ "href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
},
{
"rel" : "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/image.xml b/openstack-compute-api-2/src/samples/image.xml
similarity index 79%
rename from openstack-compute-api-1.1/src/samples/image.xml
rename to openstack-compute-api-2/src/samples/image.xml
index fd9d870..663cf25 100644
--- a/openstack-compute-api-1.1/src/samples/image.xml
+++ b/openstack-compute-api-2/src/samples/image.xml
@@ -13,14 +13,14 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"/>
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
diff --git a/openstack-compute-api-1.1/src/samples/images-page1-sp.xml b/openstack-compute-api-2/src/samples/images-page1-sp.xml
similarity index 71%
rename from openstack-compute-api-1.1/src/samples/images-page1-sp.xml
rename to openstack-compute-api-2/src/samples/images-page1-sp.xml
index 108f576..474af3b 100644
--- a/openstack-compute-api-1.1/src/samples/images-page1-sp.xml
+++ b/openstack-compute-api-2/src/samples/images-page1-sp.xml
@@ -7,7 +7,7 @@
name="CentOS 5.2">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -17,12 +17,12 @@
name="My Server Backup">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
+ href="http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"/>
diff --git a/openstack-compute-api-1.1/src/samples/images-page1.json b/openstack-compute-api-2/src/samples/images-page1.json
similarity index 57%
rename from openstack-compute-api-1.1/src/samples/images-page1.json
rename to openstack-compute-api-2/src/samples/images-page1.json
index 9368bd4..c64cd64 100644
--- a/openstack-compute-api-1.1/src/samples/images-page1.json
+++ b/openstack-compute-api-2/src/samples/images-page1.json
@@ -6,7 +6,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
}
]
}
@@ -14,7 +14,7 @@
"images_links" : [
{
"rel": "next",
- "href": "http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/images-page1.xml b/openstack-compute-api-2/src/samples/images-page1.xml
similarity index 58%
rename from openstack-compute-api-1.1/src/samples/images-page1.xml
rename to openstack-compute-api-2/src/samples/images-page1.xml
index 7f191e0..b4c87b5 100644
--- a/openstack-compute-api-1.1/src/samples/images-page1.xml
+++ b/openstack-compute-api-2/src/samples/images-page1.xml
@@ -5,9 +5,9 @@
name="CentOS 5.2">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
+ href="http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"/>
diff --git a/openstack-compute-api-1.1/src/samples/images-page2.json b/openstack-compute-api-2/src/samples/images-page2.json
similarity index 70%
rename from openstack-compute-api-1.1/src/samples/images-page2.json
rename to openstack-compute-api-2/src/samples/images-page2.json
index a9c9cc1..a0a012f 100644
--- a/openstack-compute-api-1.1/src/samples/images-page2.json
+++ b/openstack-compute-api-2/src/samples/images-page2.json
@@ -6,7 +6,7 @@
"links": [
{
"rel" : "self",
- "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
+ "href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
}
]
}
@@ -14,7 +14,7 @@
"images_links": [
{
"rel" : "next",
- "href" : "http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f5736d2a2"
+ "href" : "http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f5736d2a2"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/images-page2.xml b/openstack-compute-api-2/src/samples/images-page2.xml
similarity index 56%
rename from openstack-compute-api-1.1/src/samples/images-page2.xml
rename to openstack-compute-api-2/src/samples/images-page2.xml
index ce9307e..e208e0f 100644
--- a/openstack-compute-api-1.1/src/samples/images-page2.xml
+++ b/openstack-compute-api-2/src/samples/images-page2.xml
@@ -4,8 +4,8 @@
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
+ href="http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f5736d2a2"/>
diff --git a/openstack-compute-api-1.1/src/samples/images-page3.json b/openstack-compute-api-2/src/samples/images-page3.json
similarity index 67%
rename from openstack-compute-api-1.1/src/samples/images-page3.json
rename to openstack-compute-api-2/src/samples/images-page3.json
index 0ac7327..0c9b6b9 100644
--- a/openstack-compute-api-1.1/src/samples/images-page3.json
+++ b/openstack-compute-api-2/src/samples/images-page3.json
@@ -6,7 +6,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6ff7c475"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6ff7c475"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/images-page3.xml b/openstack-compute-api-2/src/samples/images-page3.xml
similarity index 72%
rename from openstack-compute-api-1.1/src/samples/images-page3.xml
rename to openstack-compute-api-2/src/samples/images-page3.xml
index 4464c8f..2793479 100644
--- a/openstack-compute-api-1.1/src/samples/images-page3.xml
+++ b/openstack-compute-api-2/src/samples/images-page3.xml
@@ -5,6 +5,6 @@
name="Backup 2">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6ff7c475"/>
diff --git a/openstack-compute-api-1.1/src/samples/images.json b/openstack-compute-api-2/src/samples/images.json
similarity index 89%
rename from openstack-compute-api-1.1/src/samples/images.json
rename to openstack-compute-api-2/src/samples/images.json
index cb96f9c..87906a4 100644
--- a/openstack-compute-api-1.1/src/samples/images.json
+++ b/openstack-compute-api-2/src/samples/images.json
@@ -15,7 +15,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
},
{
"rel": "bookmark",
@@ -39,7 +39,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"
},
{
"rel": "bookmark",
@@ -50,7 +50,7 @@
"links": [
{
"rel" : "self",
- "href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
+ "href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
},
{
"rel" : "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/images.xml b/openstack-compute-api-2/src/samples/images.xml
similarity index 81%
rename from openstack-compute-api-1.1/src/samples/images.xml
rename to openstack-compute-api-2/src/samples/images.xml
index 4b2a41b..2a277de 100644
--- a/openstack-compute-api-1.1/src/samples/images.xml
+++ b/openstack-compute-api-2/src/samples/images.xml
@@ -14,7 +14,7 @@
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -31,14 +31,14 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"/>
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
diff --git a/openstack-compute-api-1.1/src/samples/limits.json b/openstack-compute-api-2/src/samples/limits.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/limits.json
rename to openstack-compute-api-2/src/samples/limits.json
diff --git a/openstack-compute-api-1.1/src/samples/limits.xml b/openstack-compute-api-2/src/samples/limits.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/limits.xml
rename to openstack-compute-api-2/src/samples/limits.xml
diff --git a/openstack-compute-api-1.1/src/samples/limits2.json b/openstack-compute-api-2/src/samples/limits2.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/limits2.json
rename to openstack-compute-api-2/src/samples/limits2.json
diff --git a/openstack-compute-api-1.1/src/samples/limits2.xml b/openstack-compute-api-2/src/samples/limits2.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/limits2.xml
rename to openstack-compute-api-2/src/samples/limits2.xml
diff --git a/openstack-compute-api-1.1/src/samples/limits3.json b/openstack-compute-api-2/src/samples/limits3.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/limits3.json
rename to openstack-compute-api-2/src/samples/limits3.json
diff --git a/openstack-compute-api-1.1/src/samples/limits3.xml b/openstack-compute-api-2/src/samples/limits3.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/limits3.xml
rename to openstack-compute-api-2/src/samples/limits3.xml
diff --git a/openstack-compute-api-1.1/src/samples/limits4.json b/openstack-compute-api-2/src/samples/limits4.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/limits4.json
rename to openstack-compute-api-2/src/samples/limits4.json
diff --git a/openstack-compute-api-1.1/src/samples/limits4.xml b/openstack-compute-api-2/src/samples/limits4.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/limits4.xml
rename to openstack-compute-api-2/src/samples/limits4.xml
diff --git a/openstack-compute-api-1.1/src/samples/metadata-page1.json b/openstack-compute-api-2/src/samples/metadata-page1.json
similarity index 66%
rename from openstack-compute-api-1.1/src/samples/metadata-page1.json
rename to openstack-compute-api-2/src/samples/metadata-page1.json
index 55aa6b1..bd25ea5 100644
--- a/openstack-compute-api-1.1/src/samples/metadata-page1.json
+++ b/openstack-compute-api-2/src/samples/metadata-page1.json
@@ -7,7 +7,7 @@
"links" : [
{
"rel" : "next",
- "href" : "http://servers.api.openstack.org/v1.1/1234/servers/meta?limit=1&marker=Image%20Version"
+ "href" : "http://servers.api.openstack.org/v2/1234/servers/meta?limit=1&marker=Image%20Version"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/metadata-page1.xml b/openstack-compute-api-2/src/samples/metadata-page1.xml
similarity index 72%
rename from openstack-compute-api-1.1/src/samples/metadata-page1.xml
rename to openstack-compute-api-2/src/samples/metadata-page1.xml
index 401e7a8..55a9500 100644
--- a/openstack-compute-api-1.1/src/samples/metadata-page1.xml
+++ b/openstack-compute-api-2/src/samples/metadata-page1.xml
@@ -6,5 +6,5 @@
2.1
+ href="http://servers.api.openstack.org/v2/1234/servers/meta?limit=1&marker=Image%20Version"/>
diff --git a/openstack-compute-api-1.1/src/samples/metadata-update-req.json b/openstack-compute-api-2/src/samples/metadata-update-req.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/metadata-update-req.json
rename to openstack-compute-api-2/src/samples/metadata-update-req.json
diff --git a/openstack-compute-api-1.1/src/samples/metadata-update-req.xml b/openstack-compute-api-2/src/samples/metadata-update-req.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/metadata-update-req.xml
rename to openstack-compute-api-2/src/samples/metadata-update-req.xml
diff --git a/openstack-compute-api-1.1/src/samples/metadata-update-resp.json b/openstack-compute-api-2/src/samples/metadata-update-resp.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/metadata-update-resp.json
rename to openstack-compute-api-2/src/samples/metadata-update-resp.json
diff --git a/openstack-compute-api-1.1/src/samples/metadata-update-resp.xml b/openstack-compute-api-2/src/samples/metadata-update-resp.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/metadata-update-resp.xml
rename to openstack-compute-api-2/src/samples/metadata-update-resp.xml
diff --git a/openstack-compute-api-1.1/src/samples/metadata.json b/openstack-compute-api-2/src/samples/metadata.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/metadata.json
rename to openstack-compute-api-2/src/samples/metadata.json
diff --git a/openstack-compute-api-1.1/src/samples/metadata.xml b/openstack-compute-api-2/src/samples/metadata.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/metadata.xml
rename to openstack-compute-api-2/src/samples/metadata.xml
diff --git a/openstack-compute-api-1.1/src/samples/metadata_item.json b/openstack-compute-api-2/src/samples/metadata_item.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/metadata_item.json
rename to openstack-compute-api-2/src/samples/metadata_item.json
diff --git a/openstack-compute-api-1.1/src/samples/metadata_item.xml b/openstack-compute-api-2/src/samples/metadata_item.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/metadata_item.xml
rename to openstack-compute-api-2/src/samples/metadata_item.xml
diff --git a/openstack-compute-api-1.1/src/samples/notfound.json b/openstack-compute-api-2/src/samples/notfound.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/notfound.json
rename to openstack-compute-api-2/src/samples/notfound.json
diff --git a/openstack-compute-api-1.1/src/samples/notfound.xml b/openstack-compute-api-2/src/samples/notfound.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/notfound.xml
rename to openstack-compute-api-2/src/samples/notfound.xml
diff --git a/openstack-compute-api-1.1/src/samples/notimplemented.json b/openstack-compute-api-2/src/samples/notimplemented.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/notimplemented.json
rename to openstack-compute-api-2/src/samples/notimplemented.json
diff --git a/openstack-compute-api-1.1/src/samples/notimplemented.xml b/openstack-compute-api-2/src/samples/notimplemented.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/notimplemented.xml
rename to openstack-compute-api-2/src/samples/notimplemented.xml
diff --git a/openstack-compute-api-1.1/src/samples/overlimit.json b/openstack-compute-api-2/src/samples/overlimit.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/overlimit.json
rename to openstack-compute-api-2/src/samples/overlimit.json
diff --git a/openstack-compute-api-1.1/src/samples/overlimit.xml b/openstack-compute-api-2/src/samples/overlimit.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/overlimit.xml
rename to openstack-compute-api-2/src/samples/overlimit.xml
diff --git a/openstack-compute-api-1.1/src/samples/private.json b/openstack-compute-api-2/src/samples/private.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/private.json
rename to openstack-compute-api-2/src/samples/private.json
diff --git a/openstack-compute-api-1.1/src/samples/private.xml b/openstack-compute-api-2/src/samples/private.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/private.xml
rename to openstack-compute-api-2/src/samples/private.xml
diff --git a/openstack-compute-api-1.1/src/samples/public.json b/openstack-compute-api-2/src/samples/public.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/public.json
rename to openstack-compute-api-2/src/samples/public.json
diff --git a/openstack-compute-api-1.1/src/samples/public.xml b/openstack-compute-api-2/src/samples/public.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/public.xml
rename to openstack-compute-api-2/src/samples/public.xml
diff --git a/openstack-compute-api-1.1/src/samples/rax-extensions.json b/openstack-compute-api-2/src/samples/rax-extensions.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rax-extensions.json
rename to openstack-compute-api-2/src/samples/rax-extensions.json
diff --git a/openstack-compute-api-1.1/src/samples/rax-extensions.xml b/openstack-compute-api-2/src/samples/rax-extensions.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rax-extensions.xml
rename to openstack-compute-api-2/src/samples/rax-extensions.xml
diff --git a/openstack-compute-api-1.1/src/samples/reboot.json b/openstack-compute-api-2/src/samples/reboot.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/reboot.json
rename to openstack-compute-api-2/src/samples/reboot.json
diff --git a/openstack-compute-api-1.1/src/samples/reboot.xml b/openstack-compute-api-2/src/samples/reboot.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/reboot.xml
rename to openstack-compute-api-2/src/samples/reboot.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild-resp.json b/openstack-compute-api-2/src/samples/rebuild-resp.json
similarity index 86%
rename from openstack-compute-api-1.1/src/samples/rebuild-resp.json
rename to openstack-compute-api-2/src/samples/rebuild-resp.json
index de279f0..8348bd8 100644
--- a/openstack-compute-api-1.1/src/samples/rebuild-resp.json
+++ b/openstack-compute-api-2/src/samples/rebuild-resp.json
@@ -17,7 +17,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
},
{
"rel": "bookmark",
@@ -31,7 +31,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
},
{
"rel": "bookmark",
@@ -67,7 +67,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
},
{
"rel": "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/rebuild-resp.xml b/openstack-compute-api-2/src/samples/rebuild-resp.xml
similarity index 83%
rename from openstack-compute-api-1.1/src/samples/rebuild-resp.xml
rename to openstack-compute-api-2/src/samples/rebuild-resp.xml
index 71b27a9..d5d8b63 100644
--- a/openstack-compute-api-1.1/src/samples/rebuild-resp.xml
+++ b/openstack-compute-api-2/src/samples/rebuild-resp.xml
@@ -13,7 +13,7 @@
name="CentOS 5.2">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -22,7 +22,7 @@
name="256 MB Server">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
@@ -42,7 +42,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"/>
diff --git a/openstack-compute-api-1.1/src/samples/rebuild.json b/openstack-compute-api-2/src/samples/rebuild.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild.json
rename to openstack-compute-api-2/src/samples/rebuild.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild.xml b/openstack-compute-api-2/src/samples/rebuild.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild.xml
rename to openstack-compute-api-2/src/samples/rebuild.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_all.json b/openstack-compute-api-2/src/samples/rebuild_all.json
similarity index 87%
rename from openstack-compute-api-1.1/src/samples/rebuild_all.json
rename to openstack-compute-api-2/src/samples/rebuild_all.json
index ad37488..d23925a 100644
--- a/openstack-compute-api-1.1/src/samples/rebuild_all.json
+++ b/openstack-compute-api-2/src/samples/rebuild_all.json
@@ -1,6 +1,6 @@
{
"rebuild" : {
- "imageRef" : "https://servers.api.rackspacecloud.com/v1.1/32278/images/52415800-8b69-11e0-9b19-734f6f006e54",
+ "imageRef" : "https://servers.api.rackspacecloud.com/v2/32278/images/52415800-8b69-11e0-9b19-734f6f006e54",
"name" : "newName",
"adminPass" : "GFf1j9aP",
"accessIPv4" : "172.19.0.1",
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_all.xml b/openstack-compute-api-2/src/samples/rebuild_all.xml
similarity index 88%
rename from openstack-compute-api-1.1/src/samples/rebuild_all.xml
rename to openstack-compute-api-2/src/samples/rebuild_all.xml
index 75042e0..2ea6ccf 100644
--- a/openstack-compute-api-1.1/src/samples/rebuild_all.xml
+++ b/openstack-compute-api-2/src/samples/rebuild_all.xml
@@ -2,7 +2,7 @@
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_file_encoding.json b/openstack-compute-api-2/src/samples/rebuild_bad_file_encoding.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_file_encoding.json
rename to openstack-compute-api-2/src/samples/rebuild_bad_file_encoding.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_file_encoding.xml b/openstack-compute-api-2/src/samples/rebuild_bad_file_encoding.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_file_encoding.xml
rename to openstack-compute-api-2/src/samples/rebuild_bad_file_encoding.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_file_length.json b/openstack-compute-api-2/src/samples/rebuild_bad_file_length.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_file_length.json
rename to openstack-compute-api-2/src/samples/rebuild_bad_file_length.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_file_length.xml b/openstack-compute-api-2/src/samples/rebuild_bad_file_length.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_file_length.xml
rename to openstack-compute-api-2/src/samples/rebuild_bad_file_length.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_file_path.json b/openstack-compute-api-2/src/samples/rebuild_bad_file_path.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_file_path.json
rename to openstack-compute-api-2/src/samples/rebuild_bad_file_path.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_file_path.xml b/openstack-compute-api-2/src/samples/rebuild_bad_file_path.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_file_path.xml
rename to openstack-compute-api-2/src/samples/rebuild_bad_file_path.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_files.json b/openstack-compute-api-2/src/samples/rebuild_bad_files.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_files.json
rename to openstack-compute-api-2/src/samples/rebuild_bad_files.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_files.xml b/openstack-compute-api-2/src/samples/rebuild_bad_files.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_files.xml
rename to openstack-compute-api-2/src/samples/rebuild_bad_files.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_meta_key.json b/openstack-compute-api-2/src/samples/rebuild_bad_meta_key.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_meta_key.json
rename to openstack-compute-api-2/src/samples/rebuild_bad_meta_key.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_meta_key.xml b/openstack-compute-api-2/src/samples/rebuild_bad_meta_key.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_meta_key.xml
rename to openstack-compute-api-2/src/samples/rebuild_bad_meta_key.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_meta_value.json b/openstack-compute-api-2/src/samples/rebuild_bad_meta_value.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_meta_value.json
rename to openstack-compute-api-2/src/samples/rebuild_bad_meta_value.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_bad_meta_value.xml b/openstack-compute-api-2/src/samples/rebuild_bad_meta_value.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_bad_meta_value.xml
rename to openstack-compute-api-2/src/samples/rebuild_bad_meta_value.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_both.json b/openstack-compute-api-2/src/samples/rebuild_both.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_both.json
rename to openstack-compute-api-2/src/samples/rebuild_both.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_both.xml b/openstack-compute-api-2/src/samples/rebuild_both.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_both.xml
rename to openstack-compute-api-2/src/samples/rebuild_both.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_file.json b/openstack-compute-api-2/src/samples/rebuild_file.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_file.json
rename to openstack-compute-api-2/src/samples/rebuild_file.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_file.xml b/openstack-compute-api-2/src/samples/rebuild_file.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_file.xml
rename to openstack-compute-api-2/src/samples/rebuild_file.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_meta.json b/openstack-compute-api-2/src/samples/rebuild_meta.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_meta.json
rename to openstack-compute-api-2/src/samples/rebuild_meta.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_meta.xml b/openstack-compute-api-2/src/samples/rebuild_meta.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_meta.xml
rename to openstack-compute-api-2/src/samples/rebuild_meta.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_name.json b/openstack-compute-api-2/src/samples/rebuild_name.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_name.json
rename to openstack-compute-api-2/src/samples/rebuild_name.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_name.xml b/openstack-compute-api-2/src/samples/rebuild_name.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_name.xml
rename to openstack-compute-api-2/src/samples/rebuild_name.xml
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_pass.json b/openstack-compute-api-2/src/samples/rebuild_pass.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_pass.json
rename to openstack-compute-api-2/src/samples/rebuild_pass.json
diff --git a/openstack-compute-api-1.1/src/samples/rebuild_pass.xml b/openstack-compute-api-2/src/samples/rebuild_pass.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/rebuild_pass.xml
rename to openstack-compute-api-2/src/samples/rebuild_pass.xml
diff --git a/openstack-compute-api-1.1/src/samples/resize.json b/openstack-compute-api-2/src/samples/resize.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/resize.json
rename to openstack-compute-api-2/src/samples/resize.json
diff --git a/openstack-compute-api-1.1/src/samples/resize.xml b/openstack-compute-api-2/src/samples/resize.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/resize.xml
rename to openstack-compute-api-2/src/samples/resize.xml
diff --git a/openstack-compute-api-1.1/src/samples/resizeNotAllowed.json b/openstack-compute-api-2/src/samples/resizeNotAllowed.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/resizeNotAllowed.json
rename to openstack-compute-api-2/src/samples/resizeNotAllowed.json
diff --git a/openstack-compute-api-1.1/src/samples/resizeNotAllowed.xml b/openstack-compute-api-2/src/samples/resizeNotAllowed.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/resizeNotAllowed.xml
rename to openstack-compute-api-2/src/samples/resizeNotAllowed.xml
diff --git a/openstack-compute-api-1.1/src/samples/revertresize.json b/openstack-compute-api-2/src/samples/revertresize.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/revertresize.json
rename to openstack-compute-api-2/src/samples/revertresize.json
diff --git a/openstack-compute-api-1.1/src/samples/revertresize.xml b/openstack-compute-api-2/src/samples/revertresize.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/revertresize.xml
rename to openstack-compute-api-2/src/samples/revertresize.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-fault.json b/openstack-compute-api-2/src/samples/server-fault.json
similarity index 89%
rename from openstack-compute-api-1.1/src/samples/server-fault.json
rename to openstack-compute-api-2/src/samples/server-fault.json
index 12f1071..1d3b314 100644
--- a/openstack-compute-api-1.1/src/samples/server-fault.json
+++ b/openstack-compute-api-2/src/samples/server-fault.json
@@ -23,7 +23,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
},
{
"rel": "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/server-fault.xml b/openstack-compute-api-2/src/samples/server-fault.xml
similarity index 89%
rename from openstack-compute-api-1.1/src/samples/server-fault.xml
rename to openstack-compute-api-2/src/samples/server-fault.xml
index f503855..5cd3929 100644
--- a/openstack-compute-api-1.1/src/samples/server-fault.xml
+++ b/openstack-compute-api-2/src/samples/server-fault.xml
@@ -14,7 +14,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"/>
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-file-encoding.json b/openstack-compute-api-2/src/samples/server-post-req-bad-file-encoding.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-file-encoding.json
rename to openstack-compute-api-2/src/samples/server-post-req-bad-file-encoding.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-file-encoding.xml b/openstack-compute-api-2/src/samples/server-post-req-bad-file-encoding.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-file-encoding.xml
rename to openstack-compute-api-2/src/samples/server-post-req-bad-file-encoding.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-file-length.json b/openstack-compute-api-2/src/samples/server-post-req-bad-file-length.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-file-length.json
rename to openstack-compute-api-2/src/samples/server-post-req-bad-file-length.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-file-length.xml b/openstack-compute-api-2/src/samples/server-post-req-bad-file-length.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-file-length.xml
rename to openstack-compute-api-2/src/samples/server-post-req-bad-file-length.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-file-path.json b/openstack-compute-api-2/src/samples/server-post-req-bad-file-path.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-file-path.json
rename to openstack-compute-api-2/src/samples/server-post-req-bad-file-path.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-file-path.xml b/openstack-compute-api-2/src/samples/server-post-req-bad-file-path.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-file-path.xml
rename to openstack-compute-api-2/src/samples/server-post-req-bad-file-path.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-files.json b/openstack-compute-api-2/src/samples/server-post-req-bad-files.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-files.json
rename to openstack-compute-api-2/src/samples/server-post-req-bad-files.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-files.xml b/openstack-compute-api-2/src/samples/server-post-req-bad-files.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-files.xml
rename to openstack-compute-api-2/src/samples/server-post-req-bad-files.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-meta-key.json b/openstack-compute-api-2/src/samples/server-post-req-bad-meta-key.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-meta-key.json
rename to openstack-compute-api-2/src/samples/server-post-req-bad-meta-key.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-meta-key.xml b/openstack-compute-api-2/src/samples/server-post-req-bad-meta-key.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-meta-key.xml
rename to openstack-compute-api-2/src/samples/server-post-req-bad-meta-key.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-meta-value.json b/openstack-compute-api-2/src/samples/server-post-req-bad-meta-value.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-meta-value.json
rename to openstack-compute-api-2/src/samples/server-post-req-bad-meta-value.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-bad-meta-value.xml b/openstack-compute-api-2/src/samples/server-post-req-bad-meta-value.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-bad-meta-value.xml
rename to openstack-compute-api-2/src/samples/server-post-req-bad-meta-value.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-pip.json b/openstack-compute-api-2/src/samples/server-post-req-pip.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-pip.json
rename to openstack-compute-api-2/src/samples/server-post-req-pip.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-pip.xml b/openstack-compute-api-2/src/samples/server-post-req-pip.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-pip.xml
rename to openstack-compute-api-2/src/samples/server-post-req-pip.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-pip2.json b/openstack-compute-api-2/src/samples/server-post-req-pip2.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-pip2.json
rename to openstack-compute-api-2/src/samples/server-post-req-pip2.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-pip2.xml b/openstack-compute-api-2/src/samples/server-post-req-pip2.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-pip2.xml
rename to openstack-compute-api-2/src/samples/server-post-req-pip2.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-short.json b/openstack-compute-api-2/src/samples/server-post-req-short.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-short.json
rename to openstack-compute-api-2/src/samples/server-post-req-short.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req-short.xml b/openstack-compute-api-2/src/samples/server-post-req-short.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req-short.xml
rename to openstack-compute-api-2/src/samples/server-post-req-short.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req.json b/openstack-compute-api-2/src/samples/server-post-req.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req.json
rename to openstack-compute-api-2/src/samples/server-post-req.json
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req.xml b/openstack-compute-api-2/src/samples/server-post-req.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req.xml
rename to openstack-compute-api-2/src/samples/server-post-req.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-req2.xml b/openstack-compute-api-2/src/samples/server-post-req2.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-post-req2.xml
rename to openstack-compute-api-2/src/samples/server-post-req2.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-post-resp.json b/openstack-compute-api-2/src/samples/server-post-resp.json
similarity index 86%
rename from openstack-compute-api-1.1/src/samples/server-post-resp.json
rename to openstack-compute-api-2/src/samples/server-post-resp.json
index d302e6e..c9e167d 100644
--- a/openstack-compute-api-1.1/src/samples/server-post-resp.json
+++ b/openstack-compute-api-2/src/samples/server-post-resp.json
@@ -17,7 +17,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
},
{
"rel": "bookmark",
@@ -31,7 +31,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
},
{
"rel": "bookmark",
@@ -67,7 +67,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
},
{
"rel": "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/server-post-resp.xml b/openstack-compute-api-2/src/samples/server-post-resp.xml
similarity index 83%
rename from openstack-compute-api-1.1/src/samples/server-post-resp.xml
rename to openstack-compute-api-2/src/samples/server-post-resp.xml
index 0b169b2..debee7e 100644
--- a/openstack-compute-api-1.1/src/samples/server-post-resp.xml
+++ b/openstack-compute-api-2/src/samples/server-post-resp.xml
@@ -13,7 +13,7 @@
name="CentOS 5.2">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -22,7 +22,7 @@
name="256 MB Server">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
@@ -42,7 +42,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"/>
diff --git a/openstack-compute-api-1.1/src/samples/server-put-req-ad.json b/openstack-compute-api-2/src/samples/server-put-req-ad.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-put-req-ad.json
rename to openstack-compute-api-2/src/samples/server-put-req-ad.json
diff --git a/openstack-compute-api-1.1/src/samples/server-put-req-ad.xml b/openstack-compute-api-2/src/samples/server-put-req-ad.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-put-req-ad.xml
rename to openstack-compute-api-2/src/samples/server-put-req-ad.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-put-req.json b/openstack-compute-api-2/src/samples/server-put-req.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-put-req.json
rename to openstack-compute-api-2/src/samples/server-put-req.json
diff --git a/openstack-compute-api-1.1/src/samples/server-put-req.xml b/openstack-compute-api-2/src/samples/server-put-req.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-put-req.xml
rename to openstack-compute-api-2/src/samples/server-put-req.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-put-req2.xml b/openstack-compute-api-2/src/samples/server-put-req2.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/server-put-req2.xml
rename to openstack-compute-api-2/src/samples/server-put-req2.xml
diff --git a/openstack-compute-api-1.1/src/samples/server-put-resp-ad.json b/openstack-compute-api-2/src/samples/server-put-resp-ad.json
similarity index 86%
rename from openstack-compute-api-1.1/src/samples/server-put-resp-ad.json
rename to openstack-compute-api-2/src/samples/server-put-resp-ad.json
index 591151a..3f44871 100644
--- a/openstack-compute-api-1.1/src/samples/server-put-resp-ad.json
+++ b/openstack-compute-api-2/src/samples/server-put-resp-ad.json
@@ -17,7 +17,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
},
{
"rel": "bookmark",
@@ -31,7 +31,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
},
{
"rel": "bookmark",
@@ -67,7 +67,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
},
{
"rel": "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/server-put-resp-ad.xml b/openstack-compute-api-2/src/samples/server-put-resp-ad.xml
similarity index 83%
rename from openstack-compute-api-1.1/src/samples/server-put-resp-ad.xml
rename to openstack-compute-api-2/src/samples/server-put-resp-ad.xml
index eb02533..e9662e7 100644
--- a/openstack-compute-api-1.1/src/samples/server-put-resp-ad.xml
+++ b/openstack-compute-api-2/src/samples/server-put-resp-ad.xml
@@ -14,7 +14,7 @@
name="CentOS 5.2">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -23,7 +23,7 @@
name="256 MB Server">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
@@ -43,7 +43,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"/>
diff --git a/openstack-compute-api-1.1/src/samples/server-put-resp.json b/openstack-compute-api-2/src/samples/server-put-resp.json
similarity index 86%
rename from openstack-compute-api-1.1/src/samples/server-put-resp.json
rename to openstack-compute-api-2/src/samples/server-put-resp.json
index f0e66c5..86bb337 100644
--- a/openstack-compute-api-1.1/src/samples/server-put-resp.json
+++ b/openstack-compute-api-2/src/samples/server-put-resp.json
@@ -17,7 +17,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
},
{
"rel": "bookmark",
@@ -31,7 +31,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
},
{
"rel": "bookmark",
@@ -67,7 +67,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
},
{
"rel": "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/server-put-resp.xml b/openstack-compute-api-2/src/samples/server-put-resp.xml
similarity index 83%
rename from openstack-compute-api-1.1/src/samples/server-put-resp.xml
rename to openstack-compute-api-2/src/samples/server-put-resp.xml
index 2e13863..52633e4 100644
--- a/openstack-compute-api-1.1/src/samples/server-put-resp.xml
+++ b/openstack-compute-api-2/src/samples/server-put-resp.xml
@@ -14,7 +14,7 @@
name="CentOS 5.2">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -23,7 +23,7 @@
name="256 MB Server">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
@@ -43,7 +43,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"/>
diff --git a/openstack-compute-api-1.1/src/samples/server-simple.json b/openstack-compute-api-2/src/samples/server-simple.json
similarity index 76%
rename from openstack-compute-api-1.1/src/samples/server-simple.json
rename to openstack-compute-api-2/src/samples/server-simple.json
index f3300b8..4796515 100644
--- a/openstack-compute-api-1.1/src/samples/server-simple.json
+++ b/openstack-compute-api-2/src/samples/server-simple.json
@@ -5,7 +5,7 @@
"links": [
{
"rel" : "self",
- "href" : "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
+ "href" : "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"
},
{
"rel" : "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/server-simple.xml b/openstack-compute-api-2/src/samples/server-simple.xml
similarity index 78%
rename from openstack-compute-api-1.1/src/samples/server-simple.xml
rename to openstack-compute-api-2/src/samples/server-simple.xml
index c5d9365..336ca14 100644
--- a/openstack-compute-api-1.1/src/samples/server-simple.xml
+++ b/openstack-compute-api-2/src/samples/server-simple.xml
@@ -4,7 +4,7 @@
id="52415800-8b69-11e0-9b19-734fcece0043" name="my-server">
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734fcece0043"/>
diff --git a/openstack-compute-api-1.1/src/samples/server.json b/openstack-compute-api-2/src/samples/server.json
similarity index 87%
rename from openstack-compute-api-1.1/src/samples/server.json
rename to openstack-compute-api-2/src/samples/server.json
index 301ab97..53b8428 100644
--- a/openstack-compute-api-1.1/src/samples/server.json
+++ b/openstack-compute-api-2/src/samples/server.json
@@ -16,7 +16,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
},
{
"rel": "bookmark",
@@ -29,7 +29,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
},
{
"rel": "bookmark",
@@ -74,7 +74,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
},
{
"rel": "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/server.xml b/openstack-compute-api-2/src/samples/server.xml
similarity index 84%
rename from openstack-compute-api-1.1/src/samples/server.xml
rename to openstack-compute-api-2/src/samples/server.xml
index 0f953ce..ef7bf51 100644
--- a/openstack-compute-api-1.1/src/samples/server.xml
+++ b/openstack-compute-api-2/src/samples/server.xml
@@ -11,7 +11,7 @@
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -19,7 +19,7 @@
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
@@ -42,7 +42,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"/>
diff --git a/openstack-compute-api-1.1/src/samples/serverCap.json b/openstack-compute-api-2/src/samples/serverCap.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/serverCap.json
rename to openstack-compute-api-2/src/samples/serverCap.json
diff --git a/openstack-compute-api-1.1/src/samples/serverCap.xml b/openstack-compute-api-2/src/samples/serverCap.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/serverCap.xml
rename to openstack-compute-api-2/src/samples/serverCap.xml
diff --git a/openstack-compute-api-1.1/src/samples/servers-page1-sp.xml b/openstack-compute-api-2/src/samples/servers-page1-sp.xml
similarity index 71%
rename from openstack-compute-api-1.1/src/samples/servers-page1-sp.xml
rename to openstack-compute-api-2/src/samples/servers-page1-sp.xml
index bee9ea1..6c4e916 100644
--- a/openstack-compute-api-1.1/src/samples/servers-page1-sp.xml
+++ b/openstack-compute-api-2/src/samples/servers-page1-sp.xml
@@ -8,7 +8,7 @@
name="sample-server">
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
@@ -17,12 +17,12 @@
name="sample-server2">
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f1f1350e5"/>
+ href="http://servers.api.openstack.org/v2/1234/servers?limit=2&marker=52415800-8b69-11e0-9b19-734f1f1350e5"/>
diff --git a/openstack-compute-api-1.1/src/samples/servers-page1.json b/openstack-compute-api-2/src/samples/servers-page1.json
similarity index 90%
rename from openstack-compute-api-1.1/src/samples/servers-page1.json
rename to openstack-compute-api-2/src/samples/servers-page1.json
index 1f36cc8..f185c13 100644
--- a/openstack-compute-api-1.1/src/samples/servers-page1.json
+++ b/openstack-compute-api-2/src/samples/servers-page1.json
@@ -18,7 +18,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
},
{
"rel": "bookmark",
@@ -32,7 +32,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
},
{
"rel": "bookmark",
@@ -77,7 +77,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
},
{
"rel": "bookmark",
@@ -102,7 +102,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
},
{
"rel": "bookmark",
@@ -116,7 +116,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
},
{
"rel": "bookmark",
@@ -152,7 +152,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f1f1350e5"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f1f1350e5"
},
{
"rel": "bookmark",
@@ -164,7 +164,7 @@
"servers_links": [
{
"rel": "next",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers?limit=2&marker=52415800-8b69-11e0-9b19-734f1f1350e5"
+ "href": "http://servers.api.openstack.org/v2/1234/servers?limit=2&marker=52415800-8b69-11e0-9b19-734f1f1350e5"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/servers-page1.xml b/openstack-compute-api-2/src/samples/servers-page1.xml
similarity index 81%
rename from openstack-compute-api-1.1/src/samples/servers-page1.xml
rename to openstack-compute-api-2/src/samples/servers-page1.xml
index 237d1b6..23e5921 100644
--- a/openstack-compute-api-1.1/src/samples/servers-page1.xml
+++ b/openstack-compute-api-2/src/samples/servers-page1.xml
@@ -14,7 +14,7 @@
name="CentOS 5.2">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -23,7 +23,7 @@
name="512 MB Server">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
@@ -46,7 +46,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
@@ -65,7 +65,7 @@
name="My Server Backup">
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
@@ -74,7 +74,7 @@
name="512 MB Server">
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
@@ -94,12 +94,12 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f1f1350e5"/>
+ href="http://servers.api.openstack.org/v2/1234/servers?limit=2&marker=52415800-8b69-11e0-9b19-734f1f1350e5"/>
diff --git a/openstack-compute-api-1.1/src/samples/servers.json b/openstack-compute-api-2/src/samples/servers.json
similarity index 92%
rename from openstack-compute-api-1.1/src/samples/servers.json
rename to openstack-compute-api-2/src/samples/servers.json
index ddc9691..428638c 100644
--- a/openstack-compute-api-1.1/src/samples/servers.json
+++ b/openstack-compute-api-2/src/samples/servers.json
@@ -17,7 +17,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
},
{
"rel": "bookmark",
@@ -30,7 +30,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
},
{
"rel": "bookmark",
@@ -75,7 +75,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
},
{
"rel": "bookmark",
@@ -99,7 +99,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
+ "href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
},
{
"rel": "bookmark",
@@ -112,7 +112,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
+ "href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
},
{
"rel": "bookmark",
@@ -148,7 +148,7 @@
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f1f1350e5"
+ "href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f1f1350e5"
},
{
"rel": "bookmark",
diff --git a/openstack-compute-api-1.1/src/samples/servers.xml b/openstack-compute-api-2/src/samples/servers.xml
similarity index 83%
rename from openstack-compute-api-1.1/src/samples/servers.xml
rename to openstack-compute-api-2/src/samples/servers.xml
index 3b51b72..162c3b0 100644
--- a/openstack-compute-api-1.1/src/samples/servers.xml
+++ b/openstack-compute-api-2/src/samples/servers.xml
@@ -13,7 +13,7 @@
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
@@ -21,7 +21,7 @@
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
@@ -44,7 +44,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
@@ -61,7 +61,7 @@
+ href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
@@ -69,7 +69,7 @@
+ href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
@@ -89,7 +89,7 @@
+ href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f1f1350e5"/>
diff --git a/openstack-compute-api-1.1/src/samples/serviceNotAvailable.json b/openstack-compute-api-2/src/samples/serviceNotAvailable.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/serviceNotAvailable.json
rename to openstack-compute-api-2/src/samples/serviceNotAvailable.json
diff --git a/openstack-compute-api-1.1/src/samples/serviceNotAvailable.xml b/openstack-compute-api-2/src/samples/serviceNotAvailable.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/serviceNotAvailable.xml
rename to openstack-compute-api-2/src/samples/serviceNotAvailable.xml
diff --git a/openstack-compute-api-1.1/src/samples/unauth.json b/openstack-compute-api-2/src/samples/unauth.json
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/unauth.json
rename to openstack-compute-api-2/src/samples/unauth.json
diff --git a/openstack-compute-api-1.1/src/samples/unauth.xml b/openstack-compute-api-2/src/samples/unauth.xml
similarity index 100%
rename from openstack-compute-api-1.1/src/samples/unauth.xml
rename to openstack-compute-api-2/src/samples/unauth.xml
diff --git a/openstack-compute-api-1.1/src/samples/version-atom.xml b/openstack-compute-api-2/src/samples/version-atom.xml
similarity index 69%
rename from openstack-compute-api-1.1/src/samples/version-atom.xml
rename to openstack-compute-api-2/src/samples/version-atom.xml
index b798d2e..c168106 100644
--- a/openstack-compute-api-1.1/src/samples/version-atom.xml
+++ b/openstack-compute-api-2/src/samples/version-atom.xml
@@ -7,13 +7,13 @@
http://servers.api.openstack.org/v1.0/
- Version v1.1
+ Version v22011-01-21T11:33:21-06:00
+ href="http://docs.rackspacecloud.com/servers/api/v2/cs-devguide-20110125.pdf"/>
- Version v1.1 CURRENT (2011-01-21T11:33:21-06:00)
+ href="http://docs.rackspacecloud.com/servers/api/v2/application.wadl"/>
+ Version v2 CURRENT (2011-01-21T11:33:21-06:00)
diff --git a/openstack-compute-api-1.1/src/samples/version.json b/openstack-compute-api-2/src/samples/version.json
similarity index 70%
rename from openstack-compute-api-1.1/src/samples/version.json
rename to openstack-compute-api-2/src/samples/version.json
index b5c3637..5b060f8 100644
--- a/openstack-compute-api-1.1/src/samples/version.json
+++ b/openstack-compute-api-2/src/samples/version.json
@@ -1,32 +1,32 @@
{
"version" : {
- "id" : "v1.1",
+ "id" : "v2",
"status" : "CURRENT",
"updated" : "2011-01-21T11:33:21-06:00",
"links": [
{
"rel" : "self",
- "href" : "http://servers.api.openstack.org/v1.0/"
+ "href" : "http://servers.api.openstack.org/v2/"
},
{
"rel" : "describedby",
"type" : "application/pdf",
- "href" : "http://docs.rackspacecloud.com/servers/api/v1.1/cs-devguide-20110125.pdf"
+ "href" : "http://docs.rackspacecloud.com/servers/api/v2/cs-devguide-20110125.pdf"
},
{
"rel" : "describedby",
"type" : "application/vnd.sun.wadl+xml",
- "href" : "http://docs.rackspacecloud.com/servers/api/v1.1/application.wadl"
+ "href" : "http://docs.rackspacecloud.com/servers/api/v2/application.wadl"
}
],
"media-types": [
{
"base" : "application/xml",
- "type" : "application/vnd.openstack.compute+xml;version=1.1"
+ "type" : "application/vnd.openstack.compute.v2+xml"
},
{
"base" : "application/json",
- "type" : "application/vnd.openstack.compute+json;version=1.1"
+ "type" : "application/vnd.openstack.compute.v2+json"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/version.xml b/openstack-compute-api-2/src/samples/version.xml
similarity index 63%
rename from openstack-compute-api-1.1/src/samples/version.xml
rename to openstack-compute-api-2/src/samples/version.xml
index 400fcc8..fb71e65 100644
--- a/openstack-compute-api-1.1/src/samples/version.xml
+++ b/openstack-compute-api-2/src/samples/version.xml
@@ -1,23 +1,23 @@
+ id="v2" status="CURRENT" updated="2011-01-21T11:33:21-06:00">
+ type="application/vnd.openstack.compute.v2+xml"/>
+ type="application/vnd.openstack.compute.v2+json"/>
+ href="http://servers.api.openstack.org/v2/"/>
+ href="http://docs.rackspacecloud.com/servers/api/v2/cs-devguide-20110125.pdf" />
+ href="http://docs.rackspacecloud.com/servers/api/v2/application.wadl" />
diff --git a/openstack-compute-api-1.1/src/samples/version2.json b/openstack-compute-api-2/src/samples/version2.json
similarity index 85%
rename from openstack-compute-api-1.1/src/samples/version2.json
rename to openstack-compute-api-2/src/samples/version2.json
index 7dce57b..886aad6 100644
--- a/openstack-compute-api-1.1/src/samples/version2.json
+++ b/openstack-compute-api-2/src/samples/version2.json
@@ -1,18 +1,18 @@
{
"version" : {
- "id" : "v1.1",
+ "id" : "v2",
"status" : "ALPHA",
"updated" : "2011-01-21T11:33:21-06:00",
"links": [
{
"rel" : "describedby",
"type" : "application/pdf",
- "href" : "http://docs.rackspacecloud.com/servers/api/v1.1/cs-devguide-20110125.pdf"
+ "href" : "http://docs.rackspacecloud.com/servers/api/v2/cs-devguide-20110125.pdf"
},
{
"rel" : "describedby",
"type" : "application/vnd.sun.wadl+xml",
- "href" : "http://docs.rackspacecloud.com/servers/api/v1.1/application.wadl"
+ "href" : "http://docs.rackspacecloud.com/servers/api/v2/application.wadl"
}
]
}
diff --git a/openstack-compute-api-2/src/samples/version2.xml b/openstack-compute-api-2/src/samples/version2.xml
new file mode 100644
index 0000000..41e2616
--- /dev/null
+++ b/openstack-compute-api-2/src/samples/version2.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/openstack-compute-api-1.1/src/samples/version3.json b/openstack-compute-api-2/src/samples/version3.json
similarity index 81%
rename from openstack-compute-api-1.1/src/samples/version3.json
rename to openstack-compute-api-2/src/samples/version3.json
index 111a02c..0d54d13 100644
--- a/openstack-compute-api-1.1/src/samples/version3.json
+++ b/openstack-compute-api-2/src/samples/version3.json
@@ -1,6 +1,6 @@
{
"version" : {
- "id" : "v1.1",
+ "id" : "v2",
"status" : "ALPHA",
"updated" : "2011-01-21T11:33:21-06:00"
}
diff --git a/openstack-compute-api-1.1/src/samples/version3.xml b/openstack-compute-api-2/src/samples/version3.xml
similarity index 50%
rename from openstack-compute-api-1.1/src/samples/version3.xml
rename to openstack-compute-api-2/src/samples/version3.xml
index fa598ff..3526777 100644
--- a/openstack-compute-api-1.1/src/samples/version3.xml
+++ b/openstack-compute-api-2/src/samples/version3.xml
@@ -1,2 +1,2 @@
-
+
diff --git a/openstack-compute-api-1.1/src/samples/version4.json b/openstack-compute-api-2/src/samples/version4.json
similarity index 70%
rename from openstack-compute-api-1.1/src/samples/version4.json
rename to openstack-compute-api-2/src/samples/version4.json
index 04aaf12..9930025 100644
--- a/openstack-compute-api-1.1/src/samples/version4.json
+++ b/openstack-compute-api-2/src/samples/version4.json
@@ -1,6 +1,6 @@
{
"version" : {
- "id" : "v1.1",
+ "id" : "v2",
"status" : "ALPHA"
}
}
diff --git a/openstack-compute-api-1.1/src/samples/version4.xml b/openstack-compute-api-2/src/samples/version4.xml
similarity index 62%
rename from openstack-compute-api-1.1/src/samples/version4.xml
rename to openstack-compute-api-2/src/samples/version4.xml
index 2aeeb39..94efbeb 100644
--- a/openstack-compute-api-1.1/src/samples/version4.xml
+++ b/openstack-compute-api-2/src/samples/version4.xml
@@ -1,2 +1,2 @@
-
+
diff --git a/openstack-compute-api-1.1/src/samples/version5.json b/openstack-compute-api-2/src/samples/version5.json
similarity index 63%
rename from openstack-compute-api-1.1/src/samples/version5.json
rename to openstack-compute-api-2/src/samples/version5.json
index cf0162d..35d452c 100644
--- a/openstack-compute-api-1.1/src/samples/version5.json
+++ b/openstack-compute-api-2/src/samples/version5.json
@@ -1,16 +1,16 @@
{
"version" : {
- "id" : "v1.1",
+ "id" : "v2",
"status" : "ALPHA",
"updated" : "2011-01-21T11:33:21-06:00",
"media-types": [
{
"base" : "application/xml",
- "type" : "application/vnd.openstack/server-v1.1+xml"
+ "type" : "application/vnd.openstack/server-v2+xml"
},
{
"base" : "application/json",
- "type" : "application/vnd.openstack/server-v1.1+json"
+ "type" : "application/vnd.openstack/server-v2+json"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/version5.xml b/openstack-compute-api-2/src/samples/version5.xml
similarity index 63%
rename from openstack-compute-api-1.1/src/samples/version5.xml
rename to openstack-compute-api-2/src/samples/version5.xml
index 08ed3a5..97fefbe 100644
--- a/openstack-compute-api-1.1/src/samples/version5.xml
+++ b/openstack-compute-api-2/src/samples/version5.xml
@@ -1,9 +1,9 @@
-
+
-
-
+
+
diff --git a/openstack-compute-api-1.1/src/samples/version_bad_link.xml b/openstack-compute-api-2/src/samples/version_bad_link.xml
similarity index 55%
rename from openstack-compute-api-1.1/src/samples/version_bad_link.xml
rename to openstack-compute-api-2/src/samples/version_bad_link.xml
index a508712..9a65872 100644
--- a/openstack-compute-api-1.1/src/samples/version_bad_link.xml
+++ b/openstack-compute-api-2/src/samples/version_bad_link.xml
@@ -1,10 +1,10 @@
-
+
-
-
+
+
-
+
diff --git a/openstack-compute-api-1.1/src/samples/versions-atom.xml b/openstack-compute-api-2/src/samples/versions-atom.xml
similarity index 81%
rename from openstack-compute-api-1.1/src/samples/versions-atom.xml
rename to openstack-compute-api-2/src/samples/versions-atom.xml
index b3f23b0..ef701c9 100644
--- a/openstack-compute-api-1.1/src/samples/versions-atom.xml
+++ b/openstack-compute-api-2/src/samples/versions-atom.xml
@@ -6,11 +6,11 @@
Rackspacehttp://www.rackspace.com/
- http://servers.api.openstack.org/v1.1/
- Version v1.1
+ http://servers.api.openstack.org/v2/
+ Version v22010-12-12T18:30:02.25Z
-
- Version v1.1 CURRENT (2010-12-12T18:30:02.25Z)
+
+ Version v2 CURRENT (2010-12-12T18:30:02.25Z)http://servers.api.openstack.org/v1.0/
diff --git a/openstack-compute-api-1.1/src/samples/versions.json b/openstack-compute-api-2/src/samples/versions.json
similarity index 85%
rename from openstack-compute-api-1.1/src/samples/versions.json
rename to openstack-compute-api-2/src/samples/versions.json
index 8fe1308..1d33ced 100644
--- a/openstack-compute-api-1.1/src/samples/versions.json
+++ b/openstack-compute-api-2/src/samples/versions.json
@@ -12,13 +12,13 @@
]
},
{
- "id": "v1.1",
+ "id": "v2",
"status": "CURRENT",
"updated": "2010-12-12T18:30:02.25Z",
"links": [
{
"rel": "self",
- "href": "http://servers.api.openstack.org/v1.1/"
+ "href": "http://servers.api.openstack.org/v2/"
}
]
}
diff --git a/openstack-compute-api-1.1/src/samples/versions.xml b/openstack-compute-api-2/src/samples/versions.xml
similarity index 81%
rename from openstack-compute-api-1.1/src/samples/versions.xml
rename to openstack-compute-api-2/src/samples/versions.xml
index 90da372..bf407cd 100644
--- a/openstack-compute-api-1.1/src/samples/versions.xml
+++ b/openstack-compute-api-2/src/samples/versions.xml
@@ -9,10 +9,10 @@
href="http://servers.api.openstack.org/v1.0/"/>
-
+ href="http://servers.api.openstack.org/v2/"/>
diff --git a/openstack-compute-api-1.1/src/samples/versions_bad_link.xml b/openstack-compute-api-2/src/samples/versions_bad_link.xml
similarity index 83%
rename from openstack-compute-api-1.1/src/samples/versions_bad_link.xml
rename to openstack-compute-api-2/src/samples/versions_bad_link.xml
index 8352920..39f501f 100644
--- a/openstack-compute-api-1.1/src/samples/versions_bad_link.xml
+++ b/openstack-compute-api-2/src/samples/versions_bad_link.xml
@@ -9,13 +9,13 @@
-
+
-
-
+
+
-
+
@@ -28,13 +28,13 @@
-
+
-
-
-
+
+
+
-
+
diff --git a/openstack-compute-api-1.1/src/style/schema.css b/openstack-compute-api-2/src/style/schema.css
similarity index 100%
rename from openstack-compute-api-1.1/src/style/schema.css
rename to openstack-compute-api-2/src/style/schema.css
diff --git a/openstack-compute-api-1.1/src/style/shjs/sh_acid.css b/openstack-compute-api-2/src/style/shjs/sh_acid.css
similarity index 100%
rename from openstack-compute-api-1.1/src/style/shjs/sh_acid.css
rename to openstack-compute-api-2/src/style/shjs/sh_acid.css
diff --git a/openstack-compute-api-1.1/src/style/shjs/sh_darkblue.css b/openstack-compute-api-2/src/style/shjs/sh_darkblue.css
similarity index 100%
rename from openstack-compute-api-1.1/src/style/shjs/sh_darkblue.css
rename to openstack-compute-api-2/src/style/shjs/sh_darkblue.css
diff --git a/openstack-compute-api-1.1/src/style/shjs/sh_emacs.css b/openstack-compute-api-2/src/style/shjs/sh_emacs.css
similarity index 100%
rename from openstack-compute-api-1.1/src/style/shjs/sh_emacs.css
rename to openstack-compute-api-2/src/style/shjs/sh_emacs.css
diff --git a/openstack-compute-api-1.1/src/style/shjs/sh_night.css b/openstack-compute-api-2/src/style/shjs/sh_night.css
similarity index 100%
rename from openstack-compute-api-1.1/src/style/shjs/sh_night.css
rename to openstack-compute-api-2/src/style/shjs/sh_night.css
diff --git a/openstack-compute-api-1.1/src/style/shjs/sh_pablo.css b/openstack-compute-api-2/src/style/shjs/sh_pablo.css
similarity index 100%
rename from openstack-compute-api-1.1/src/style/shjs/sh_pablo.css
rename to openstack-compute-api-2/src/style/shjs/sh_pablo.css
diff --git a/openstack-compute-api-1.1/src/style/shjs/sh_print.css b/openstack-compute-api-2/src/style/shjs/sh_print.css
similarity index 100%
rename from openstack-compute-api-1.1/src/style/shjs/sh_print.css
rename to openstack-compute-api-2/src/style/shjs/sh_print.css
diff --git a/openstack-compute-api-1.1/src/style/shjs/sh_style.css b/openstack-compute-api-2/src/style/shjs/sh_style.css
similarity index 100%
rename from openstack-compute-api-1.1/src/style/shjs/sh_style.css
rename to openstack-compute-api-2/src/style/shjs/sh_style.css
diff --git a/openstack-compute-api-1.1/src/style/shjs/sh_whitengrey.css b/openstack-compute-api-2/src/style/shjs/sh_whitengrey.css
similarity index 100%
rename from openstack-compute-api-1.1/src/style/shjs/sh_whitengrey.css
rename to openstack-compute-api-2/src/style/shjs/sh_whitengrey.css
diff --git a/openstack-compute-api-1.1/src/xsd/.htaccess b/openstack-compute-api-2/src/xsd/.htaccess
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/.htaccess
rename to openstack-compute-api-2/src/xsd/.htaccess
diff --git a/openstack-compute-api-1.1/src/xsd/actions.xsd b/openstack-compute-api-2/src/xsd/actions.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/actions.xsd
rename to openstack-compute-api-2/src/xsd/actions.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/affinity-id.xjb b/openstack-compute-api-2/src/xsd/affinity-id.xjb
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/affinity-id.xjb
rename to openstack-compute-api-2/src/xsd/affinity-id.xjb
diff --git a/openstack-compute-api-1.1/src/xsd/affinity-id.xsd b/openstack-compute-api-2/src/xsd/affinity-id.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/affinity-id.xsd
rename to openstack-compute-api-2/src/xsd/affinity-id.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/api-common.xjb b/openstack-compute-api-2/src/xsd/api-common.xjb
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/api-common.xjb
rename to openstack-compute-api-2/src/xsd/api-common.xjb
diff --git a/openstack-compute-api-1.1/src/xsd/api-common.xsd b/openstack-compute-api-2/src/xsd/api-common.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/api-common.xsd
rename to openstack-compute-api-2/src/xsd/api-common.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/api.xjb b/openstack-compute-api-2/src/xsd/api.xjb
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/api.xjb
rename to openstack-compute-api-2/src/xsd/api.xjb
diff --git a/openstack-compute-api-1.1/src/xsd/api.xsd b/openstack-compute-api-2/src/xsd/api.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/api.xsd
rename to openstack-compute-api-2/src/xsd/api.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/atom.xjb b/openstack-compute-api-2/src/xsd/atom.xjb
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/atom.xjb
rename to openstack-compute-api-2/src/xsd/atom.xjb
diff --git a/openstack-compute-api-1.1/src/xsd/atom/atom.xsd b/openstack-compute-api-2/src/xsd/atom/atom.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/atom/atom.xsd
rename to openstack-compute-api-2/src/xsd/atom/atom.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/atom/xml.xsd b/openstack-compute-api-2/src/xsd/atom/xml.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/atom/xml.xsd
rename to openstack-compute-api-2/src/xsd/atom/xml.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/backup.xsd b/openstack-compute-api-2/src/xsd/backup.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/backup.xsd
rename to openstack-compute-api-2/src/xsd/backup.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/common.xsd b/openstack-compute-api-2/src/xsd/common.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/common.xsd
rename to openstack-compute-api-2/src/xsd/common.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/ext/rax-dme/api.xsd b/openstack-compute-api-2/src/xsd/ext/rax-dme/api.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/ext/rax-dme/api.xsd
rename to openstack-compute-api-2/src/xsd/ext/rax-dme/api.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/ext/rax-dme/rax-dme.xsd b/openstack-compute-api-2/src/xsd/ext/rax-dme/rax-dme.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/ext/rax-dme/rax-dme.xsd
rename to openstack-compute-api-2/src/xsd/ext/rax-dme/rax-dme.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/extensions.xsd b/openstack-compute-api-2/src/xsd/extensions.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/extensions.xsd
rename to openstack-compute-api-2/src/xsd/extensions.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/faults.xsd b/openstack-compute-api-2/src/xsd/faults.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/faults.xsd
rename to openstack-compute-api-2/src/xsd/faults.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/flavor.xsd b/openstack-compute-api-2/src/xsd/flavor.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/flavor.xsd
rename to openstack-compute-api-2/src/xsd/flavor.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/image.xsd b/openstack-compute-api-2/src/xsd/image.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/image.xsd
rename to openstack-compute-api-2/src/xsd/image.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/ipgroup.xsd b/openstack-compute-api-2/src/xsd/ipgroup.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/ipgroup.xsd
rename to openstack-compute-api-2/src/xsd/ipgroup.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/limits.xsd b/openstack-compute-api-2/src/xsd/limits.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/limits.xsd
rename to openstack-compute-api-2/src/xsd/limits.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/metadata.xsd b/openstack-compute-api-2/src/xsd/metadata.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/metadata.xsd
rename to openstack-compute-api-2/src/xsd/metadata.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/server.xsd b/openstack-compute-api-2/src/xsd/server.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/server.xsd
rename to openstack-compute-api-2/src/xsd/server.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/shareip.xjb b/openstack-compute-api-2/src/xsd/shareip.xjb
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/shareip.xjb
rename to openstack-compute-api-2/src/xsd/shareip.xjb
diff --git a/openstack-compute-api-1.1/src/xsd/shareip.xsd b/openstack-compute-api-2/src/xsd/shareip.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/shareip.xsd
rename to openstack-compute-api-2/src/xsd/shareip.xsd
diff --git a/openstack-compute-api-1.1/src/xsd/txt.htaccess b/openstack-compute-api-2/src/xsd/txt.htaccess
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/txt.htaccess
rename to openstack-compute-api-2/src/xsd/txt.htaccess
diff --git a/openstack-compute-api-1.1/src/xsd/version.xsd b/openstack-compute-api-2/src/xsd/version.xsd
similarity index 100%
rename from openstack-compute-api-1.1/src/xsd/version.xsd
rename to openstack-compute-api-2/src/xsd/version.xsd
diff --git a/openstack-compute-api-1.1/src/xslt/schema.xsl b/openstack-compute-api-2/src/xslt/schema.xsl
similarity index 100%
rename from openstack-compute-api-1.1/src/xslt/schema.xsl
rename to openstack-compute-api-2/src/xslt/schema.xsl