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
|
||||
apidocs/.DS_Store
|
||||
apidocs/src/.DS_Store
|
||||
apidocs/src/samples/.DS_Store
|
||||
apidocs/includewars.xml
|
||||
apidocs/src/bookinfo.xml
|
||||
|
||||
# Testenvironment
|
||||
.tox/
|
||||
|
0
apidocs/.gitignore
vendored
Normal file
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<assembly>
|
||||
<id>includewars</id>
|
||||
<formats>
|
||||
@ -12,4 +13,4 @@
|
||||
</includes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
</assembly>
|
264
apidocs/pom.xml
@ -22,148 +22,148 @@
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.rackspace.cloud.api</groupId>
|
||||
<artifactId>clouddocs-maven-plugin</artifactId>
|
||||
<!-- 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 -->
|
||||
<version>1.12.2</version>
|
||||
<executions>
|
||||
|
||||
<execution>
|
||||
<id>cdb-devguide</id>
|
||||
<goals>
|
||||
<goal>generate-webhelp</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<security>reviewer</security>
|
||||
<sourceDirectory>src/resources</sourceDirectory>
|
||||
<highlightSource>false</highlightSource>
|
||||
<trimWadlUriCount>2</trimWadlUriCount>
|
||||
<!-- 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/ -->
|
||||
<enableDisqus>1</enableDisqus>
|
||||
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
|
||||
<includes>cdb-devguide.xml</includes>
|
||||
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content</canonicalUrlBase>
|
||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
</executions>
|
||||
<configuration>
|
||||
<socialIcons>1</socialIcons>
|
||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||
<branding>openstack</branding>
|
||||
<!-- <failOnValidationError>false</failOnValidationError> -->
|
||||
</configuration>
|
||||
<groupId>com.rackspace.cloud.api</groupId>
|
||||
<artifactId>clouddocs-maven-plugin</artifactId>
|
||||
<!-- 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 -->
|
||||
<version>1.12.2</version>
|
||||
<executions>
|
||||
|
||||
<execution>
|
||||
<id>cdb-devguide</id>
|
||||
<goals>
|
||||
<goal>generate-webhelp</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<security>reviewer</security>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<highlightSource>false</highlightSource>
|
||||
<trimWadlUriCount>2</trimWadlUriCount>
|
||||
<!-- 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/ -->
|
||||
<enableDisqus>1</enableDisqus>
|
||||
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
|
||||
<includes>cdb-devguide.xml</includes>
|
||||
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content</canonicalUrlBase>
|
||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
</executions>
|
||||
<configuration>
|
||||
<socialIcons>1</socialIcons>
|
||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||
<branding>openstack</branding>
|
||||
<!-- <failOnValidationError>false</failOnValidationError> -->
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Unpack the wadl normalization xslts -->
|
||||
<!-- Unpack the wadl normalization xslts -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>unpack-shared-resources</id>
|
||||
<goals>
|
||||
<goal>unpack-dependencies</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
|
||||
<includeGroupIds>com.rackspace.cloud.api</includeGroupIds>
|
||||
<includeArtifactIds>wadl-tools</includeArtifactIds>
|
||||
<excludeTransitive>true</excludeTransitive>
|
||||
<includes>**/xsl/*.xsl</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>unpack-shared-resources</id>
|
||||
<goals>
|
||||
<goal>unpack-dependencies</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
|
||||
<includeGroupIds>com.rackspace.cloud.api</includeGroupIds>
|
||||
<includeArtifactIds>wadl-tools</includeArtifactIds>
|
||||
<excludeTransitive>true</excludeTransitive>
|
||||
<includes>**/xsl/*.xsl</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugin>
|
||||
<!-- Normalize the dbaas wadl -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.5</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>ant</id>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<copy todir="${project.build.directory}/generated-resources/normalized/api/v1.0">
|
||||
<fileset dir="src/resources">
|
||||
<include name="xslts/**"/>
|
||||
</fileset>
|
||||
<fileset dir="src/resources">
|
||||
<include name="samples/**"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy file="../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"/>
|
||||
<java
|
||||
jar="${net.sourceforge.saxon:saxon:jar}"
|
||||
fork="true">
|
||||
<arg value="-u"/>
|
||||
<arg value="-s:../xsd/dbaas.wadl"/>
|
||||
<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="flattenXsds=false"/>
|
||||
</java>
|
||||
<replaceregexp file="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"
|
||||
match="file:/.*/xsd/dbaas.xsd"
|
||||
replace="xsd/cdb.xsd"/>
|
||||
<war destfile="${project.build.directory}/docbkx/webhelp/cdb-wadls.war" needxmlfile="false">
|
||||
<fileset dir="${project.build.directory}/generated-resources/normalized"/>
|
||||
</war>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.5</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>ant</id>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<copy todir="${project.build.directory}/generated-resources/normalized/api/v1.0">
|
||||
<fileset dir="src">
|
||||
<include name="xslts/**"/>
|
||||
</fileset>
|
||||
<fileset dir="src">
|
||||
<include name="samples/**"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy file="src/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/cdb.xsd"/>
|
||||
<java
|
||||
jar="${net.sourceforge.saxon:saxon:jar}"
|
||||
fork="true">
|
||||
<arg value="-u"/>
|
||||
<arg value="-s:src/xsd/dbaas.wadl"/>
|
||||
<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="flattenXsds=false"/>
|
||||
</java>
|
||||
<replaceregexp file="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"
|
||||
match="file:/.*/src/xsd/dbaas.xsd"
|
||||
replace="xsd/cdb.xsd"/>
|
||||
<war destfile="${project.build.directory}/docbkx/webhelp/cdb-wadls.war" needxmlfile="false">
|
||||
<fileset dir="${project.build.directory}/generated-resources/normalized"/>
|
||||
</war>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>includewars.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>assembly</id>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>includewars.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>assembly</id>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>Rackspace Research Repositories</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>rackspace-research</id>
|
||||
<name>Rackspace Research Repository</name>
|
||||
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>rackspace-research</id>
|
||||
<name>Rackspace Research Repository</name>
|
||||
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>Rackspace Research Repositories</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>rackspace-research</id>
|
||||
<name>Rackspace Research Repository</name>
|
||||
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>rackspace-research</id>
|
||||
<name>Rackspace Research Repository</name>
|
||||
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
@ -36,8 +36,7 @@
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xml:id="cdb-devguide"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml" xml:id="cdb-devguide"
|
||||
version="5.0">
|
||||
|
||||
<?rax title.font.size="35px" subtitle.font.size="20px"?>
|
||||
@ -66,7 +65,8 @@
|
||||
<pubdate>2013-05-02</pubdate>
|
||||
<legalnotice role="apache2">
|
||||
<annotation>
|
||||
<remark>Copyright details are filled in by the template.</remark>
|
||||
<remark>Copyright details are filled in by the
|
||||
template.</remark>
|
||||
</annotation>
|
||||
</legalnotice>
|
||||
<abstract>
|
||||
@ -90,17 +90,18 @@
|
||||
</revision>
|
||||
</revhistory>
|
||||
|
||||
<cover>
|
||||
<para>this is a placeholder for the front cover</para>
|
||||
</cover>
|
||||
<cover>
|
||||
<para>this is a placeholder for the back cover</para>
|
||||
</cover>
|
||||
<raxm:metadata xmlns:raxm="http://docs.rackspace.com/api/metadata">
|
||||
<raxm:displayname>API Developer Guide</raxm:displayname>
|
||||
<raxm:product version="v1.0">cdb</raxm:product>
|
||||
<raxm:priority>20</raxm:priority>
|
||||
</raxm:metadata>
|
||||
<cover>
|
||||
<para>this is a placeholder for the front cover</para>
|
||||
</cover>
|
||||
<cover>
|
||||
<para>this is a placeholder for the back cover</para>
|
||||
</cover>
|
||||
<raxm:metadata
|
||||
xmlns:raxm="http://docs.rackspace.com/api/metadata">
|
||||
<raxm:displayname>API Developer Guide</raxm:displayname>
|
||||
<raxm:product version="v1.0">cdb</raxm:product>
|
||||
<raxm:priority>20</raxm:priority>
|
||||
</raxm:metadata>
|
||||
</info>
|
||||
<chapter xml:id="overview">
|
||||
<title>Overview</title>
|
||||
@ -117,27 +118,27 @@
|
||||
>mysqldump</emphasis> until backups are supported
|
||||
in Cloud Databases.</para>
|
||||
</note>
|
||||
<para>The following figure shows an
|
||||
overview of Cloud Databases Infrastructure: <informalfigure>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata
|
||||
fileref="images/Cloud_DB_Infographic-1.svg"
|
||||
contentwidth="6in"/>
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</informalfigure>
|
||||
</para>
|
||||
<para>The following figure shows an overview of Cloud
|
||||
Databases Infrastructure:</para>
|
||||
<informalfigure>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata
|
||||
fileref="images/Cloud_DB_Infographic-1.svg"
|
||||
contentwidth="6in"/>
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</informalfigure>
|
||||
<remark security="reviewer">Reviewer: need to edit graphic
|
||||
above so it says "The Cloud" rather than "The Rackspace
|
||||
Cloud".</remark>
|
||||
<?hard-pagebreak?>
|
||||
<section xml:id="Intended_Audience-d1e122">
|
||||
<title>Intended Audience</title>
|
||||
<para>This Guide is intended to assist software
|
||||
developers who want to develop applications using the
|
||||
Cloud Databases API. It assumes the reader has a
|
||||
general understanding of databases and is familiar
|
||||
<para>This Guide is intended to assist software developers
|
||||
who want to develop applications using the Cloud
|
||||
Databases API. It assumes the reader has a general
|
||||
understanding of databases and is familiar
|
||||
with:</para>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
@ -167,7 +168,8 @@
|
||||
xlink:href="http://docs.openstack.org/"
|
||||
>http://docs.openstack.org/</link>.</para>
|
||||
<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>
|
||||
<para>This API uses standard HTTP 1.1 response codes as
|
||||
documented at: <link
|
||||
@ -230,19 +232,20 @@
|
||||
authentication system that allows seamless access between
|
||||
products and services.</para>
|
||||
<note>
|
||||
<para>All requests to authenticate against and operate the service are performed using
|
||||
SSL over HTTP (HTTPS) on TCP port 443.</para>
|
||||
<para>All requests to authenticate against and operate the
|
||||
service are performed using SSL over HTTP (HTTPS) on
|
||||
TCP port 443.</para>
|
||||
</note>
|
||||
<section xml:id="Authentication-d1e647">
|
||||
<title>Authentication</title>
|
||||
<para>Each HTTP request against the Cloud Database
|
||||
service requires the inclusion of specific
|
||||
authentication credentials. A single deployment may
|
||||
support multiple authentication schemes (OAuth, Basic
|
||||
Auth, Token). The authentication scheme used is
|
||||
determined by the provider of the Cloud Database
|
||||
service. Please contact your provider to determine the
|
||||
best way to authenticate against this API.</para>
|
||||
<para>Each HTTP request against the Cloud Database service
|
||||
requires the inclusion of specific authentication
|
||||
credentials. A single deployment may support multiple
|
||||
authentication schemes (OAuth, Basic Auth, Token). The
|
||||
authentication scheme used is determined by the
|
||||
provider of the Cloud Database service. Please contact
|
||||
your provider to determine the best way to
|
||||
authenticate against this API.</para>
|
||||
<note>
|
||||
<para>Some authentication schemes may require that the
|
||||
API operate using SSL over HTTP (HTTPS).</para>
|
||||
@ -250,8 +253,8 @@
|
||||
</section>
|
||||
<section xml:id="DB_service_versions">
|
||||
<title>Cloud Databases Service Versions</title>
|
||||
<para>The Cloud Databases version defines the contract
|
||||
and build information for the API.</para>
|
||||
<para>The Cloud Databases version defines the contract and
|
||||
build information for the API.</para>
|
||||
<section xml:id="Contract_Version-d1e825">
|
||||
<title>Contract Version</title>
|
||||
<para>The contract version denotes the data model and
|
||||
@ -259,18 +262,17 @@
|
||||
contract version is included in all request URLs.
|
||||
Different contract versions of the API may be
|
||||
available at any given time and are not guaranteed
|
||||
to be compatible with one another.
|
||||
</para>
|
||||
to be compatible with one another.</para>
|
||||
<example>
|
||||
<title>Example Request URL (contract version
|
||||
in <emphasis role="strong"
|
||||
>bold</emphasis>)</title>
|
||||
<programlisting>https://ord.databases.api.rackspacecloud.com/<emphasis role="strong">v1.0</emphasis>/1234</programlisting>
|
||||
<title>Example Request URL (contract version in
|
||||
<emphasis role="strong"
|
||||
>bold</emphasis>)</title>
|
||||
<programlisting>https://ord.databases.api.rackspacecloud.com/<emphasis role="strong">v1.0</emphasis>/1234</programlisting>
|
||||
</example>
|
||||
<note>
|
||||
<para>This document pertains to contract
|
||||
version 1.0.</para>
|
||||
</note>
|
||||
<note>
|
||||
<para>This document pertains to contract version
|
||||
1.0.</para>
|
||||
</note>
|
||||
|
||||
</section>
|
||||
<section xml:id="API_Version_Headers-d1e855">
|
||||
@ -284,24 +286,26 @@
|
||||
<?hard-pagebreak?>
|
||||
<section xml:id="datetimeformat">
|
||||
<title>Date/Time Format</title>
|
||||
<para>The Database Service uses an ISO-8601 compliant
|
||||
date format for the display and consumption of
|
||||
date/time values.</para>
|
||||
<para>The system timezone is in UTC. MySQL converts TIMESTAMP values from
|
||||
the current time zone to UTC for storage, and back
|
||||
from UTC to the current time zone for retrieval.
|
||||
This does not occur for other types, such as DATETIME.
|
||||
</para>
|
||||
<example>
|
||||
<title>DB Service Date/Time Format</title>
|
||||
<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>May 19th, 2011 at 8:07:08 AM, GMT-5 would have the following
|
||||
format:</para>
|
||||
<programlisting>2011-05-19T08:07:08-05:00</programlisting>
|
||||
</example>
|
||||
<para>The Database Service uses an ISO-8601 compliant date
|
||||
format for the display and consumption of date/time
|
||||
values.</para>
|
||||
<para>The system timezone is in UTC. MySQL converts
|
||||
TIMESTAMP values from the current time zone to UTC for
|
||||
storage, and back from UTC to the current time zone
|
||||
for retrieval. This does not occur for other types,
|
||||
such as DATETIME.</para>
|
||||
<example>
|
||||
<title>DB Service Date/Time Format</title>
|
||||
<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>May 19th, 2011 at 8:07:08 AM, GMT-5 would have
|
||||
the following format:</para>
|
||||
<programlisting>2011-05-19T08:07:08-05:00</programlisting>
|
||||
</example>
|
||||
<table rules="all">
|
||||
<caption>Explanation of Date/Time Format Codes</caption>
|
||||
<caption>Explanation of Date/Time Format
|
||||
Codes</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Code</td>
|
||||
@ -339,7 +343,8 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SSS</td>
|
||||
<td>Three digit milliseconds of the second</td>
|
||||
<td>Three digit milliseconds of the
|
||||
second</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Z</td>
|
||||
@ -359,8 +364,8 @@
|
||||
20. If a request supplies no limit or one that exceeds
|
||||
the configured default limit, the default is used
|
||||
instead.</para>
|
||||
<para>Pagination provides the ability to limit the size
|
||||
of the returned data as well as retrieve a specified
|
||||
<para>Pagination provides the ability to limit the size of
|
||||
the returned data as well as retrieve a specified
|
||||
subset of a large data set. Pagination has two key
|
||||
concepts: limit and marker. <emphasis>Limit</emphasis>
|
||||
is the restriction on the maximum number of items for
|
||||
@ -400,7 +405,8 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<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
|
||||
specified database instance.</td>
|
||||
</tr>
|
||||
@ -417,21 +423,17 @@
|
||||
returned.</para>
|
||||
<para>See the examples of paged List Instances calls that
|
||||
follow.</para>
|
||||
<remark security="reviewer">Reviewer: Need new examples that show OpenStack
|
||||
host.</remark>
|
||||
<remark security="reviewer">Reviewer: Need new examples
|
||||
that show OpenStack host.</remark>
|
||||
<example>
|
||||
<title>List Instances Paged Request: XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="xml">
|
||||
<xi:include href="samples/db-instances-index-pagination-request.xml" parse="text"/>
|
||||
</programlisting>
|
||||
<programlisting language="xml"><xi:include href="samples/db-instances-index-pagination-request-xml.txt" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>List Instances Paged Request: JSON</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="json">
|
||||
<xi:include href="samples/db-instances-index-pagination-request.json" parse="text"/>
|
||||
</programlisting>
|
||||
<programlisting language="json"><xi:include href="samples/db-instances-index-pagination-request-json.txt" parse="text"/></programlisting>
|
||||
</example>
|
||||
<para>Notice that the paged request examples above set the
|
||||
limit to 2 (<code>?limit=2</code>), so the responses
|
||||
@ -446,27 +448,35 @@
|
||||
<example>
|
||||
<title>List Instances Paged Response: XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="xml">
|
||||
<xi:include href="samples/db-instances-index-pagination-response.xml" parse="text"/>
|
||||
</programlisting>
|
||||
<literallayout>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)</literallayout>
|
||||
<programlisting language="xml"><xi:include href="samples/db-instances-index-pagination-response.xml" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>List Instances Paged Response: JSON</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="json">
|
||||
<xi:include href="samples/db-instances-index-pagination-response.json" parse="text"/>
|
||||
</programlisting>
|
||||
<literallayout>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)</literallayout>
|
||||
<programlisting language="json"><xi:include href="samples/db-instances-index-pagination-response.json" parse="text"/></programlisting>
|
||||
</example>
|
||||
</section>
|
||||
<section xml:id="DB_faults">
|
||||
<title>Faults</title>
|
||||
<para>When an error occurs, the Database Service returns
|
||||
a fault object containing an HTTP error response code
|
||||
<para>When an error occurs, the Database Service returns a
|
||||
fault object containing an HTTP error response code
|
||||
that denotes the type of error. In the body of the
|
||||
response, the system will return additional
|
||||
information about the fault.</para>
|
||||
<para>The following table lists possible fault types with their associated error codes
|
||||
and descriptions.</para>
|
||||
<para>The following table lists possible fault types with
|
||||
their associated error codes and descriptions.</para>
|
||||
<informaltable rules="all">
|
||||
<thead>
|
||||
<tr align="center">
|
||||
@ -479,12 +489,15 @@
|
||||
<tr>
|
||||
<td colspan="2"><code>badRequest</code></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>
|
||||
<td colspan="2"><code>unauthorized</code></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>
|
||||
<td colspan="2"><code>forbidden</code></td>
|
||||
@ -502,20 +515,25 @@
|
||||
<tr>
|
||||
<td colspan="2"><code>badMethod</code></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>
|
||||
<td colspan="2"><code>overLimit</code></td>
|
||||
<td colspan="1">413</td>
|
||||
<td colspan="3">Either the number of entities in the request is larger than
|
||||
allowed limits, or the user has exceeded allowable request rate limits.
|
||||
See the <code>details</code> element for more specifics. Contact support
|
||||
if you think you need higher request rate limits.</td>
|
||||
<td colspan="3">Either the number of entities
|
||||
in the request is larger than allowed
|
||||
limits, or the user has exceeded allowable
|
||||
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>
|
||||
<td colspan="2"><code>badMediaType</code></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>
|
||||
<td colspan="2"
|
||||
@ -528,13 +546,17 @@
|
||||
<td colspan="2"
|
||||
><code>instanceFault</code></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>
|
||||
<td colspan="2"
|
||||
><code>notImplemented</code></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>
|
||||
<td colspan="2"
|
||||
@ -545,66 +567,83 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</informaltable>
|
||||
<para>The following two <code>instanceFault</code>
|
||||
<para>The following two <code>instanceFault</code>
|
||||
examples show errors when the server has erred or
|
||||
cannot perform the requested operation:</para>
|
||||
|
||||
<example>
|
||||
<title>Example instanceFault Response: XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="xml">
|
||||
<xi:include href="samples/db-faults-instanceFault.xml" parse="text"/>
|
||||
</programlisting>
|
||||
<literallayout>HTTP/1.1 500 Internal Server Error
|
||||
Content-Type: application/xml
|
||||
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>
|
||||
<title>Example Fault Response: JSON</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="json">
|
||||
<xi:include href="samples/db-faults-instanceFault.json" parse="text"/>
|
||||
</programlisting>
|
||||
<literallayout>HTTP/1.1 500 Internal Server Error
|
||||
Content-Length: 120
|
||||
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>
|
||||
<para>The error code (<code>code</code>) is returned in the body of the response for
|
||||
convenience. The <code>message</code> element returns a human-readable message that
|
||||
is appropriate for display to the end user. The <code>details</code> element is
|
||||
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 error code (<code>code</code>) is returned in
|
||||
the body of the response for convenience. The
|
||||
<code>message</code> element returns a
|
||||
human-readable message that is appropriate for display
|
||||
to the end user. The <code>details</code> element is
|
||||
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,
|
||||
<code>instanceFault</code>) may change depending
|
||||
on the type of error.</para>
|
||||
<para><?rax-fo keep-with-next?>The following two <code>badRequest</code> examples
|
||||
show errors when the volume size is invalid:</para>
|
||||
<para><?rax-fo keep-with-next?>The following two
|
||||
<code>badRequest</code> examples show errors when
|
||||
the volume size is invalid:</para>
|
||||
<example>
|
||||
<title>Example badRequest Fault on Volume Size Errors:
|
||||
XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="xml">
|
||||
<xi:include href="samples/db-faults-badRequest.xml" parse="text"/>
|
||||
</programlisting>
|
||||
<literallayout>HTTP/1.1 400 None
|
||||
Content-Type: application/xml
|
||||
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>
|
||||
<title>Example badRequest Fault on Volume Size Errors:
|
||||
JSON</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="json">
|
||||
<xi:include href="samples/db-faults-badRequest.json" parse="text"/>
|
||||
</programlisting>
|
||||
<literallayout>HTTP/1.1 400 None
|
||||
Content-Length: 120
|
||||
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>
|
||||
<para>The next two examples show
|
||||
<code>itemNotFound</code> errors:</para>
|
||||
<para>The next two examples show <code>itemNotFound</code>
|
||||
errors:</para>
|
||||
<example>
|
||||
<title>Example itemNotFound Fault: XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="xml">
|
||||
<xi:include href="samples/db-faults-itemNotFound.xml" parse="text"/>
|
||||
</programlisting>
|
||||
<literallayout>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</literallayout>
|
||||
<programlisting language="xml"><xi:include href="samples/db-faults-itemNotFound.xml" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>Example itemNotFound Fault: JSON</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="json">
|
||||
<xi:include href="samples/db-faults-itemNotFound.json" parse="text"/>
|
||||
</programlisting>
|
||||
<literallayout>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</literallayout>
|
||||
<programlisting language="json"><xi:include href="samples/db-faults-itemNotFound.json" parse="text"/></programlisting>
|
||||
</example>
|
||||
<section xml:id="synchro_vs_async_faults">
|
||||
<title>Synchronous Versus Asynchronous
|
||||
@ -614,7 +653,8 @@
|
||||
fault contains an HTTP error response code, a
|
||||
human readable message, and optional details about
|
||||
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>
|
||||
<para>List Users</para>
|
||||
</listitem>
|
||||
@ -654,7 +694,7 @@
|
||||
HTTP error response code, a human readable
|
||||
message, and optional details about the error. The
|
||||
following Database API calls are asynchronous and
|
||||
may produce asynchronous faults:<itemizedlist
|
||||
may produce asynchronous faults:</para><itemizedlist
|
||||
spacing="compact">
|
||||
<listitem>
|
||||
<para>Create Instance</para>
|
||||
@ -683,22 +723,25 @@
|
||||
<listitem>
|
||||
<para>Restart Instance</para>
|
||||
</listitem>
|
||||
</itemizedlist><note>
|
||||
</itemizedlist>
|
||||
<note>
|
||||
<para>Note that an asynchronous operation, if
|
||||
it fails, may not give the user an error,
|
||||
and the operation can error out without a
|
||||
failure notification.</para>
|
||||
</note></para>
|
||||
</note>
|
||||
</section>
|
||||
</section>
|
||||
<section xml:id="database_instance_status">
|
||||
<title>Database Instance Status</title>
|
||||
<para><?rax-fo keep-with-next?>When making an API call to create, list, or delete
|
||||
database instance(s), the following database instance
|
||||
status values are possible:</para>
|
||||
<para><?rax-fo keep-with-next?>When making an API call to
|
||||
create, list, or delete database instance(s), the
|
||||
following database instance status values are
|
||||
possible:</para>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>BUILD – The database instance is being provisioned.</para>
|
||||
<para>BUILD – The database instance is being
|
||||
provisioned.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>REBOOT – The database instance is
|
||||
@ -713,21 +756,19 @@
|
||||
unresponsive at the moment.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>RESIZE – The database instance is being
|
||||
resized at the moment.</para>
|
||||
<para>RESIZE – The database instance is
|
||||
being resized at the moment.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>SHUTDOWN – The database instance is
|
||||
terminating services. Also, SHUTDOWN is
|
||||
returned if for any reason the MySQL instance
|
||||
is shut down but not the actual server.</para>
|
||||
<para>
|
||||
<note>
|
||||
<para>If MySQL has crashed (causing the
|
||||
SHUTDOWN status), please call support
|
||||
for assistance.</para>
|
||||
</note>
|
||||
</para>
|
||||
<note>
|
||||
<para>If MySQL has crashed (causing the
|
||||
SHUTDOWN status), please call support for
|
||||
assistance.</para>
|
||||
</note>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>ERROR – The last operation for the
|
||||
@ -739,8 +780,7 @@
|
||||
</chapter>
|
||||
|
||||
<chapter xml:id="API_Operations-d1e2264"
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
role="api-reference">
|
||||
xmlns="http://docbook.org/ns/docbook" role="api-reference">
|
||||
<title>API Operations</title>
|
||||
<note>
|
||||
<para>Do not use trailing slashes (/) at the end of calls
|
||||
@ -754,12 +794,13 @@
|
||||
<title>API Versions</title>
|
||||
<para>This section describes the versions that are
|
||||
supported for the Cloud Databases API.</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../../../xsd/dbaas.wadl#versions">
|
||||
<wadl:resources
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="xsd/dbaas.wadl#versions">
|
||||
<wadl:method href="getVersions"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../../../xsd/dbaas.wadl#version">
|
||||
<wadl:method href="getVersionInfo" />
|
||||
<wadl:resource href="xsd/dbaas.wadl#version">
|
||||
<wadl:method href="getVersionInfo"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
|
||||
@ -767,18 +808,20 @@
|
||||
|
||||
<section xml:id="Database_Instances">
|
||||
<title>Database Instances</title>
|
||||
<para>This section describes the operations that are supported for database instances.</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../../../xsd/dbaas.wadl#instances" >
|
||||
<para>This section describes the operations that are
|
||||
supported for database instances.</para>
|
||||
<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="getInstance"/>
|
||||
</wadl:resource>
|
||||
|
||||
<wadl:resource href="../../../xsd/dbaas.wadl#instanceId">
|
||||
<wadl:resource href="xsd/dbaas.wadl#instanceId">
|
||||
<wadl:method href="getInstanceById"/>
|
||||
<wadl:method href="deleteInstance"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../../../xsd/dbaas.wadl#root">
|
||||
<wadl:resource href="xsd/dbaas.wadl#root">
|
||||
<wadl:method href="createRoot"/>
|
||||
<wadl:method href="isRootEnabled"/>
|
||||
</wadl:resource>
|
||||
@ -787,9 +830,11 @@
|
||||
|
||||
<section xml:id="Database_Instances_Actions">
|
||||
<title>Database Instance Actions</title>
|
||||
<para>This section describes the actions that are supported for database instances.</para>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../../../xsd/dbaas.wadl#instanceAction" >
|
||||
<para>This section describes the actions that are
|
||||
supported for database instances.</para>
|
||||
<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="resizeInstance"/>
|
||||
<wadl:method href="resizeVolume"/>
|
||||
@ -803,11 +848,11 @@
|
||||
supported for databases.</para>
|
||||
<wadl:resources
|
||||
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="getDatabases"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../../../xsd/dbaas.wadl#databaseName">
|
||||
<wadl:resource href="xsd/dbaas.wadl#databaseName">
|
||||
<wadl:method href="deleteDatabase"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
@ -840,20 +885,18 @@
|
||||
</warning>
|
||||
<wadl:resources
|
||||
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="getUsers"/>
|
||||
<wadl:method href="changePass"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../../../xsd/dbaas.wadl#userId">
|
||||
<wadl:resource href="xsd/dbaas.wadl#userId">
|
||||
<wadl:method href="listUser"/>
|
||||
<wadl:method href="deleteUser"/>
|
||||
<wadl:resource
|
||||
href="../../../xsd/dbaas.wadl#database">
|
||||
<wadl:resource href="xsd/dbaas.wadl#database">
|
||||
<wadl:method href="getUserAccess"/>
|
||||
<wadl:method href="grantUserAccess"/>
|
||||
<wadl:resource
|
||||
href="../../../xsd/dbaas.wadl#dbName">
|
||||
<wadl:resource href="xsd/dbaas.wadl#dbName">
|
||||
<wadl:method href="revokeUserAccess"/>
|
||||
</wadl:resource>
|
||||
</wadl:resource>
|
||||
@ -867,11 +910,11 @@
|
||||
supported for flavors.</para>
|
||||
<wadl:resources
|
||||
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:resource>
|
||||
|
||||
<wadl:resource href="../../../xsd/dbaas.wadl#flavorId">
|
||||
<wadl:resource href="xsd/dbaas.wadl#flavorId">
|
||||
<wadl:method href="getFlavorById"/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
@ -882,31 +925,44 @@
|
||||
<glossentry xml:id="Database-d1e017">
|
||||
<glossterm>database</glossterm>
|
||||
<glossdef>
|
||||
<para>A MySQL database within a database instance.</para>
|
||||
<para>A MySQL database within a database
|
||||
instance.</para>
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
<glossentry xml:id="Database-Instance-d1e016">
|
||||
<glossterm>database instance</glossterm>
|
||||
<glossdef>
|
||||
<para>A database instance is an isolated MySQL instance in a single tenant environment on a
|
||||
shared physical host machine. Also referred to as instance.</para>
|
||||
<para>A database instance is an isolated MySQL
|
||||
instance in a single tenant environment on a
|
||||
shared physical host machine. Also referred to as
|
||||
instance.</para>
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
<glossentry xml:id="Flavor-d1e018">
|
||||
<glossterm>flavor</glossterm>
|
||||
<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>
|
||||
</glossentry>
|
||||
<glossentry xml:id="Volume-d1e019">
|
||||
<glossterm>volume</glossterm>
|
||||
<glossdef>
|
||||
<para>A volume is user-specified storage that contains the MySQL data directory.
|
||||
Volumes are automatically provisioned on shared Internet Small Computer System Interface (iSCSI)
|
||||
storage area networks (SAN) that provide for increased 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>
|
||||
<para>A volume is user-specified storage that contains
|
||||
the MySQL data directory. Volumes are
|
||||
automatically provisioned on shared Internet Small
|
||||
Computer System Interface (iSCSI) storage area
|
||||
networks (SAN) that provide for increased
|
||||
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>
|
||||
</glossentry>
|
||||
</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
|