Change xml and json files that contain only text to *.txt files
Otherwise, this book fails the new validation gates Closes-Bug: #1270267 Change-Id: Ibbe16c8e4db64abb29c66c3b1a14cb90014d56a3 author: diane fleming
5
.gitignore
vendored
@ -1,4 +1,9 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
|
apidocs/.DS_Store
|
||||||
|
apidocs/src/.DS_Store
|
||||||
|
apidocs/src/samples/.DS_Store
|
||||||
|
apidocs/includewars.xml
|
||||||
|
apidocs/src/bookinfo.xml
|
||||||
|
|
||||||
# Testenvironment
|
# Testenvironment
|
||||||
.tox/
|
.tox/
|
||||||
|
0
apidocs/.gitignore
vendored
Normal file
@ -1,3 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<assembly>
|
<assembly>
|
||||||
<id>includewars</id>
|
<id>includewars</id>
|
||||||
<formats>
|
<formats>
|
||||||
@ -12,4 +13,4 @@
|
|||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
</assembly>
|
</assembly>
|
264
apidocs/pom.xml
@ -22,148 +22,148 @@
|
|||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.rackspace.cloud.api</groupId>
|
<groupId>com.rackspace.cloud.api</groupId>
|
||||||
<artifactId>clouddocs-maven-plugin</artifactId>
|
<artifactId>clouddocs-maven-plugin</artifactId>
|
||||||
<!-- this <version> relates only to the *plugin* used for document formatting -->
|
<!-- this <version> relates only to the *plugin* used for document formatting -->
|
||||||
<!-- the version of the *API* that is the subject of the document is indicated within each document -->
|
<!-- the version of the *API* that is the subject of the document is indicated within each document -->
|
||||||
<version>1.12.2</version>
|
<version>1.12.2</version>
|
||||||
<executions>
|
<executions>
|
||||||
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>cdb-devguide</id>
|
<id>cdb-devguide</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>generate-webhelp</goal>
|
<goal>generate-webhelp</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<security>reviewer</security>
|
<security>reviewer</security>
|
||||||
<sourceDirectory>src/resources</sourceDirectory>
|
<sourceDirectory>src</sourceDirectory>
|
||||||
<highlightSource>false</highlightSource>
|
<highlightSource>false</highlightSource>
|
||||||
<trimWadlUriCount>2</trimWadlUriCount>
|
<trimWadlUriCount>2</trimWadlUriCount>
|
||||||
<!-- this is the public-facing client developer guide formerly known as PublicAPISpec.xml -->
|
<!-- this is the public-facing client developer guide formerly known as PublicAPISpec.xml -->
|
||||||
<!-- this document that will be published as cdb-devguide-latest.pdf at http://docs.rackspacecloud.com/api/ -->
|
<!-- this document that will be published as cdb-devguide-latest.pdf at http://docs.rackspacecloud.com/api/ -->
|
||||||
<enableDisqus>1</enableDisqus>
|
<enableDisqus>1</enableDisqus>
|
||||||
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
|
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
|
||||||
<includes>cdb-devguide.xml</includes>
|
<includes>cdb-devguide.xml</includes>
|
||||||
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content</canonicalUrlBase>
|
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content</canonicalUrlBase>
|
||||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<socialIcons>1</socialIcons>
|
<socialIcons>1</socialIcons>
|
||||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||||
<branding>openstack</branding>
|
<branding>openstack</branding>
|
||||||
<!-- <failOnValidationError>false</failOnValidationError> -->
|
<!-- <failOnValidationError>false</failOnValidationError> -->
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Unpack the wadl normalization xslts -->
|
<!-- Unpack the wadl normalization xslts -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>unpack-shared-resources</id>
|
<id>unpack-shared-resources</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>unpack-dependencies</goal>
|
<goal>unpack-dependencies</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
|
<outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
|
||||||
<includeGroupIds>com.rackspace.cloud.api</includeGroupIds>
|
<includeGroupIds>com.rackspace.cloud.api</includeGroupIds>
|
||||||
<includeArtifactIds>wadl-tools</includeArtifactIds>
|
<includeArtifactIds>wadl-tools</includeArtifactIds>
|
||||||
<excludeTransitive>true</excludeTransitive>
|
<excludeTransitive>true</excludeTransitive>
|
||||||
<includes>**/xsl/*.xsl</includes>
|
<includes>**/xsl/*.xsl</includes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Normalize the dbaas wadl -->
|
<!-- Normalize the dbaas wadl -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.5</version>
|
<version>1.5</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>ant</id>
|
<id>ant</id>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<copy todir="${project.build.directory}/generated-resources/normalized/api/v1.0">
|
<copy todir="${project.build.directory}/generated-resources/normalized/api/v1.0">
|
||||||
<fileset dir="src/resources">
|
<fileset dir="src">
|
||||||
<include name="xslts/**"/>
|
<include name="xslts/**"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
<fileset dir="src/resources">
|
<fileset dir="src">
|
||||||
<include name="samples/**"/>
|
<include name="samples/**"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<copy file="../xsd/dbaas.xsd" tofile="${project.build.directory}/generated-resources/normalized/api/v1.0/xsd/cdb.xsd"/>
|
<copy file="src/xsd/dbaas.xsd" tofile="${project.build.directory}/generated-resources/normalized/api/v1.0/xsd/cdb.xsd"/>
|
||||||
<copy file="../xsd/dbaas.xsd" tofile="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.xsd"/>
|
<copy file="src/xsd/dbaas.xsd" tofile="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.xsd"/>
|
||||||
<java
|
<java
|
||||||
jar="${net.sourceforge.saxon:saxon:jar}"
|
jar="${net.sourceforge.saxon:saxon:jar}"
|
||||||
fork="true">
|
fork="true">
|
||||||
<arg value="-u"/>
|
<arg value="-u"/>
|
||||||
<arg value="-s:../xsd/dbaas.wadl"/>
|
<arg value="-s:src/xsd/dbaas.wadl"/>
|
||||||
<arg value="-xsl:${project.build.directory}/generated-resources/xsl/normalizeWadl.xsl"/>
|
<arg value="-xsl:${project.build.directory}/generated-resources/xsl/normalizeWadl.xsl"/>
|
||||||
<arg value="-o:${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"/>
|
<arg value="-o:${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"/>
|
||||||
<arg value="flattenXsds=false"/>
|
<arg value="flattenXsds=false"/>
|
||||||
</java>
|
</java>
|
||||||
<replaceregexp file="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"
|
<replaceregexp file="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"
|
||||||
match="file:/.*/xsd/dbaas.xsd"
|
match="file:/.*/src/xsd/dbaas.xsd"
|
||||||
replace="xsd/cdb.xsd"/>
|
replace="xsd/cdb.xsd"/>
|
||||||
<war destfile="${project.build.directory}/docbkx/webhelp/cdb-wadls.war" needxmlfile="false">
|
<war destfile="${project.build.directory}/docbkx/webhelp/cdb-wadls.war" needxmlfile="false">
|
||||||
<fileset dir="${project.build.directory}/generated-resources/normalized"/>
|
<fileset dir="${project.build.directory}/generated-resources/normalized"/>
|
||||||
</war>
|
</war>
|
||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<version>2.3</version>
|
<version>2.3</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>includewars.xml</descriptor>
|
<descriptor>includewars.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>assembly</id>
|
<id>assembly</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>single</goal>
|
<goal>single</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>Rackspace Research Repositories</id>
|
<id>Rackspace Research Repositories</id>
|
||||||
<activation>
|
<activation>
|
||||||
<activeByDefault>true</activeByDefault>
|
<activeByDefault>true</activeByDefault>
|
||||||
</activation>
|
</activation>
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>rackspace-research</id>
|
<id>rackspace-research</id>
|
||||||
<name>Rackspace Research Repository</name>
|
<name>Rackspace Research Repository</name>
|
||||||
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
|
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>rackspace-research</id>
|
<id>rackspace-research</id>
|
||||||
<name>Rackspace Research Repository</name>
|
<name>Rackspace Research Repository</name>
|
||||||
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
|
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
@ -36,8 +36,7 @@
|
|||||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml" xml:id="cdb-devguide"
|
||||||
xml:id="cdb-devguide"
|
|
||||||
version="5.0">
|
version="5.0">
|
||||||
|
|
||||||
<?rax title.font.size="35px" subtitle.font.size="20px"?>
|
<?rax title.font.size="35px" subtitle.font.size="20px"?>
|
||||||
@ -66,7 +65,8 @@
|
|||||||
<pubdate>2013-05-02</pubdate>
|
<pubdate>2013-05-02</pubdate>
|
||||||
<legalnotice role="apache2">
|
<legalnotice role="apache2">
|
||||||
<annotation>
|
<annotation>
|
||||||
<remark>Copyright details are filled in by the template.</remark>
|
<remark>Copyright details are filled in by the
|
||||||
|
template.</remark>
|
||||||
</annotation>
|
</annotation>
|
||||||
</legalnotice>
|
</legalnotice>
|
||||||
<abstract>
|
<abstract>
|
||||||
@ -90,17 +90,18 @@
|
|||||||
</revision>
|
</revision>
|
||||||
</revhistory>
|
</revhistory>
|
||||||
|
|
||||||
<cover>
|
<cover>
|
||||||
<para>this is a placeholder for the front cover</para>
|
<para>this is a placeholder for the front cover</para>
|
||||||
</cover>
|
</cover>
|
||||||
<cover>
|
<cover>
|
||||||
<para>this is a placeholder for the back cover</para>
|
<para>this is a placeholder for the back cover</para>
|
||||||
</cover>
|
</cover>
|
||||||
<raxm:metadata xmlns:raxm="http://docs.rackspace.com/api/metadata">
|
<raxm:metadata
|
||||||
<raxm:displayname>API Developer Guide</raxm:displayname>
|
xmlns:raxm="http://docs.rackspace.com/api/metadata">
|
||||||
<raxm:product version="v1.0">cdb</raxm:product>
|
<raxm:displayname>API Developer Guide</raxm:displayname>
|
||||||
<raxm:priority>20</raxm:priority>
|
<raxm:product version="v1.0">cdb</raxm:product>
|
||||||
</raxm:metadata>
|
<raxm:priority>20</raxm:priority>
|
||||||
|
</raxm:metadata>
|
||||||
</info>
|
</info>
|
||||||
<chapter xml:id="overview">
|
<chapter xml:id="overview">
|
||||||
<title>Overview</title>
|
<title>Overview</title>
|
||||||
@ -117,27 +118,27 @@
|
|||||||
>mysqldump</emphasis> until backups are supported
|
>mysqldump</emphasis> until backups are supported
|
||||||
in Cloud Databases.</para>
|
in Cloud Databases.</para>
|
||||||
</note>
|
</note>
|
||||||
<para>The following figure shows an
|
<para>The following figure shows an overview of Cloud
|
||||||
overview of Cloud Databases Infrastructure: <informalfigure>
|
Databases Infrastructure:</para>
|
||||||
<mediaobject>
|
<informalfigure>
|
||||||
<imageobject>
|
<mediaobject>
|
||||||
<imagedata
|
<imageobject>
|
||||||
fileref="images/Cloud_DB_Infographic-1.svg"
|
<imagedata
|
||||||
contentwidth="6in"/>
|
fileref="images/Cloud_DB_Infographic-1.svg"
|
||||||
</imageobject>
|
contentwidth="6in"/>
|
||||||
</mediaobject>
|
</imageobject>
|
||||||
</informalfigure>
|
</mediaobject>
|
||||||
</para>
|
</informalfigure>
|
||||||
<remark security="reviewer">Reviewer: need to edit graphic
|
<remark security="reviewer">Reviewer: need to edit graphic
|
||||||
above so it says "The Cloud" rather than "The Rackspace
|
above so it says "The Cloud" rather than "The Rackspace
|
||||||
Cloud".</remark>
|
Cloud".</remark>
|
||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
<section xml:id="Intended_Audience-d1e122">
|
<section xml:id="Intended_Audience-d1e122">
|
||||||
<title>Intended Audience</title>
|
<title>Intended Audience</title>
|
||||||
<para>This Guide is intended to assist software
|
<para>This Guide is intended to assist software developers
|
||||||
developers who want to develop applications using the
|
who want to develop applications using the Cloud
|
||||||
Cloud Databases API. It assumes the reader has a
|
Databases API. It assumes the reader has a general
|
||||||
general understanding of databases and is familiar
|
understanding of databases and is familiar
|
||||||
with:</para>
|
with:</para>
|
||||||
<itemizedlist spacing="compact">
|
<itemizedlist spacing="compact">
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -167,7 +168,8 @@
|
|||||||
xlink:href="http://docs.openstack.org/"
|
xlink:href="http://docs.openstack.org/"
|
||||||
>http://docs.openstack.org/</link>.</para>
|
>http://docs.openstack.org/</link>.</para>
|
||||||
<para>We welcome feedback, comments, and bug reports at
|
<para>We welcome feedback, comments, and bug reports at
|
||||||
<link xlink:href="https://bugs.launchpad.net/reddwarf"
|
<link
|
||||||
|
xlink:href="https://bugs.launchpad.net/reddwarf"
|
||||||
>https://bugs.launchpad.net/reddwarf</link>.</para>
|
>https://bugs.launchpad.net/reddwarf</link>.</para>
|
||||||
<para>This API uses standard HTTP 1.1 response codes as
|
<para>This API uses standard HTTP 1.1 response codes as
|
||||||
documented at: <link
|
documented at: <link
|
||||||
@ -230,19 +232,20 @@
|
|||||||
authentication system that allows seamless access between
|
authentication system that allows seamless access between
|
||||||
products and services.</para>
|
products and services.</para>
|
||||||
<note>
|
<note>
|
||||||
<para>All requests to authenticate against and operate the service are performed using
|
<para>All requests to authenticate against and operate the
|
||||||
SSL over HTTP (HTTPS) on TCP port 443.</para>
|
service are performed using SSL over HTTP (HTTPS) on
|
||||||
|
TCP port 443.</para>
|
||||||
</note>
|
</note>
|
||||||
<section xml:id="Authentication-d1e647">
|
<section xml:id="Authentication-d1e647">
|
||||||
<title>Authentication</title>
|
<title>Authentication</title>
|
||||||
<para>Each HTTP request against the Cloud Database
|
<para>Each HTTP request against the Cloud Database service
|
||||||
service requires the inclusion of specific
|
requires the inclusion of specific authentication
|
||||||
authentication credentials. A single deployment may
|
credentials. A single deployment may support multiple
|
||||||
support multiple authentication schemes (OAuth, Basic
|
authentication schemes (OAuth, Basic Auth, Token). The
|
||||||
Auth, Token). The authentication scheme used is
|
authentication scheme used is determined by the
|
||||||
determined by the provider of the Cloud Database
|
provider of the Cloud Database service. Please contact
|
||||||
service. Please contact your provider to determine the
|
your provider to determine the best way to
|
||||||
best way to authenticate against this API.</para>
|
authenticate against this API.</para>
|
||||||
<note>
|
<note>
|
||||||
<para>Some authentication schemes may require that the
|
<para>Some authentication schemes may require that the
|
||||||
API operate using SSL over HTTP (HTTPS).</para>
|
API operate using SSL over HTTP (HTTPS).</para>
|
||||||
@ -250,8 +253,8 @@
|
|||||||
</section>
|
</section>
|
||||||
<section xml:id="DB_service_versions">
|
<section xml:id="DB_service_versions">
|
||||||
<title>Cloud Databases Service Versions</title>
|
<title>Cloud Databases Service Versions</title>
|
||||||
<para>The Cloud Databases version defines the contract
|
<para>The Cloud Databases version defines the contract and
|
||||||
and build information for the API.</para>
|
build information for the API.</para>
|
||||||
<section xml:id="Contract_Version-d1e825">
|
<section xml:id="Contract_Version-d1e825">
|
||||||
<title>Contract Version</title>
|
<title>Contract Version</title>
|
||||||
<para>The contract version denotes the data model and
|
<para>The contract version denotes the data model and
|
||||||
@ -259,18 +262,17 @@
|
|||||||
contract version is included in all request URLs.
|
contract version is included in all request URLs.
|
||||||
Different contract versions of the API may be
|
Different contract versions of the API may be
|
||||||
available at any given time and are not guaranteed
|
available at any given time and are not guaranteed
|
||||||
to be compatible with one another.
|
to be compatible with one another.</para>
|
||||||
</para>
|
|
||||||
<example>
|
<example>
|
||||||
<title>Example Request URL (contract version
|
<title>Example Request URL (contract version in
|
||||||
in <emphasis role="strong"
|
<emphasis role="strong"
|
||||||
>bold</emphasis>)</title>
|
>bold</emphasis>)</title>
|
||||||
<programlisting>https://ord.databases.api.rackspacecloud.com/<emphasis role="strong">v1.0</emphasis>/1234</programlisting>
|
<programlisting>https://ord.databases.api.rackspacecloud.com/<emphasis role="strong">v1.0</emphasis>/1234</programlisting>
|
||||||
</example>
|
</example>
|
||||||
<note>
|
<note>
|
||||||
<para>This document pertains to contract
|
<para>This document pertains to contract version
|
||||||
version 1.0.</para>
|
1.0.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="API_Version_Headers-d1e855">
|
<section xml:id="API_Version_Headers-d1e855">
|
||||||
@ -284,24 +286,26 @@
|
|||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
<section xml:id="datetimeformat">
|
<section xml:id="datetimeformat">
|
||||||
<title>Date/Time Format</title>
|
<title>Date/Time Format</title>
|
||||||
<para>The Database Service uses an ISO-8601 compliant
|
<para>The Database Service uses an ISO-8601 compliant date
|
||||||
date format for the display and consumption of
|
format for the display and consumption of date/time
|
||||||
date/time values.</para>
|
values.</para>
|
||||||
<para>The system timezone is in UTC. MySQL converts TIMESTAMP values from
|
<para>The system timezone is in UTC. MySQL converts
|
||||||
the current time zone to UTC for storage, and back
|
TIMESTAMP values from the current time zone to UTC for
|
||||||
from UTC to the current time zone for retrieval.
|
storage, and back from UTC to the current time zone
|
||||||
This does not occur for other types, such as DATETIME.
|
for retrieval. This does not occur for other types,
|
||||||
</para>
|
such as DATETIME.</para>
|
||||||
<example>
|
<example>
|
||||||
<title>DB Service Date/Time Format</title>
|
<title>DB Service Date/Time Format</title>
|
||||||
<programlisting>yyyy-MM-dd'T'HH:mm:ss.SSSZ</programlisting>
|
<programlisting>yyyy-MM-dd'T'HH:mm:ss.SSSZ</programlisting>
|
||||||
<para>See the table below for a description of the date/time format codes.</para>
|
<para>See the table below for a description of the
|
||||||
<para>May 19th, 2011 at 8:07:08 AM, GMT-5 would have the following
|
date/time format codes.</para>
|
||||||
format:</para>
|
<para>May 19th, 2011 at 8:07:08 AM, GMT-5 would have
|
||||||
<programlisting>2011-05-19T08:07:08-05:00</programlisting>
|
the following format:</para>
|
||||||
</example>
|
<programlisting>2011-05-19T08:07:08-05:00</programlisting>
|
||||||
|
</example>
|
||||||
<table rules="all">
|
<table rules="all">
|
||||||
<caption>Explanation of Date/Time Format Codes</caption>
|
<caption>Explanation of Date/Time Format
|
||||||
|
Codes</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Code</td>
|
<td>Code</td>
|
||||||
@ -339,7 +343,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>SSS</td>
|
<td>SSS</td>
|
||||||
<td>Three digit milliseconds of the second</td>
|
<td>Three digit milliseconds of the
|
||||||
|
second</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Z</td>
|
<td>Z</td>
|
||||||
@ -359,8 +364,8 @@
|
|||||||
20. If a request supplies no limit or one that exceeds
|
20. If a request supplies no limit or one that exceeds
|
||||||
the configured default limit, the default is used
|
the configured default limit, the default is used
|
||||||
instead.</para>
|
instead.</para>
|
||||||
<para>Pagination provides the ability to limit the size
|
<para>Pagination provides the ability to limit the size of
|
||||||
of the returned data as well as retrieve a specified
|
the returned data as well as retrieve a specified
|
||||||
subset of a large data set. Pagination has two key
|
subset of a large data set. Pagination has two key
|
||||||
concepts: limit and marker. <emphasis>Limit</emphasis>
|
concepts: limit and marker. <emphasis>Limit</emphasis>
|
||||||
is the restriction on the maximum number of items for
|
is the restriction on the maximum number of items for
|
||||||
@ -400,7 +405,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="1">&GET;</td>
|
<td colspan="1">&GET;</td>
|
||||||
<td colspan="2"> /instances/{instanceId}/users</td>
|
<td colspan="2">
|
||||||
|
/instances/{instanceId}/users</td>
|
||||||
<td colspan="3">Lists the users in the
|
<td colspan="3">Lists the users in the
|
||||||
specified database instance.</td>
|
specified database instance.</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -417,21 +423,17 @@
|
|||||||
returned.</para>
|
returned.</para>
|
||||||
<para>See the examples of paged List Instances calls that
|
<para>See the examples of paged List Instances calls that
|
||||||
follow.</para>
|
follow.</para>
|
||||||
<remark security="reviewer">Reviewer: Need new examples that show OpenStack
|
<remark security="reviewer">Reviewer: Need new examples
|
||||||
host.</remark>
|
that show OpenStack host.</remark>
|
||||||
<example>
|
<example>
|
||||||
<title>List Instances Paged Request: XML</title>
|
<title>List Instances Paged Request: XML</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="xml">
|
<programlisting language="xml"><xi:include href="samples/db-instances-index-pagination-request-xml.txt" parse="text"/></programlisting>
|
||||||
<xi:include href="samples/db-instances-index-pagination-request.xml" parse="text"/>
|
|
||||||
</programlisting>
|
|
||||||
</example>
|
</example>
|
||||||
<example>
|
<example>
|
||||||
<title>List Instances Paged Request: JSON</title>
|
<title>List Instances Paged Request: JSON</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="json">
|
<programlisting language="json"><xi:include href="samples/db-instances-index-pagination-request-json.txt" parse="text"/></programlisting>
|
||||||
<xi:include href="samples/db-instances-index-pagination-request.json" parse="text"/>
|
|
||||||
</programlisting>
|
|
||||||
</example>
|
</example>
|
||||||
<para>Notice that the paged request examples above set the
|
<para>Notice that the paged request examples above set the
|
||||||
limit to 2 (<code>?limit=2</code>), so the responses
|
limit to 2 (<code>?limit=2</code>), so the responses
|
||||||
@ -446,27 +448,35 @@
|
|||||||
<example>
|
<example>
|
||||||
<title>List Instances Paged Response: XML</title>
|
<title>List Instances Paged Response: XML</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="xml">
|
<literallayout>HTTP/1.1 200 OK
|
||||||
<xi:include href="samples/db-instances-index-pagination-response.xml" parse="text"/>
|
Content-Type: application/xml
|
||||||
</programlisting>
|
Via: 1.1 Repose (Repose/2.6.7)
|
||||||
|
Content-Length: 1538
|
||||||
|
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||||
|
Server: Jetty(8.0.y.z-SNAPSHOT)</literallayout>
|
||||||
|
<programlisting language="xml"><xi:include href="samples/db-instances-index-pagination-response.xml" parse="text"/></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<example>
|
<example>
|
||||||
<title>List Instances Paged Response: JSON</title>
|
<title>List Instances Paged Response: JSON</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="json">
|
<literallayout>HTTP/1.1 200 OK
|
||||||
<xi:include href="samples/db-instances-index-pagination-response.json" parse="text"/>
|
Content-Type: application/json
|
||||||
</programlisting>
|
Via: 1.1 Repose (Repose/2.6.7)
|
||||||
|
Content-Length: 1172
|
||||||
|
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||||
|
Server: Jetty(8.0.y.z-SNAPSHOT)</literallayout>
|
||||||
|
<programlisting language="json"><xi:include href="samples/db-instances-index-pagination-response.json" parse="text"/></programlisting>
|
||||||
</example>
|
</example>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="DB_faults">
|
<section xml:id="DB_faults">
|
||||||
<title>Faults</title>
|
<title>Faults</title>
|
||||||
<para>When an error occurs, the Database Service returns
|
<para>When an error occurs, the Database Service returns a
|
||||||
a fault object containing an HTTP error response code
|
fault object containing an HTTP error response code
|
||||||
that denotes the type of error. In the body of the
|
that denotes the type of error. In the body of the
|
||||||
response, the system will return additional
|
response, the system will return additional
|
||||||
information about the fault.</para>
|
information about the fault.</para>
|
||||||
<para>The following table lists possible fault types with their associated error codes
|
<para>The following table lists possible fault types with
|
||||||
and descriptions.</para>
|
their associated error codes and descriptions.</para>
|
||||||
<informaltable rules="all">
|
<informaltable rules="all">
|
||||||
<thead>
|
<thead>
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
@ -479,12 +489,15 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"><code>badRequest</code></td>
|
<td colspan="2"><code>badRequest</code></td>
|
||||||
<td colspan="1">400</td>
|
<td colspan="1">400</td>
|
||||||
<td colspan="3">There was one or more errors in the user request.</td>
|
<td colspan="3">There was one or more errors
|
||||||
|
in the user request.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"><code>unauthorized</code></td>
|
<td colspan="2"><code>unauthorized</code></td>
|
||||||
<td colspan="1">401</td>
|
<td colspan="1">401</td>
|
||||||
<td colspan="3">The supplied token is not authorized to access the resources, either it's expired or invalid.</td>
|
<td colspan="3">The supplied token is not
|
||||||
|
authorized to access the resources, either
|
||||||
|
it's expired or invalid.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"><code>forbidden</code></td>
|
<td colspan="2"><code>forbidden</code></td>
|
||||||
@ -502,20 +515,25 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"><code>badMethod</code></td>
|
<td colspan="2"><code>badMethod</code></td>
|
||||||
<td colspan="1">405</td>
|
<td colspan="1">405</td>
|
||||||
<td colspan="3">The request method is not allowed for this resource.</td>
|
<td colspan="3">The request method is not
|
||||||
|
allowed for this resource.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"><code>overLimit</code></td>
|
<td colspan="2"><code>overLimit</code></td>
|
||||||
<td colspan="1">413</td>
|
<td colspan="1">413</td>
|
||||||
<td colspan="3">Either the number of entities in the request is larger than
|
<td colspan="3">Either the number of entities
|
||||||
allowed limits, or the user has exceeded allowable request rate limits.
|
in the request is larger than allowed
|
||||||
See the <code>details</code> element for more specifics. Contact support
|
limits, or the user has exceeded allowable
|
||||||
if you think you need higher request rate limits.</td>
|
request rate limits. See the
|
||||||
|
<code>details</code> element for more
|
||||||
|
specifics. Contact support if you think
|
||||||
|
you need higher request rate limits.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"><code>badMediaType</code></td>
|
<td colspan="2"><code>badMediaType</code></td>
|
||||||
<td colspan="1">415</td>
|
<td colspan="1">415</td>
|
||||||
<td colspan="3">The requested content type is not supported by this service.</td>
|
<td colspan="3">The requested content type is
|
||||||
|
not supported by this service.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"
|
<td colspan="2"
|
||||||
@ -528,13 +546,17 @@
|
|||||||
<td colspan="2"
|
<td colspan="2"
|
||||||
><code>instanceFault</code></td>
|
><code>instanceFault</code></td>
|
||||||
<td colspan="1">500</td>
|
<td colspan="1">500</td>
|
||||||
<td colspan="3">This is a generic server error and the message contains the reason for the error. This error could wrap several error messages and is a catch all.</td>
|
<td colspan="3">This is a generic server error
|
||||||
|
and the message contains the reason for
|
||||||
|
the error. This error could wrap several
|
||||||
|
error messages and is a catch all.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"
|
<td colspan="2"
|
||||||
><code>notImplemented</code></td>
|
><code>notImplemented</code></td>
|
||||||
<td colspan="1">501</td>
|
<td colspan="1">501</td>
|
||||||
<td colspan="3">The requested method or resource is not implemented.</td>
|
<td colspan="3">The requested method or
|
||||||
|
resource is not implemented.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"
|
<td colspan="2"
|
||||||
@ -545,66 +567,83 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</informaltable>
|
</informaltable>
|
||||||
<para>The following two <code>instanceFault</code>
|
<para>The following two <code>instanceFault</code>
|
||||||
examples show errors when the server has erred or
|
examples show errors when the server has erred or
|
||||||
cannot perform the requested operation:</para>
|
cannot perform the requested operation:</para>
|
||||||
|
|
||||||
<example>
|
<example>
|
||||||
<title>Example instanceFault Response: XML</title>
|
<title>Example instanceFault Response: XML</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="xml">
|
<literallayout>HTTP/1.1 500 Internal Server Error
|
||||||
<xi:include href="samples/db-faults-instanceFault.xml" parse="text"/>
|
Content-Type: application/xml
|
||||||
</programlisting>
|
Content-Length: 121
|
||||||
|
Date: Mon, 28 Nov 2011 18:19:37 GMT</literallayout>
|
||||||
|
<programlisting language="xml"><xi:include href="samples/db-faults-instanceFault.xml" parse="text"/></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<example>
|
<example>
|
||||||
<title>Example Fault Response: JSON</title>
|
<title>Example Fault Response: JSON</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="json">
|
<literallayout>HTTP/1.1 500 Internal Server Error
|
||||||
<xi:include href="samples/db-faults-instanceFault.json" parse="text"/>
|
Content-Length: 120
|
||||||
</programlisting>
|
Content-Type: application/json; charset=UTF-8
|
||||||
|
Date: Tue, 29 Nov 2011 00:33:48 GMT</literallayout>
|
||||||
|
<programlisting language="json"><xi:include href="samples/db-faults-instanceFault.json" parse="text"/></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<para>The error code (<code>code</code>) is returned in the body of the response for
|
<para>The error code (<code>code</code>) is returned in
|
||||||
convenience. The <code>message</code> element returns a human-readable message that
|
the body of the response for convenience. The
|
||||||
is appropriate for display to the end user. The <code>details</code> element is
|
<code>message</code> element returns a
|
||||||
optional and may contain information that is useful for tracking down an error, such
|
human-readable message that is appropriate for display
|
||||||
as a stack trace. The <code>details</code> element may or may not be appropriate for
|
to the end user. The <code>details</code> element is
|
||||||
display to an end user, depending on the role and experience of the end user.</para>
|
optional and may contain information that is useful
|
||||||
|
for tracking down an error, such as a stack trace. The
|
||||||
|
<code>details</code> element may or may not be
|
||||||
|
appropriate for display to an end user, depending on
|
||||||
|
the role and experience of the end user.</para>
|
||||||
<para>The fault's root element (for example,
|
<para>The fault's root element (for example,
|
||||||
<code>instanceFault</code>) may change depending
|
<code>instanceFault</code>) may change depending
|
||||||
on the type of error.</para>
|
on the type of error.</para>
|
||||||
<para><?rax-fo keep-with-next?>The following two <code>badRequest</code> examples
|
<para><?rax-fo keep-with-next?>The following two
|
||||||
show errors when the volume size is invalid:</para>
|
<code>badRequest</code> examples show errors when
|
||||||
|
the volume size is invalid:</para>
|
||||||
<example>
|
<example>
|
||||||
<title>Example badRequest Fault on Volume Size Errors:
|
<title>Example badRequest Fault on Volume Size Errors:
|
||||||
XML</title>
|
XML</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="xml">
|
<literallayout>HTTP/1.1 400 None
|
||||||
<xi:include href="samples/db-faults-badRequest.xml" parse="text"/>
|
Content-Type: application/xml
|
||||||
</programlisting>
|
Content-Length: 121
|
||||||
|
Date: Mon, 28 Nov 2011 18:19:37 GMT</literallayout>
|
||||||
|
<programlisting language="xml"><xi:include href="samples/db-faults-badRequest.xml" parse="text"/></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<example>
|
<example>
|
||||||
<title>Example badRequest Fault on Volume Size Errors:
|
<title>Example badRequest Fault on Volume Size Errors:
|
||||||
JSON</title>
|
JSON</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="json">
|
<literallayout>HTTP/1.1 400 None
|
||||||
<xi:include href="samples/db-faults-badRequest.json" parse="text"/>
|
Content-Length: 120
|
||||||
</programlisting>
|
Content-Type: application/json; charset=UTF-8
|
||||||
|
Date: Tue, 29 Nov 2011 00:33:48 GMT</literallayout>
|
||||||
|
<programlisting language="json"><xi:include href="samples/db-faults-badRequest.json" parse="text"/></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<para>The next two examples show
|
<para>The next two examples show <code>itemNotFound</code>
|
||||||
<code>itemNotFound</code> errors:</para>
|
errors:</para>
|
||||||
<example>
|
<example>
|
||||||
<title>Example itemNotFound Fault: XML</title>
|
<title>Example itemNotFound Fault: XML</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="xml">
|
<literallayout>HTTP/1.1 404 Not Found
|
||||||
<xi:include href="samples/db-faults-itemNotFound.xml" parse="text"/>
|
Content-Length: 147
|
||||||
</programlisting>
|
Content-Type: application/xml; charset=UTF-8
|
||||||
|
Date: Mon, 28 Nov 2011 19:50:15 GMT</literallayout>
|
||||||
|
<programlisting language="xml"><xi:include href="samples/db-faults-itemNotFound.xml" parse="text"/></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<example>
|
<example>
|
||||||
<title>Example itemNotFound Fault: JSON</title>
|
<title>Example itemNotFound Fault: JSON</title>
|
||||||
<?dbfo keep-together="always"?>
|
<?dbfo keep-together="always"?>
|
||||||
<programlisting language="json">
|
<literallayout>HTTP/1.1 404 Not Found
|
||||||
<xi:include href="samples/db-faults-itemNotFound.json" parse="text"/>
|
Content-Length: 78
|
||||||
</programlisting>
|
Content-Type: application/json; charset=UTF-8
|
||||||
|
Date: Tue, 29 Nov 2011 00:35:24 GMT</literallayout>
|
||||||
|
<programlisting language="json"><xi:include href="samples/db-faults-itemNotFound.json" parse="text"/></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<section xml:id="synchro_vs_async_faults">
|
<section xml:id="synchro_vs_async_faults">
|
||||||
<title>Synchronous Versus Asynchronous
|
<title>Synchronous Versus Asynchronous
|
||||||
@ -614,7 +653,8 @@
|
|||||||
fault contains an HTTP error response code, a
|
fault contains an HTTP error response code, a
|
||||||
human readable message, and optional details about
|
human readable message, and optional details about
|
||||||
the error. The following Database API calls are
|
the error. The following Database API calls are
|
||||||
synchronous and may produce synchronous faults:<itemizedlist spacing="compact">
|
synchronous and may produce synchronous
|
||||||
|
faults:<itemizedlist spacing="compact">
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>List Users</para>
|
<para>List Users</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -654,7 +694,7 @@
|
|||||||
HTTP error response code, a human readable
|
HTTP error response code, a human readable
|
||||||
message, and optional details about the error. The
|
message, and optional details about the error. The
|
||||||
following Database API calls are asynchronous and
|
following Database API calls are asynchronous and
|
||||||
may produce asynchronous faults:<itemizedlist
|
may produce asynchronous faults:</para><itemizedlist
|
||||||
spacing="compact">
|
spacing="compact">
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Create Instance</para>
|
<para>Create Instance</para>
|
||||||
@ -683,22 +723,25 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>Restart Instance</para>
|
<para>Restart Instance</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist><note>
|
</itemizedlist>
|
||||||
|
<note>
|
||||||
<para>Note that an asynchronous operation, if
|
<para>Note that an asynchronous operation, if
|
||||||
it fails, may not give the user an error,
|
it fails, may not give the user an error,
|
||||||
and the operation can error out without a
|
and the operation can error out without a
|
||||||
failure notification.</para>
|
failure notification.</para>
|
||||||
</note></para>
|
</note>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="database_instance_status">
|
<section xml:id="database_instance_status">
|
||||||
<title>Database Instance Status</title>
|
<title>Database Instance Status</title>
|
||||||
<para><?rax-fo keep-with-next?>When making an API call to create, list, or delete
|
<para><?rax-fo keep-with-next?>When making an API call to
|
||||||
database instance(s), the following database instance
|
create, list, or delete database instance(s), the
|
||||||
status values are possible:</para>
|
following database instance status values are
|
||||||
|
possible:</para>
|
||||||
<itemizedlist spacing="compact">
|
<itemizedlist spacing="compact">
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>BUILD – The database instance is being provisioned.</para>
|
<para>BUILD – The database instance is being
|
||||||
|
provisioned.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>REBOOT – The database instance is
|
<para>REBOOT – The database instance is
|
||||||
@ -713,21 +756,19 @@
|
|||||||
unresponsive at the moment.</para>
|
unresponsive at the moment.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>RESIZE – The database instance is being
|
<para>RESIZE – The database instance is
|
||||||
resized at the moment.</para>
|
being resized at the moment.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>SHUTDOWN – The database instance is
|
<para>SHUTDOWN – The database instance is
|
||||||
terminating services. Also, SHUTDOWN is
|
terminating services. Also, SHUTDOWN is
|
||||||
returned if for any reason the MySQL instance
|
returned if for any reason the MySQL instance
|
||||||
is shut down but not the actual server.</para>
|
is shut down but not the actual server.</para>
|
||||||
<para>
|
<note>
|
||||||
<note>
|
<para>If MySQL has crashed (causing the
|
||||||
<para>If MySQL has crashed (causing the
|
SHUTDOWN status), please call support for
|
||||||
SHUTDOWN status), please call support
|
assistance.</para>
|
||||||
for assistance.</para>
|
</note>
|
||||||
</note>
|
|
||||||
</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>ERROR – The last operation for the
|
<para>ERROR – The last operation for the
|
||||||
@ -739,8 +780,7 @@
|
|||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
<chapter xml:id="API_Operations-d1e2264"
|
<chapter xml:id="API_Operations-d1e2264"
|
||||||
xmlns="http://docbook.org/ns/docbook"
|
xmlns="http://docbook.org/ns/docbook" role="api-reference">
|
||||||
role="api-reference">
|
|
||||||
<title>API Operations</title>
|
<title>API Operations</title>
|
||||||
<note>
|
<note>
|
||||||
<para>Do not use trailing slashes (/) at the end of calls
|
<para>Do not use trailing slashes (/) at the end of calls
|
||||||
@ -754,12 +794,13 @@
|
|||||||
<title>API Versions</title>
|
<title>API Versions</title>
|
||||||
<para>This section describes the versions that are
|
<para>This section describes the versions that are
|
||||||
supported for the Cloud Databases API.</para>
|
supported for the Cloud Databases API.</para>
|
||||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
<wadl:resources
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#versions">
|
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||||
|
<wadl:resource href="xsd/dbaas.wadl#versions">
|
||||||
<wadl:method href="getVersions"/>
|
<wadl:method href="getVersions"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#version">
|
<wadl:resource href="xsd/dbaas.wadl#version">
|
||||||
<wadl:method href="getVersionInfo" />
|
<wadl:method href="getVersionInfo"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
</wadl:resources>
|
</wadl:resources>
|
||||||
|
|
||||||
@ -767,18 +808,20 @@
|
|||||||
|
|
||||||
<section xml:id="Database_Instances">
|
<section xml:id="Database_Instances">
|
||||||
<title>Database Instances</title>
|
<title>Database Instances</title>
|
||||||
<para>This section describes the operations that are supported for database instances.</para>
|
<para>This section describes the operations that are
|
||||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
supported for database instances.</para>
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#instances" >
|
<wadl:resources
|
||||||
|
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||||
|
<wadl:resource href="xsd/dbaas.wadl#instances">
|
||||||
<wadl:method href="createInstance"/>
|
<wadl:method href="createInstance"/>
|
||||||
<wadl:method href="getInstance"/>
|
<wadl:method href="getInstance"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
|
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#instanceId">
|
<wadl:resource href="xsd/dbaas.wadl#instanceId">
|
||||||
<wadl:method href="getInstanceById"/>
|
<wadl:method href="getInstanceById"/>
|
||||||
<wadl:method href="deleteInstance"/>
|
<wadl:method href="deleteInstance"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#root">
|
<wadl:resource href="xsd/dbaas.wadl#root">
|
||||||
<wadl:method href="createRoot"/>
|
<wadl:method href="createRoot"/>
|
||||||
<wadl:method href="isRootEnabled"/>
|
<wadl:method href="isRootEnabled"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
@ -787,9 +830,11 @@
|
|||||||
|
|
||||||
<section xml:id="Database_Instances_Actions">
|
<section xml:id="Database_Instances_Actions">
|
||||||
<title>Database Instance Actions</title>
|
<title>Database Instance Actions</title>
|
||||||
<para>This section describes the actions that are supported for database instances.</para>
|
<para>This section describes the actions that are
|
||||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
supported for database instances.</para>
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#instanceAction" >
|
<wadl:resources
|
||||||
|
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||||
|
<wadl:resource href="xsd/dbaas.wadl#instanceAction">
|
||||||
<wadl:method href="restartInstance"/>
|
<wadl:method href="restartInstance"/>
|
||||||
<wadl:method href="resizeInstance"/>
|
<wadl:method href="resizeInstance"/>
|
||||||
<wadl:method href="resizeVolume"/>
|
<wadl:method href="resizeVolume"/>
|
||||||
@ -803,11 +848,11 @@
|
|||||||
supported for databases.</para>
|
supported for databases.</para>
|
||||||
<wadl:resources
|
<wadl:resources
|
||||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#databases">
|
<wadl:resource href="xsd/dbaas.wadl#databases">
|
||||||
<wadl:method href="createDatabase"/>
|
<wadl:method href="createDatabase"/>
|
||||||
<wadl:method href="getDatabases"/>
|
<wadl:method href="getDatabases"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#databaseName">
|
<wadl:resource href="xsd/dbaas.wadl#databaseName">
|
||||||
<wadl:method href="deleteDatabase"/>
|
<wadl:method href="deleteDatabase"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
</wadl:resources>
|
</wadl:resources>
|
||||||
@ -840,20 +885,18 @@
|
|||||||
</warning>
|
</warning>
|
||||||
<wadl:resources
|
<wadl:resources
|
||||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#users">
|
<wadl:resource href="xsd/dbaas.wadl#users">
|
||||||
<wadl:method href="createUser"/>
|
<wadl:method href="createUser"/>
|
||||||
<wadl:method href="getUsers"/>
|
<wadl:method href="getUsers"/>
|
||||||
<wadl:method href="changePass"/>
|
<wadl:method href="changePass"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#userId">
|
<wadl:resource href="xsd/dbaas.wadl#userId">
|
||||||
<wadl:method href="listUser"/>
|
<wadl:method href="listUser"/>
|
||||||
<wadl:method href="deleteUser"/>
|
<wadl:method href="deleteUser"/>
|
||||||
<wadl:resource
|
<wadl:resource href="xsd/dbaas.wadl#database">
|
||||||
href="../../../xsd/dbaas.wadl#database">
|
|
||||||
<wadl:method href="getUserAccess"/>
|
<wadl:method href="getUserAccess"/>
|
||||||
<wadl:method href="grantUserAccess"/>
|
<wadl:method href="grantUserAccess"/>
|
||||||
<wadl:resource
|
<wadl:resource href="xsd/dbaas.wadl#dbName">
|
||||||
href="../../../xsd/dbaas.wadl#dbName">
|
|
||||||
<wadl:method href="revokeUserAccess"/>
|
<wadl:method href="revokeUserAccess"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
@ -867,11 +910,11 @@
|
|||||||
supported for flavors.</para>
|
supported for flavors.</para>
|
||||||
<wadl:resources
|
<wadl:resources
|
||||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#flavors">
|
<wadl:resource href="xsd/dbaas.wadl#flavors">
|
||||||
<wadl:method href="getFlavors"/>
|
<wadl:method href="getFlavors"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
|
|
||||||
<wadl:resource href="../../../xsd/dbaas.wadl#flavorId">
|
<wadl:resource href="xsd/dbaas.wadl#flavorId">
|
||||||
<wadl:method href="getFlavorById"/>
|
<wadl:method href="getFlavorById"/>
|
||||||
</wadl:resource>
|
</wadl:resource>
|
||||||
</wadl:resources>
|
</wadl:resources>
|
||||||
@ -882,31 +925,44 @@
|
|||||||
<glossentry xml:id="Database-d1e017">
|
<glossentry xml:id="Database-d1e017">
|
||||||
<glossterm>database</glossterm>
|
<glossterm>database</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>A MySQL database within a database instance.</para>
|
<para>A MySQL database within a database
|
||||||
|
instance.</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
<glossentry xml:id="Database-Instance-d1e016">
|
<glossentry xml:id="Database-Instance-d1e016">
|
||||||
<glossterm>database instance</glossterm>
|
<glossterm>database instance</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>A database instance is an isolated MySQL instance in a single tenant environment on a
|
<para>A database instance is an isolated MySQL
|
||||||
shared physical host machine. Also referred to as instance.</para>
|
instance in a single tenant environment on a
|
||||||
|
shared physical host machine. Also referred to as
|
||||||
|
instance.</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
<glossentry xml:id="Flavor-d1e018">
|
<glossentry xml:id="Flavor-d1e018">
|
||||||
<glossterm>flavor</glossterm>
|
<glossterm>flavor</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>A flavor is an available hardware configuration for a database instance. Each flavor has a unique combination of memory capacity and priority for CPU time.</para>
|
<para>A flavor is an available hardware configuration
|
||||||
|
for a database instance. Each flavor has a unique
|
||||||
|
combination of memory capacity and priority for
|
||||||
|
CPU time.</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
<glossentry xml:id="Volume-d1e019">
|
<glossentry xml:id="Volume-d1e019">
|
||||||
<glossterm>volume</glossterm>
|
<glossterm>volume</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>A volume is user-specified storage that contains the MySQL data directory.
|
<para>A volume is user-specified storage that contains
|
||||||
Volumes are automatically provisioned on shared Internet Small Computer System Interface (iSCSI)
|
the MySQL data directory. Volumes are
|
||||||
storage area networks (SAN) that provide for increased performance, scalability, availability
|
automatically provisioned on shared Internet Small
|
||||||
and manageability. Applications with high I/O demands are performance optimized and data is
|
Computer System Interface (iSCSI) storage area
|
||||||
protected through both local and network RAID-10. Additionally, network RAID provides synchronous
|
networks (SAN) that provide for increased
|
||||||
replication of volumes with automatic failover and load balancing across available storage clusters.</para>
|
performance, scalability, availability and
|
||||||
|
manageability. Applications with high I/O demands
|
||||||
|
are performance optimized and data is protected
|
||||||
|
through both local and network RAID-10.
|
||||||
|
Additionally, network RAID provides synchronous
|
||||||
|
replication of volumes with automatic failover and
|
||||||
|
load balancing across available storage
|
||||||
|
clusters.</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
</glossary>
|
</glossary>
|
Before ![]() (image error) Size: 83 KiB After ![]() (image error) Size: 83 KiB ![]() ![]() |
Before ![]() (image error) Size: 24 KiB After ![]() (image error) Size: 24 KiB ![]() ![]() |
Before ![]() (image error) Size: 21 KiB After ![]() (image error) Size: 21 KiB ![]() ![]() |
Before ![]() (image error) Size: 65 KiB After ![]() (image error) Size: 65 KiB ![]() ![]() |
Before (image error) Size: 369 KiB After (image error) Size: 369 KiB |
Before ![]() (image error) Size: 31 KiB After ![]() (image error) Size: 31 KiB ![]() ![]() |
Before ![]() (image error) Size: 252 KiB After ![]() (image error) Size: 252 KiB ![]() ![]() |
@ -1,144 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
Content-Length: 477
|
|
||||||
Date: Thu, 12 Apr 2012 18:45:13 GMT
|
|
||||||
|
|
||||||
{
|
|
||||||
"access": {
|
|
||||||
|
|
||||||
"token": {
|
|
||||||
"expires": "2011-12-08T22:51:02.000-06:00",
|
|
||||||
"id": "vvvvvvvv-wwww-xxxx-yyyy-zzzzzzzzzzzz"
|
|
||||||
},
|
|
||||||
"user": {
|
|
||||||
"id": "123456",
|
|
||||||
"name": "jsmith",
|
|
||||||
"RAX-AUTH:defaultRegion": "DFW",
|
|
||||||
"roles": [
|
|
||||||
{
|
|
||||||
"description": "Admin Role.",
|
|
||||||
"id": "identity:admin",
|
|
||||||
"name": "identity:admin"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Default Role.",
|
|
||||||
"id": "identity:default",
|
|
||||||
"name": "identity:default"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"serviceCatalog": [
|
|
||||||
{
|
|
||||||
"endpoints": [
|
|
||||||
{
|
|
||||||
"publicURL": "https://dfw.databases.api.rackspacecloud.com/v1.0/1100111",
|
|
||||||
"region": "DFW",
|
|
||||||
"tenantId": "1100111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"publicURL": "https://ord.databases.api.rackspacecloud.com/v1.0/1100111",
|
|
||||||
"region": "ORD",
|
|
||||||
"tenantId": "1100111"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "cloudDatabases",
|
|
||||||
"type": "rax:database"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"endpoints": [
|
|
||||||
{
|
|
||||||
"publicURL": "https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/1100111",
|
|
||||||
"region": "DFW",
|
|
||||||
"tenantId": "1100111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"publicURL": "https://ord.loadbalancers.api.rackspacecloud.com/v1.0/1100111",
|
|
||||||
"region": "ORD",
|
|
||||||
"tenantId": "1100111"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "cloudLoadBalancers",
|
|
||||||
"type": "rax:load-balancer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"endpoints": [
|
|
||||||
{
|
|
||||||
"tenantId": "1100111",
|
|
||||||
"region": "DFW",
|
|
||||||
"publicURL": "https://dfw.servers.api.rackspacecloud.com/v2/1100111",
|
|
||||||
"versionId": "2",
|
|
||||||
"versionInfo": "https://dfw.servers.api.rackspacecloud.com/v2/",
|
|
||||||
"versionList": "https://dfw.servers.api.rackspacecloud.com/"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"tenantId": "1100111",
|
|
||||||
"region": "ORD",
|
|
||||||
"publicURL": "https://ord.servers.api.rackspacecloud.com/v2/1100111",
|
|
||||||
"versionId": "2",
|
|
||||||
"versionInfo": "https://ord.servers.api.rackspacecloud.com/v2/",
|
|
||||||
"versionList": "https://ord.servers.api.rackspacecloud.com/"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "cloudServersOpenStack",
|
|
||||||
"type": "compute"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"endpoints": [
|
|
||||||
{
|
|
||||||
"tenantId": "1100111",
|
|
||||||
"publicURL": "https://servers.api.rackspacecloud.com/v1.0/1100111",
|
|
||||||
"versionId": "1.0",
|
|
||||||
"versionInfo": "https://servers.api.rackspacecloud.com/v1.0/",
|
|
||||||
"versionList": "https://servers.api.rackspacecloud.com/"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "cloudServers",
|
|
||||||
"type": "compute"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"endpoints": [
|
|
||||||
{
|
|
||||||
"tenantId": "MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"publicURL": "https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"internalURL": "https://snet-storage101.dfw1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"region": "DFW"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"tenantId": "MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"publicURL": "https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"internalURL": "https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"region": "ORD"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "cloudFiles",
|
|
||||||
"type": "object-store"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"endpoints": [
|
|
||||||
{
|
|
||||||
"tenantId": "MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"publicURL": "https://cdn1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"region": "DFW"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"tenantId": "MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"publicURL": "https://cdn2.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
|
||||||
"region": "ORD"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "cloudFilesCDN",
|
|
||||||
"type": "rax:object-cdn"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"endpoints": [
|
|
||||||
{
|
|
||||||
"tenantId": "1100111",
|
|
||||||
"publicURL": "https://dns.api.rackspacecloud.com/v1.0/1100111"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "cloudDNS",
|
|
||||||
"type": "rax:dns"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,74 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml; charset=UTF-8
|
|
||||||
Content-Length: 477
|
|
||||||
Date: Thu, 12 Apr 2012 18:50:20 GMT
|
|
||||||
|
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<access xmlns:os-ksadm="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
|
|
||||||
xmlns="http://docs.openstack.org/identity/api/v2.0"
|
|
||||||
xmlns:rax-kskey="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"
|
|
||||||
xmlns:rax-ksqa="http://docs.rackspace.com/identity/api/ext/RAX-KSQA/v1.0"
|
|
||||||
xmlns:common="http://docs.openstack.org/common/api/v1.0"
|
|
||||||
xmlns:ksgrp="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0"
|
|
||||||
xmlns:rax-kscatalog="http://docs.openstack.org/identity/api/ext/OS-KSCATALOG/v1.0"
|
|
||||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
|
||||||
<token id="vvvvvvvv-wwww-xxxx-yyyy-zzzzzzzzzzzz" expires="2011-12-08T22:51:02.000-06:00"/>
|
|
||||||
<user id="123456" name="jsmith" rax-auth:defaultRegion="DFW">
|
|
||||||
<roles>
|
|
||||||
<role id="identity:admin" name="identity:admin" description="Admin Role."/>
|
|
||||||
<role id="identity:default" name="identity:default" description="Default Role."/>
|
|
||||||
</roles>
|
|
||||||
</user>
|
|
||||||
<serviceCatalog>
|
|
||||||
<service type="rax:database" name="cloudDatabases">
|
|
||||||
<endpoint region="DFW" tenantId="1100111" publicURL="https://dfw.databases.api.rackspacecloud.com/v1.0/1100111"/>
|
|
||||||
<endpoint region="ORD" tenantId="1100111" publicURL="https://ord.databases.api.rackspacecloud.com/v1.0/1100111"/>
|
|
||||||
</service>
|
|
||||||
<service type="rax:load-balancer" name="cloudLoadBalancers">
|
|
||||||
<endpoint region="DFW" tenantId="1100111" publicURL="https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/1100111"/>
|
|
||||||
<endpoint region="ORD" tenantId="1100111" publicURL="https://ord.loadbalancers.api.rackspacecloud.com/v1.0/1100111"/>
|
|
||||||
</service>
|
|
||||||
<service type="compute" name="cloudServersOpenStack">
|
|
||||||
<endpoint region="DFW" tenantId="1100111"
|
|
||||||
publicURL="https://dfw.servers.api.rackspacecloud.com/v2/1100111">
|
|
||||||
<version id="2" info="https://dfw.servers.api.rackspacecloud.com/v2/"
|
|
||||||
list="https://dfw.servers.api.rackspacecloud.com/" />
|
|
||||||
</endpoint>
|
|
||||||
<endpoint region="ORD" tenantId="1100111"
|
|
||||||
publicURL="https://ord.servers.api.rackspacecloud.com/v2/1100111">
|
|
||||||
<version id="2" info="https://ord.servers.api.rackspacecloud.com/v2/"
|
|
||||||
list="https://ord.servers.api.rackspacecloud.com/" />
|
|
||||||
</endpoint>
|
|
||||||
</service>
|
|
||||||
<service type="compute" name="cloudServers">
|
|
||||||
<endpoint tenantId="1100111"
|
|
||||||
publicURL="https://servers.api.rackspacecloud.com/v1.0/1100111">
|
|
||||||
<version id="1.0"
|
|
||||||
info="https://servers.api.rackspacecloud.com/v1.0/"
|
|
||||||
list="https://servers.api.rackspacecloud.com/"/>
|
|
||||||
</endpoint>
|
|
||||||
</service>
|
|
||||||
<service type="object-store" name="cloudFiles">
|
|
||||||
<endpoint region="DFW"
|
|
||||||
tenantId="MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"
|
|
||||||
publicURL="https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"
|
|
||||||
internalURL="https://snet-storage101.dfw1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"/>
|
|
||||||
<endpoint region="ORD"
|
|
||||||
tenantId="MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"
|
|
||||||
publicURL="https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"
|
|
||||||
internalURL="https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"/>
|
|
||||||
</service>
|
|
||||||
<service type="rax:object-cdn" name="cloudFilesCDN">
|
|
||||||
<endpoint region="DFW"
|
|
||||||
tenantId="MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"
|
|
||||||
publicURL="https://cdn1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"/>
|
|
||||||
<endpoint region="ORD"
|
|
||||||
tenantId="MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"
|
|
||||||
publicURL="https://cdn2.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"/>
|
|
||||||
</service>
|
|
||||||
<service type="rax:dns" name="cloudDNS">
|
|
||||||
<endpoint tenantId="1100111"
|
|
||||||
publicURL="https://dns.api.rackspacecloud.com/v1.0/1100111"/>
|
|
||||||
</service>
|
|
||||||
</serviceCatalog>
|
|
||||||
</access>
|
|
@ -1,10 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Server: nginx/0.8.55
|
|
||||||
Date: Tue, 26 Feb 2013 16:03:24 GMT
|
|
||||||
Content-Type: application/json
|
|
||||||
Transfer-Encoding: chunked
|
|
||||||
Connection: keep-alive
|
|
||||||
response-source: cloud-auth
|
|
||||||
vary: Accept, Accept-Encoding, X-Auth-Token
|
|
||||||
VIA: 1.0 Repose (Repose/2.3.5)
|
|
||||||
Front-End-Https: on
|
|
@ -1,72 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
Content-Length: 477
|
|
||||||
Date: Thu, 12 Apr 2012 18:45:13 GMT
|
|
||||||
|
|
||||||
{
|
|
||||||
"auth": {
|
|
||||||
"serviceCatalog": {
|
|
||||||
"cloudDNS": [
|
|
||||||
{
|
|
||||||
"publicURL": "https://dns.api.rackspacecloud.com/v1.0/1234"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cloudDatabases": [
|
|
||||||
{
|
|
||||||
"publicURL": "https://dfw.databases.api.rackspacecloud.com/v1.0/1234",
|
|
||||||
"region": "DFW"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"publicURL": "https://ord.databases.api.rackspacecloud.com/v1.0/1234",
|
|
||||||
"region": "ORD"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cloudFiles": [
|
|
||||||
{
|
|
||||||
"internalURL": "https://snet-storage101.dfw1.clouddrive.com/v1/ MossoCloudFS_aaaa-bbbbb-cccc-ddddd ",
|
|
||||||
"publicURL": "https://storage101.dfw1.clouddrive.com/v1/ MossoCloudFS_aaaa-bbbbb-cccc-ddddd ",
|
|
||||||
"region": "DFW",
|
|
||||||
"v1Default": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cloudFilesCDN": [
|
|
||||||
{
|
|
||||||
"publicURL": "https://cdn1.clouddrive.com/v1/MossoCloudFS_aaaa-bbbbb-cccc-ddddd",
|
|
||||||
"region": "DFW",
|
|
||||||
"v1Default": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cloudLoadBalancers": [
|
|
||||||
{
|
|
||||||
"publicURL": "https://ord.loadbalancers.api.rackspacecloud.com/v1.0/1234",
|
|
||||||
"region": "ORD"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"publicURL": "https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/1234",
|
|
||||||
"region": "DFW"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cloudMonitoring": [
|
|
||||||
{
|
|
||||||
"publicURL": "https://monitoring.api.rackspacecloud.com/v1.0/1234"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cloudServers": [
|
|
||||||
{
|
|
||||||
"publicURL": "https://servers.api.rackspacecloud.com/v1.0/1234",
|
|
||||||
"v1Default": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cloudServersOpenStack": [
|
|
||||||
{
|
|
||||||
"publicURL": "https://dfw.servers.api.rackspacecloud.com/v2/1234",
|
|
||||||
"region": "DFW"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"token": {
|
|
||||||
"expires": "2012-04-12T13:15:52.000-05:00",
|
|
||||||
"id": "aaaaa-bbbbbb-cccccc-ddddd"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,50 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml; charset=UTF-8
|
|
||||||
Content-Length: 477
|
|
||||||
Date: Thu, 12 Apr 2012 18:50:20 GMT
|
|
||||||
|
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<auth xmlns="http://docs.rackspacecloud.com/auth/api/v1.1">
|
|
||||||
<token id="aaaaa-bbbbbb-cccccc-ddddd"
|
|
||||||
expires="2012-04-12T13:15:52.000-05:00" />
|
|
||||||
<serviceCatalog>
|
|
||||||
<service name="cloudDatabases">
|
|
||||||
<endpoint region="ORD" v1Default="false"
|
|
||||||
publicURL="https://ord.databases.api.rackspacecloud.com/v1.0/1234"/>
|
|
||||||
<endpoint region="DFW" v1Default="false"
|
|
||||||
publicURL="https://dfw.databases.api.rackspacecloud.com/v1.0/1234"/>
|
|
||||||
</service>
|
|
||||||
<service name="cloudDNS">
|
|
||||||
<endpoint v1Default="false" publicURL="https://dns.api.rackspacecloud.com/v1.0/1234"/>
|
|
||||||
</service>
|
|
||||||
<service name="cloudServers">
|
|
||||||
<endpoint v1Default="true"
|
|
||||||
publicURL="https://servers.api.rackspacecloud.com/v1.0/1234"/>
|
|
||||||
</service>
|
|
||||||
<service name="cloudLoadBalancers">
|
|
||||||
<endpoint region="DFW" v1Default="false"
|
|
||||||
publicURL="https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/1234"/>
|
|
||||||
<endpoint region="ORD" v1Default="false"
|
|
||||||
publicURL="https://ord.loadbalancers.api.rackspacecloud.com/v1.0/1234"/>
|
|
||||||
</service>
|
|
||||||
<service name="cloudMonitoring">
|
|
||||||
<endpoint v1Default="false"
|
|
||||||
publicURL="https://monitoring.api.rackspacecloud.com/v1.0/1234"/>
|
|
||||||
</service>
|
|
||||||
<service name="cloudServersOpenStack">
|
|
||||||
<endpoint region="DFW" v1Default="false"
|
|
||||||
publicURL="https://dfw.servers.api.rackspacecloud.com/v2/1234"/>
|
|
||||||
</service>
|
|
||||||
<service name="cloudFiles">
|
|
||||||
<endpoint region="DFW" v1Default="true"
|
|
||||||
publicURL="https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_aaaa-bbbbbb-ccccc-ddddd"
|
|
||||||
internalURL="https://snet-storage101.dfw1.clouddrive.com/v1/MossoCloudFS_aaaa-bbbbbb-ccccc-ddddd"
|
|
||||||
/>
|
|
||||||
</service>
|
|
||||||
<service name="cloudFilesCDN">
|
|
||||||
<endpoint region="DFW" v1Default="true"
|
|
||||||
publicURL="https://cdn1.clouddrive.com/v1/MossoCloudFS_aaaa-bbbbbb-ccccc-ddddd"
|
|
||||||
/>
|
|
||||||
</service>
|
|
||||||
</serviceCatalog>
|
|
||||||
</auth>
|
|
@ -1,19 +0,0 @@
|
|||||||
PUT /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users HTTP/1.1
|
|
||||||
User-Agent: python-example-client
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"users": [
|
|
||||||
{
|
|
||||||
"name": "dbuser1",
|
|
||||||
"password": "newpassword"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "dbuser2",
|
|
||||||
"password": "anotherpassword"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 90
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<rootEnabled xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
True
|
|
||||||
</rootEnabled>
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Content-Length: 632
|
|
||||||
Date: Mon, 28 Nov 2011 21:35:41 GMT
|
|
||||||
|
|
||||||
{
|
|
||||||
"instance": {
|
|
||||||
"created": "2011-11-03T15:55:26Z",
|
|
||||||
"flavor": {
|
|
||||||
"id": "1",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"hostname": "d735f61b985bb003a61dc72948dbf4e7174da12c.rackspaceclouddb.com",
|
|
||||||
"id": "00ff11ee-22dd-33cc-44bb-55aa66007799",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/00ff11ee-22dd-33cc-44bb-55aa66007799",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/00ff11ee-22dd-33cc-44bb-55aa66007799",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "myrackinstance",
|
|
||||||
"status": "BUILD",
|
|
||||||
"updated": "2011-11-03T15:55:27Z",
|
|
||||||
"volume": {
|
|
||||||
"size": "2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Content-Length: 639
|
|
||||||
Date: Mon, 28 Nov 2011 16:19:34 GMT
|
|
||||||
|
|
||||||
<instance created="2011-11-03T15:57:52Z"
|
|
||||||
hostname="d735f61b985bb003a61dc72948dbf4e7174da12c.rackspaceclouddb.com"
|
|
||||||
id="00ff11ee-22dd-33cc-44bb-55aa66007799" name="myrackinstance" status="BUILD" updated="2011-11-03T15:57:55Z"
|
|
||||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/00ff11ee-22dd-33cc-44bb-55aa66007799" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/00ff11ee-22dd-33cc-44bb-55aa66007799" rel="bookmark"
|
|
||||||
/>
|
|
||||||
</links>
|
|
||||||
<volume size="2"/>
|
|
||||||
<flavor id="1">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
|
||||||
rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
|
||||||
rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</instance>
|
|
@ -1,22 +0,0 @@
|
|||||||
POST /v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7/databases HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"databases": [
|
|
||||||
{
|
|
||||||
"character_set": "utf8",
|
|
||||||
"collate": "utf8_general_ci",
|
|
||||||
"name": "testingdb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "anotherdb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "oneMoreDB"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
POST /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/databases HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
<databases xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<database collate="utf8_general_ci" name="testingdb" character_set="utf8"/>
|
|
||||||
<database name="anotherdb"/>
|
|
||||||
<database name="oneMoreDB"/>
|
|
||||||
</databases>
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
|||||||
POST /v1.0/1234/instances HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"instance": {
|
|
||||||
"databases": [
|
|
||||||
{
|
|
||||||
"character_set": "utf8",
|
|
||||||
"collate": "utf8_general_ci",
|
|
||||||
"name": "sampledb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "nextround"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"flavorRef": 1,
|
|
||||||
"name": "json_rack_instance",
|
|
||||||
"users": [
|
|
||||||
{
|
|
||||||
"databases": [
|
|
||||||
{
|
|
||||||
"name": "sampledb"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "demouser",
|
|
||||||
"password": "demopassword"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"volume": {
|
|
||||||
"size": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
POST /v1.0/1234/instances HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
<instance xmlns="http://docs.openstack.org/database/api/v1.0" flavorRef="1" name="xml_rack_instance">
|
|
||||||
<volume size="2"/>
|
|
||||||
<users>
|
|
||||||
<user password="demopassword" name="demouser">
|
|
||||||
<databases>
|
|
||||||
<database name="sampledb"/>
|
|
||||||
</databases>
|
|
||||||
</user>
|
|
||||||
</users>
|
|
||||||
<databases>
|
|
||||||
<database collate="utf8_general_ci" name="sampledb" character_set="utf8"/>
|
|
||||||
<database name="nextround"/>
|
|
||||||
</databases>
|
|
||||||
</instance>
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 591
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"instance": {
|
|
||||||
"created": "2013-03-18T19:09:17",
|
|
||||||
"flavor": {
|
|
||||||
"id": "1",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": "44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "json_rack_instance",
|
|
||||||
"status": "BUILD",
|
|
||||||
"updated": "2013-03-18T19:09:17",
|
|
||||||
"volume": {
|
|
||||||
"size": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 724
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<instance created="2013-03-18 19:09:17.441489" id="098653ba-218b-47ce-936a-e0b749101f81" name="xml_rack_instance" status="BUILD" updated="2013-03-18 19:09:17.441606" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
<volume size="2"/>
|
|
||||||
<flavor id="1">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</instance>
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
|||||||
POST /v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7/users HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"users": [
|
|
||||||
{
|
|
||||||
"database": "databaseA",
|
|
||||||
"name": "dbuser1",
|
|
||||||
"password": "password"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"databases": [
|
|
||||||
{
|
|
||||||
"name": "databaseB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "databaseC"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "dbuser2",
|
|
||||||
"password": "password"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"database": "databaseD",
|
|
||||||
"name": "dbuser3",
|
|
||||||
"password": "password"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
POST /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/users HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
<users xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<user password="password" name="dbuser1" database="databaseA"/>
|
|
||||||
<user password="password" name="dbuser2">
|
|
||||||
<databases>
|
|
||||||
<database name="databaseB"/>
|
|
||||||
<database name="databaseC"/>
|
|
||||||
</databases>
|
|
||||||
</user>
|
|
||||||
<user password="password" name="dbuser3" database="databaseD"/>
|
|
||||||
</users>
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
POST /v2.0/tokens HTTP/1.1
|
|
||||||
User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
|
|
||||||
Host: identity.api.rackspacecloud.com
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
Content-Length: 54
|
|
||||||
|
|
||||||
{
|
|
||||||
"auth":
|
|
||||||
{
|
|
||||||
"RAX-KSKEY:apiKeyCredentials":
|
|
||||||
{
|
|
||||||
"username": "jsmith",
|
|
||||||
"apiKey": "aaaaa-bbbbb-ccccc-12345678"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
POST /v2.0/tokens HTTP/1.1
|
|
||||||
User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
|
|
||||||
Host: identity.api.rackspacecloud.com
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
Content-Length: 88
|
|
||||||
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<auth>
|
|
||||||
<apiKeyCredentials
|
|
||||||
xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"
|
|
||||||
username="jsmith"
|
|
||||||
apiKey="aaaaa-bbbbb-ccccc-12345678"/>
|
|
||||||
</auth>
|
|
@ -1,13 +0,0 @@
|
|||||||
POST /v1.1/auth HTTP/1.1
|
|
||||||
User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
|
|
||||||
Host: auth.api.rackspacecloud.com
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
Content-Length: 54
|
|
||||||
|
|
||||||
{
|
|
||||||
"credentials" : {
|
|
||||||
"username" : "hub_cap",
|
|
||||||
"key" : "a86850deb2742ec3cb41518e26aa2d89"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
POST /v1.1/auth HTTP/1.1
|
|
||||||
User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
|
|
||||||
Host: auth.api.rackspacecloud.com
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
Content-Length: 88
|
|
||||||
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<credentials xmlns="http://docs.rackspacecloud.com/auth/api/v1.1"
|
|
||||||
username="hub_cap"
|
|
||||||
key="a86850deb2742ec3cb41518e26aa2d89"/>
|
|
@ -1,6 +0,0 @@
|
|||||||
HTTP/1.1 202 Accepted
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 0
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
@ -1,13 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 47
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"user": {
|
|
||||||
"name": "root",
|
|
||||||
"password": "12345"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 89
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<user name="root" password="12345" xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
HTTP/1.1 400 None
|
|
||||||
Content-Type: application/xml
|
|
||||||
Content-Length: 121
|
|
||||||
Date: Mon, 28 Nov 2011 18:19:37 GMT
|
|
||||||
|
|
||||||
<badRequest code="400" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<message>
|
|
||||||
Volume 'size' needs to be a positive integer value, -1.0 cannot be accepted.
|
|
||||||
</message>
|
|
||||||
</badRequest>
|
|
@ -1,10 +0,0 @@
|
|||||||
HTTP/1.1 500 Internal Server Error
|
|
||||||
Content-Type: application/xml
|
|
||||||
Content-Length: 121
|
|
||||||
Date: Mon, 28 Nov 2011 18:19:37 GMT
|
|
||||||
|
|
||||||
<instanceFault code="500" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<message>
|
|
||||||
The server has either erred or is incapable of performing the requested operation.
|
|
||||||
</message>
|
|
||||||
</instanceFault>
|
|
@ -1,11 +0,0 @@
|
|||||||
HTTP/1.1 404 Not Found
|
|
||||||
Content-Length: 78
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
Date: Tue, 29 Nov 2011 00:35:24 GMT
|
|
||||||
|
|
||||||
{
|
|
||||||
"itemNotFound": {
|
|
||||||
"code": 404,
|
|
||||||
"message": "The resource could not be found."
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
HTTP/1.1 404 Not Found
|
|
||||||
Content-Length: 147
|
|
||||||
Content-Type: application/xml; charset=UTF-8
|
|
||||||
Date: Mon, 28 Nov 2011 19:50:15 GMT
|
|
||||||
|
|
||||||
<itemNotFound code="404" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<message>
|
|
||||||
The resource could not be found.
|
|
||||||
</message>
|
|
||||||
</itemNotFound>
|
|
@ -1,14 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 283
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<flavor id="1" name="512MB Instance" ram="512" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
|
|
@ -1,71 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 1186
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"flavors": [
|
|
||||||
{
|
|
||||||
"id": 1,
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "512MB Instance",
|
|
||||||
"ram": 512
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 2,
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/2",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "1GB Instance",
|
|
||||||
"ram": 1024
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 3,
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/3",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "2GB Instance",
|
|
||||||
"ram": 2048
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 4,
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/4",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/4",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "4GB Instance",
|
|
||||||
"ram": 4096
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 1600
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<flavors xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<flavor id="1" name="512MB Instance" ram="512">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
<flavor id="2" name="1GB Instance" ram="1024">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/2" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
<flavor id="3" name="2GB Instance" ram="2048">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/3" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
<flavor id="4" name="4GB Instance" ram="4096">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/4" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/4" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</flavors>
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 1600
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<flavors xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<flavor id="1" name="512MB Instance" ram="512">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
<flavor id="2" name="1GB Instance" ram="1024">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/2" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
<flavor id="3" name="2GB Instance" ram="2048">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/3" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
<flavor id="4" name="4GB Instance" ram="4096">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/4" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/4" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
<flavor id="5" name="8GB Instance" ram="8192">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/5" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/5" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
<flavor id="6" name="16GB Instance" ram="16384">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/6" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/6" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</flavors>
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Content-Length: 756
|
|
||||||
Date: Thu, 05 Apr 2012 16:48:44 GMT
|
|
||||||
|
|
||||||
{
|
|
||||||
"instance": {
|
|
||||||
"status": "BUILD",
|
|
||||||
"updated": "2012-04-05T16:48:44Z",
|
|
||||||
"name": "myrackinstance",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "http://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/d379ba5c-9a1f-4aa9-9a17-afe237d04c65",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "http://ord.databases.api.rackspacecloud.com/instances/d379ba5c-9a1f-4aa9-9a17-afe237d04c65",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"created": "2012-04-05T16:48:44Z",
|
|
||||||
"hostname": "ca9fa2985e47b351915c75f1a8e95d0729068892.rackspaceclouddb.com",
|
|
||||||
"volume": {
|
|
||||||
"size": 2
|
|
||||||
},
|
|
||||||
"flavor": {
|
|
||||||
"id": "1",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "http://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{ "href": "http://ord.databases.api.rackspacecloud.com/flavors/1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": "d379ba5c-9a1f-4aa9-9a17-afe237d04c65"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Content-Length: 870
|
|
||||||
Date: Thu, 05 Apr 2012 16:17:29 GMT
|
|
||||||
|
|
||||||
<instance created="2012-04-05T16:17:29Z"
|
|
||||||
hostname="8ba52fad9ec4aab5d75eabd1136c9750f64233ba.rackspaceclouddb.com"
|
|
||||||
id="d379ba5c-9a1f-4aa9-9a17-afe237d04c65" name="myrackinstance" status="BUILD" updated="2012-04-05T16:17:29Z"
|
|
||||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<links>
|
|
||||||
<link href="http://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/d379ba5c-9a1f-4aa9-9a17-afe237d04c65" rel="self"/>
|
|
||||||
<link href="http://ord.databases.api.rackspacecloud.com/instances/d379ba5c-9a1f-4aa9-9a17-afe237d04c65" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
<volume size="2"/>
|
|
||||||
<flavor id="1">
|
|
||||||
<links>
|
|
||||||
<link href="http://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="http://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</instance>
|
|
@ -1,10 +0,0 @@
|
|||||||
POST /v1.0/1234/mgmt/instances/3b16f448-4387-44f5-b464-45111dd7a934/action HTTP/1.1
|
|
||||||
User-Agent: python-example-client
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 570ef429-78eb-43ec-ad69-de9456cd88c9
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"update": {}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
POST /v1.0/1234/mgmt/instances/f3a9e303-1542-4663-9dca-bfdcd7abe095/action HTTP/1.1
|
|
||||||
User-Agent: python-example-client
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 570ef429-78eb-43ec-ad69-de9456cd88c9
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
<?xml version="1.0" ?>
|
|
||||||
<update xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
HTTP/1.1 202 Accepted
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Length: 58
|
|
||||||
Date: Mon, 05 Mar 2012 23:48:46 GMT
|
|
||||||
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
POST /v1.0/1234/mgmt/instances/44b277eb-39be-4921-be31-3d61b43651d7/action HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"reboot": {}
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
POST /v1.0/1234/mgmt/instances/098653ba-218b-47ce-936a-e0b749101f81/action HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
<reboot xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
HTTP/1.1 202 Accepted
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 0
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
@ -1,6 +0,0 @@
|
|||||||
HTTP/1.1 202 Accepted
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Length: 58
|
|
||||||
Date: Mon, 06 Feb 2012 21:28:10 GMT
|
|
||||||
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
HTTP/1.1 202 Accepted
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Length: 58
|
|
||||||
Date: Mon, 06 Feb 2012 21:28:11 GMT
|
|
||||||
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
POST /v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7/action HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"resize": {
|
|
||||||
"volume": {
|
|
||||||
"size": 4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
POST /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/action HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
<resize xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<volume size="4"/>
|
|
||||||
</resize>
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
HTTP/1.1 202 Accepted
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 0
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
@ -1,6 +0,0 @@
|
|||||||
HTTP/1.1 202 Accepted
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 0
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
@ -1,43 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 621
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"instance": {
|
|
||||||
"created": "2013-03-18T19:09:17",
|
|
||||||
"flavor": {
|
|
||||||
"id": "1",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": "44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "json_rack_instance",
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"updated": "2013-03-18T19:09:17",
|
|
||||||
"volume": {
|
|
||||||
"size": 2,
|
|
||||||
"used": 0.16368598397821188
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 747
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<instance created="2013-03-18 19:09:17.441489" id="098653ba-218b-47ce-936a-e0b749101f81" name="xml_rack_instance" status="ACTIVE" updated="2013-03-18 19:09:17.513134" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
<volume size="2" used="0.163685983978"/>
|
|
||||||
<flavor id="1">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</instance>
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/action HTTP/1.1
|
|
||||||
User-Agent: python-example-client
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"update": {
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/action HTTP/1.1
|
|
||||||
User-Agent: python-example-client
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
<?xml version="1.0" ?>
|
|
||||||
<update xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
HTTP/1.1 202 Accepted
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Length: 58
|
|
||||||
Date: Wed, 29 Feb 2012 23:53:42 GMT
|
|
||||||
|
|
||||||
202 Accepted
|
|
||||||
|
|
||||||
The request is accepted for processing.
|
|
@ -1,8 +0,0 @@
|
|||||||
HTTP/1.1 202 Accepted
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Length: 58
|
|
||||||
Date: Wed, 29 Feb 2012 23:53:42 GMT
|
|
||||||
|
|
||||||
202 Accepted
|
|
||||||
|
|
||||||
The request is accepted for processing.
|
|
@ -1,79 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 1172
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"flavor": {
|
|
||||||
"id": "1",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": "098653ba-218b-47ce-936a-e0b749101f81",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "xml_rack_instance",
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"volume": {
|
|
||||||
"size": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"flavor": {
|
|
||||||
"id": "1",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": "44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "json_rack_instance",
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"volume": {
|
|
||||||
"size": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances?marker=44b277eb-39be-4921-be31-3d61b43651d7&limit=2",
|
|
||||||
"rel": "next"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,39 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 1538
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<instances xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<instance id="098653ba-218b-47ce-936a-e0b749101f81" name="xml_rack_instance" status="ACTIVE">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
<volume size="2"/>
|
|
||||||
<flavor id="1">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</instance>
|
|
||||||
<instance id="44b277eb-39be-4921-be31-3d61b43651d7" name="json_rack_instance" status="ACTIVE">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/44b277eb-39be-4921-be31-3d61b43651d7" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
<volume size="2"/>
|
|
||||||
<flavor id="1">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</instance>
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances?marker=44b277eb-39be-4921-be31-3d61b43651d7&limit=2" rel="next"/>
|
|
||||||
</links>
|
|
||||||
</instances>
|
|
||||||
|
|
@ -1,73 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 1038
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"flavor": {
|
|
||||||
"id": "1",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": "098653ba-218b-47ce-936a-e0b749101f81",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "xml_rack_instance",
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"volume": {
|
|
||||||
"size": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"flavor": {
|
|
||||||
"id": "1",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": "44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "json_rack_instance",
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"volume": {
|
|
||||||
"size": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 1380
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<instances xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<instance id="098653ba-218b-47ce-936a-e0b749101f81" name="xml_rack_instance" status="ACTIVE">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
<volume size="2"/>
|
|
||||||
<flavor id="1">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</instance>
|
|
||||||
<instance id="44b277eb-39be-4921-be31-3d61b43651d7" name="json_rack_instance" status="ACTIVE">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/44b277eb-39be-4921-be31-3d61b43651d7" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
<volume size="2"/>
|
|
||||||
<flavor id="1">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
</instance>
|
|
||||||
</instances>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/instances?marker=369018b0-30de-2775-ab39-a19bd20006e9&limit=5 HTTP/1.1
|
|
||||||
User-Agent: python-example-client
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
|
|
@ -1,90 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Content-Length: 648
|
|
||||||
Date: Wed, 25 Jan 2012 21:58:14 GMT
|
|
||||||
|
|
||||||
{
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"id": "28290db6-2f47-80d4-1b62-92bde6ff1a6e",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/28290db6-2f47-80d4-1b62-92bde6ff1a6e",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/28290db6-2f47-80d4-1b62-92bde6ff1a6e",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "example_rack_instance",
|
|
||||||
"status": "ACTIVE"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "ae939ae2-3827-d005-4de6-0028a5f438d0",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/ae939ae2-3827-d005-4de6-0028a5f438d0",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/ae939ae2-3827-d005-4de6-0028a5f438d0",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "example_rack_instance",
|
|
||||||
"status": "ACTIVE"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "006e4db2-5729-3f8e-77b0-075a1723ad37",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/006e4db2-5729-3f8e-77b0-075a1723ad37",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/006e4db2-5729-3f8e-77b0-075a1723ad37",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "example_rack_instance",
|
|
||||||
"status": "ACTIVE"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "2806d85e-d363-2a27-f7fd-4e9911ebd8a9",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/2806d85e-d363-2a27-f7fd-4e9911ebd8a9",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/2806d85e-d363-2a27-f7fd-4e9911ebd8a9",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "example_rack_instance",
|
|
||||||
"status": "ACTIVE"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "e0846e3b-3df4-398f-1e9a-d53650573dd1",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/e0846e3b-3df4-398f-1e9a-d53650573dd1",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/e0846e3b-3df4-398f-1e9a-d53650573dd1",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "example_rack_instance",
|
|
||||||
"status": "ACTIVE"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"rel": "next",
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances?marker=e0846e3b-3df4-398f-1e9a-d53650573dd1&limit=5"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Content-Length: 828
|
|
||||||
Date: Wed, 25 Jan 2012 21:58:14 GMT
|
|
||||||
|
|
||||||
<instances xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
</instance>
|
|
||||||
<instance id="28290db6-2f47-80d4-1b62-92bde6ff1a6e" name="example_rack_instance" status="ACTIVE">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/28290db6-2f47-80d4-1b62-92bde6ff1a6e" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/28290db6-2f47-80d4-1b62-92bde6ff1a6e" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</instance>
|
|
||||||
<instance id="ae939ae2-3827-d005-4de6-0028a5f438d0" name="example_rack_instance" status="ACTIVE">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/ae939ae2-3827-d005-4de6-0028a5f438d0" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/ae939ae2-3827-d005-4de6-0028a5f438d0" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</instance>
|
|
||||||
<instance id="006e4db2-5729-3f8e-77b0-075a1723ad37" name="example_rack_instance" status="ACTIVE">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/006e4db2-5729-3f8e-77b0-075a1723ad37" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/006e4db2-5729-3f8e-77b0-075a1723ad37" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</instance>
|
|
||||||
<instance id="2806d85e-d363-2a27-f7fd-4e9911ebd8a9" name="example_rack_instance" status="ACTIVE">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/2806d85e-d363-2a27-f7fd-4e9911ebd8a9" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/2806d85e-d363-2a27-f7fd-4e9911ebd8a9" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</instance>
|
|
||||||
<instance id="e0846e3b-3df4-398f-1e9a-d53650573dd1" name="example_rack_instance" status="ACTIVE">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/e0846e3b-3df4-398f-1e9a-d53650573dd1" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/e0846e3b-3df4-398f-1e9a-d53650573dd1" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</instance>
|
|
||||||
</instances>
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances?marker=e0846e3b-3df4-398f-1e9a-d53650573dd1&limit=5" rel="next" />
|
|
||||||
</links>
|
|
@ -1,20 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 192
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"databases": [
|
|
||||||
{
|
|
||||||
"name": "anotherdb"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7/databases?marker=anotherdb&limit=1",
|
|
||||||
"rel": "next"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 321
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<databases xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<database name="anotherdb"/>
|
|
||||||
<database name="nextround"/>
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/databases?marker=nextround&limit=2" rel="next"/>
|
|
||||||
</links>
|
|
||||||
</databases>
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 129
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"databases": [
|
|
||||||
{
|
|
||||||
"name": "anotherdb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "nextround"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "oneMoreDB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sampledb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "testingdb"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Content-Length: 0
|
|
||||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
|
||||||
|
|
||||||
<databases xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<database name="exampledb"/>
|
|
||||||
</databases>
|
|
@ -1,10 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Content-Length: 0
|
|
||||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
|
||||||
|
|
||||||
<user name="testuser" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<databases>
|
|
||||||
<database name="exampledb"/>
|
|
||||||
</databases>
|
|
||||||
</user>
|
|
@ -1,22 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 461
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<users xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<user name="dbuser1">
|
|
||||||
<databases/>
|
|
||||||
</user>
|
|
||||||
<user name="dbuser2">
|
|
||||||
<databases>
|
|
||||||
<database name="databaseB"/>
|
|
||||||
<database name="databaseC"/>
|
|
||||||
</databases>
|
|
||||||
</user>
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/users?marker=dbuser2&limit=2" rel="next"/>
|
|
||||||
</links>
|
|
||||||
</users>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/accounts/3000 HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/accounts/3000 HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 283
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"account": {
|
|
||||||
"id": "3000",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"host": "hostname_1",
|
|
||||||
"id": "44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"name": "json_rack_instance",
|
|
||||||
"status": "ACTIVE"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host": "hostname_1",
|
|
||||||
"id": "098653ba-218b-47ce-936a-e0b749101f81",
|
|
||||||
"name": "xml_rack_instance",
|
|
||||||
"status": "ACTIVE"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 361
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<account id="3000" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<instances>
|
|
||||||
<instance host="hostname_1" id="44b277eb-39be-4921-be31-3d61b43651d7" name="json_rack_instance" status="ACTIVE"/>
|
|
||||||
<instance host="hostname_1" id="098653ba-218b-47ce-936a-e0b749101f81" name="xml_rack_instance" status="ACTIVE"/>
|
|
||||||
</instances>
|
|
||||||
</account>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/hosts/hostname_1 HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/hosts/hostname_1 HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 456
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"host": {
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"id": "44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"name": "json_rack_instance",
|
|
||||||
"server_id": "48996795-5fd8-4bf7-8b33-3824a86f3b19",
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"tenant_id": "3000"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "098653ba-218b-47ce-936a-e0b749101f81",
|
|
||||||
"name": "xml_rack_instance",
|
|
||||||
"server_id": "b3aca411-ef1c-4c47-88d3-5a309096c204",
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"tenant_id": "3000"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "hostname_1",
|
|
||||||
"percentUsed": 204,
|
|
||||||
"totalRAM": 2004,
|
|
||||||
"usedRAM": 4096
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 517
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<host name="hostname_1" percentUsed="204" totalRAM="2004" usedRAM="4096" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<instances>
|
|
||||||
<instance id="44b277eb-39be-4921-be31-3d61b43651d7" name="json_rack_instance" server_id="48996795-5fd8-4bf7-8b33-3824a86f3b19" status="ACTIVE" tenant_id="3000"/>
|
|
||||||
<instance id="098653ba-218b-47ce-936a-e0b749101f81" name="xml_rack_instance" server_id="b3aca411-ef1c-4c47-88d3-5a309096c204" status="ACTIVE" tenant_id="3000"/>
|
|
||||||
</instances>
|
|
||||||
</host>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/instances/44b277eb-39be-4921-be31-3d61b43651d7 HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/instances/098653ba-218b-47ce-936a-e0b749101f81 HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
|
|
@ -1,80 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 1404
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"instance": {
|
|
||||||
"created": "2013-03-18T19:09:17",
|
|
||||||
"deleted": false,
|
|
||||||
"deleted_at": null,
|
|
||||||
"flavor": {
|
|
||||||
"id": "3",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/3",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"guest_status": {
|
|
||||||
"state_description": "running"
|
|
||||||
},
|
|
||||||
"id": "44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "self"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"rel": "bookmark"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "json_rack_instance",
|
|
||||||
"root_enabled": "2013-03-18T19:09:17",
|
|
||||||
"root_enabled_by": null,
|
|
||||||
"server": {
|
|
||||||
"addresses": {
|
|
||||||
"private": [
|
|
||||||
{
|
|
||||||
"addr": "123.123.123.123"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"deleted": false,
|
|
||||||
"deleted_at": null,
|
|
||||||
"host": "hostname_1",
|
|
||||||
"id": "48996795-5fd8-4bf7-8b33-3824a86f3b19",
|
|
||||||
"local_id": 0,
|
|
||||||
"name": "json_rack_instance",
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"tenant_id": "3000"
|
|
||||||
},
|
|
||||||
"service_status": "ACTIVE",
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"task_description": "No tasks for the instance.",
|
|
||||||
"tenant_id": "3000",
|
|
||||||
"updated": "2013-03-18T19:09:18",
|
|
||||||
"volume": {
|
|
||||||
"attachments": [
|
|
||||||
{
|
|
||||||
"device": "vdb",
|
|
||||||
"server_id": "48996795-5fd8-4bf7-8b33-3824a86f3b19"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"availability_zone": "fake-availability-zone",
|
|
||||||
"created_at": "2001-01-01-12:30:30",
|
|
||||||
"id": "VOL_70110787-f822-4cdf-8ead-44d25082befd",
|
|
||||||
"size": 4,
|
|
||||||
"status": "in-use",
|
|
||||||
"used": 0.16368598397821188
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 2401
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<instance created="2013-03-18 19:09:17.441489" deleted="False" deleted_at="None" id="098653ba-218b-47ce-936a-e0b749101f81" name="xml_rack_instance" status="ACTIVE" task_description="No tasks for the instance." tenant_id="3000" updated="2013-03-18 19:09:18.280855" xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
<server>
|
|
||||||
<status>
|
|
||||||
ACTIVE
|
|
||||||
</status>
|
|
||||||
<host>
|
|
||||||
hostname_1
|
|
||||||
</host>
|
|
||||||
<local_id>
|
|
||||||
0
|
|
||||||
</local_id>
|
|
||||||
<name>
|
|
||||||
xml_rack_instance
|
|
||||||
</name>
|
|
||||||
<deleted>
|
|
||||||
False
|
|
||||||
</deleted>
|
|
||||||
<tenant_id>
|
|
||||||
3000
|
|
||||||
</tenant_id>
|
|
||||||
<deleted_at>
|
|
||||||
None
|
|
||||||
</deleted_at>
|
|
||||||
<id>
|
|
||||||
b3aca411-ef1c-4c47-88d3-5a309096c204
|
|
||||||
</id>
|
|
||||||
<addresses>
|
|
||||||
<private>
|
|
||||||
<item>
|
|
||||||
<addr>
|
|
||||||
123.123.123.123
|
|
||||||
</addr>
|
|
||||||
</item>
|
|
||||||
</private>
|
|
||||||
</addresses>
|
|
||||||
</server>
|
|
||||||
<volume id="VOL_d3870ed4-3f5b-4b78-8ce4-c81f35f0fe2c" size="4" used="0.163685983978">
|
|
||||||
<status>
|
|
||||||
in-use
|
|
||||||
</status>
|
|
||||||
<attachments>
|
|
||||||
<attachment>
|
|
||||||
<device>
|
|
||||||
vdb
|
|
||||||
</device>
|
|
||||||
<server_id>
|
|
||||||
b3aca411-ef1c-4c47-88d3-5a309096c204
|
|
||||||
</server_id>
|
|
||||||
</attachment>
|
|
||||||
</attachments>
|
|
||||||
<availability_zone>
|
|
||||||
fake-availability-zone
|
|
||||||
</availability_zone>
|
|
||||||
<created_at>
|
|
||||||
2001-01-01-12:30:30
|
|
||||||
</created_at>
|
|
||||||
</volume>
|
|
||||||
<guest_status state_description="running"/>
|
|
||||||
<service_status>
|
|
||||||
ACTIVE
|
|
||||||
</service_status>
|
|
||||||
<root_enabled>
|
|
||||||
2013-03-18 19:09:17.772833
|
|
||||||
</root_enabled>
|
|
||||||
<flavor id="3">
|
|
||||||
<links>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3" rel="self"/>
|
|
||||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/3" rel="bookmark"/>
|
|
||||||
</links>
|
|
||||||
</flavor>
|
|
||||||
<root_enabled_by>
|
|
||||||
None
|
|
||||||
</root_enabled_by>
|
|
||||||
</instance>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/instances/44b277eb-39be-4921-be31-3d61b43651d7/root HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/instances/098653ba-218b-47ce-936a-e0b749101f81/root HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 112
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"root_history": {
|
|
||||||
"enabled": "2013-03-18T19:09:17",
|
|
||||||
"id": "44b277eb-39be-4921-be31-3d61b43651d7",
|
|
||||||
"user": null
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 159
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<root_history enabled="2013-03-18 19:09:17.772833" id="098653ba-218b-47ce-936a-e0b749101f81" user="None" xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/storage HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
||||||
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/storage HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|
||||||
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 177
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
{
|
|
||||||
"devices": [
|
|
||||||
{
|
|
||||||
"capacity": {
|
|
||||||
"available": 90,
|
|
||||||
"total": 100
|
|
||||||
},
|
|
||||||
"name": "fake_storage",
|
|
||||||
"provision": {
|
|
||||||
"available": 40,
|
|
||||||
"percent": 10,
|
|
||||||
"total": 50
|
|
||||||
},
|
|
||||||
"type": "test_type",
|
|
||||||
"used": 10
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/xml
|
|
||||||
Via: 1.1 Repose (Repose/2.6.7)
|
|
||||||
Content-Length: 254
|
|
||||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
|
||||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
|
||||||
|
|
||||||
<devices xmlns="http://docs.openstack.org/database/api/v1.0">
|
|
||||||
<device name="fake_storage" type="test_type" used="10">
|
|
||||||
<provision available="40" percent="10" total="50"/>
|
|
||||||
<capacity available="90" total="100"/>
|
|
||||||
</device>
|
|
||||||
</devices>
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/usage/tenant/1234 HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/json
|
|
||||||
Content-Type: application/json
|
|
@ -1,6 +0,0 @@
|
|||||||
GET /v1.0/1234/mgmt/usage/tenant/1234 HTTP/1.1
|
|
||||||
User-Agent: python-reddwarfclient
|
|
||||||
Host: ord.databases.api.rackspacecloud.com
|
|
||||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
||||||
Accept: application/xml
|
|
||||||
Content-Type: application/xml
|
|