Cleanup whitespace
Cleanup whitespace as found by niceness gate Change-Id: I96a51da18a4f4363d198bd6bbdb1fd1b9bbdb3b6
This commit is contained in:
parent
a2881ec538
commit
377e565e40
|
@ -4,12 +4,12 @@
|
|||
<port_state>ACTIVE</port_state>
|
||||
<fixed_ips>
|
||||
<fixed_ip>
|
||||
<subnet_id>f8a6e8f8-c2ec-497c-9f23-da9616de54ef</subnet_id>
|
||||
<ip_address>192.168.1.3</ip_address>
|
||||
<subnet_id>f8a6e8f8-c2ec-497c-9f23-da9616de54ef</subnet_id>
|
||||
<ip_address>192.168.1.3</ip_address>
|
||||
</fixed_ip>
|
||||
</fixed_ips>
|
||||
<port_id>ce531f90-199f-48c0-816c-13e38010b442</port_id>
|
||||
<net_id>3cb9bc59-5699-4588-a4b1-b87f96708bc6</net_id>
|
||||
<mac_addr>fa:16:3e:4c:2c:30</mac_addr>
|
||||
</interfaceAttachment>
|
||||
</interfaceAttachments>
|
||||
</interfaceAttachments>
|
||||
|
|
|
@ -74,13 +74,13 @@
|
|||
<param name="name" style="plain" required="true"
|
||||
type="csapi:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> Name of
|
||||
xml:lang="EN"><para>Name of
|
||||
aggregate</para></wadl:doc>
|
||||
</param>
|
||||
<param name="availability_zone" style="plain"
|
||||
required="true" type="csapi:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> Availability zone of
|
||||
xml:lang="EN"><para>Availability zone of
|
||||
aggregate</para></wadl:doc>
|
||||
</param>
|
||||
<representation mediaType="application/xml">
|
||||
|
@ -162,13 +162,13 @@
|
|||
<param name="name" style="plain" required="true"
|
||||
type="csapi:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> Name of
|
||||
xml:lang="EN"><para>Name of
|
||||
aggregate.</para></wadl:doc>
|
||||
</param>
|
||||
<param name="availability_zone" style="plain"
|
||||
required="true" type="csapi:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> Availability zone of
|
||||
xml:lang="EN"><para>Availability zone of
|
||||
aggregate.</para></wadl:doc>
|
||||
</param>
|
||||
<representation mediaType="application/xml">
|
||||
|
@ -227,7 +227,7 @@
|
|||
<param name="metadata" style="plain" required="true"
|
||||
type="csapi:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> Metadata value to be
|
||||
xml:lang="EN"><para>Metadata value to be
|
||||
set.</para></wadl:doc>
|
||||
</param>
|
||||
<representation mediaType="application/xml">
|
||||
|
@ -275,7 +275,7 @@
|
|||
<param name="host" style="plain" required="true"
|
||||
type="csapi:UUID">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> Host ID to add to an
|
||||
xml:lang="EN"><para>Host ID to add to an
|
||||
aggregate, which is a collection of multiple
|
||||
groups of hosts that share common resources
|
||||
like storage and network.</para></wadl:doc>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
required="false">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN" title="html">
|
||||
<para> Set to true to generate the report in HTML
|
||||
<para>Set to true to generate the report in HTML
|
||||
format.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN" title="Server UUID">
|
||||
<para> The UUID for the server of
|
||||
<para>The UUID for the server of
|
||||
interest to you.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="List extended status for servers">
|
||||
<para role="shortdesc">Lists the extended status
|
||||
attributes in the detailed response for all servers. </para>
|
||||
attributes in the detailed response for all servers.</para>
|
||||
<para>The extended status attributes are vm_state,
|
||||
power_state, and task_state.</para>
|
||||
</wadl:doc>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
required="true">
|
||||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> The ID of the
|
||||
xml:lang="EN"><para>The ID of the
|
||||
flavor of interest to you.
|
||||
</para></wadl:doc>
|
||||
</param>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>The flavor ID. </para>
|
||||
<para>The flavor ID.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<method href="#deleteFlavor"/>
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Update host">
|
||||
<para role="shortdesc">Enables a host or puts it in
|
||||
maintenance mode. </para>
|
||||
maintenance mode.</para>
|
||||
</wadl:doc>
|
||||
<request>
|
||||
<param name="status" style="plain" required="true"
|
||||
|
|
|
@ -250,7 +250,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN" title="Create multiple servers">
|
||||
<para role="shortdesc">A dictionary representation
|
||||
of a network. </para></wadl:doc>
|
||||
of a network.</para></wadl:doc>
|
||||
</param>
|
||||
<param name="label" style="plain" required="true"
|
||||
type="xsd:string">
|
||||
|
@ -264,14 +264,14 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN" title="Create multiple servers">
|
||||
<para role="shortdesc">VIFs on this network are
|
||||
connected to this bridge. </para></wadl:doc>
|
||||
connected to this bridge.</para></wadl:doc>
|
||||
</param>
|
||||
<param name="bridge_interface" style="plain"
|
||||
required="false" type="xsd:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN" title="Create multiple servers">
|
||||
<para role="shortdesc">The bridge is connected to
|
||||
this interface. </para></wadl:doc>
|
||||
this interface.</para></wadl:doc>
|
||||
</param>
|
||||
<param name="cidr" style="plain" required="false"
|
||||
type="xsd:string">
|
||||
|
@ -291,7 +291,7 @@
|
|||
type="csapi:UUID">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN" title="Create multiple servers">
|
||||
<para role="shortdesc">Vlan id. </para></wadl:doc>
|
||||
<para role="shortdesc">Vlan id.</para></wadl:doc>
|
||||
</param>
|
||||
<param name="cidr_v6" style="plain" required="false"
|
||||
type="xsd:string">
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
required="true" type="xsd:dict">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para>Dictionary of data to send to
|
||||
the scheduler. </para></wadl:doc>
|
||||
the scheduler.</para></wadl:doc>
|
||||
</param>
|
||||
<representation mediaType="application/json">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
type="csapi:UUID">
|
||||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> The UUID for the
|
||||
xml:lang="EN"><para>The UUID for the
|
||||
server of interest to you.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
|
|
|
@ -219,7 +219,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Delete volume attachment">
|
||||
<para role="shortdesc">Deletes the specified volume
|
||||
attachment from a specified server. </para></wadl:doc>
|
||||
attachment from a specified server.</para></wadl:doc>
|
||||
<request>
|
||||
<representation mediaType="application/xml"
|
||||
element="csapi:attachvolume"/>
|
||||
|
|
|
@ -587,7 +587,7 @@
|
|||
<para>The name of the server. If you edit the
|
||||
server name, the server host name does not
|
||||
change. Also, server names are not guaranteed
|
||||
to be unique. </para>
|
||||
to be unique.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param name="accessIPv4" style="plain" required="false"
|
||||
|
@ -778,7 +778,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN" title="Location">
|
||||
<para>Specific URL of the server you want to
|
||||
rebuild. </para></wadl:doc>
|
||||
rebuild.</para></wadl:doc>
|
||||
</param>
|
||||
<representation mediaType="application/json">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
|
@ -985,7 +985,7 @@
|
|||
<para role="shortdesc">Lists addresses for a specified
|
||||
tenant, server, and network.</para>
|
||||
<para>Specify the tenant ID, server ID, and network label
|
||||
in the request URI. </para>
|
||||
in the request URI.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/json">
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<apiKeyCredentials
|
||||
xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"
|
||||
username="testuser"
|
||||
apiKey="aaaaa-bbbbb-ccccc-12345678"/>
|
||||
|
||||
xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"
|
||||
username="testuser"
|
||||
apiKey="aaaaa-bbbbb-ccccc-12345678"/>
|
||||
|
|
|
@ -1,70 +1,70 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<access xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<token id="ab48a9efdfedb23ty3494" expires="2010-11-01T03:32:15-05:00">
|
||||
<tenant id="t1000" name="My Project" />
|
||||
</token>
|
||||
<user id="u123" name="jqsmith">
|
||||
<roles>
|
||||
<role id="100" name="compute:admin"/>
|
||||
<role id="101" name="object-store:admin" tenantId="t1000"/>
|
||||
</roles>
|
||||
</user>
|
||||
<serviceCatalog>
|
||||
<service type="compute" name="Cloud Servers">
|
||||
<endpoint
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<token id="ab48a9efdfedb23ty3494" expires="2010-11-01T03:32:15-05:00">
|
||||
<tenant id="t1000" name="My Project" />
|
||||
</token>
|
||||
<user id="u123" name="jqsmith">
|
||||
<roles>
|
||||
<role id="100" name="compute:admin"/>
|
||||
<role id="101" name="object-store:admin" tenantId="t1000"/>
|
||||
</roles>
|
||||
</user>
|
||||
<serviceCatalog>
|
||||
<service type="compute" name="Cloud Servers">
|
||||
<endpoint
|
||||
tenantId="t1000"
|
||||
region="North"
|
||||
publicURL="https://compute.north.host.com/v1/t1000"
|
||||
internalURL="https://compute.north.host.internal/v1/t1000">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.host.com/v1/"
|
||||
list="https://compute.north.host.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
<endpoint
|
||||
region="North"
|
||||
publicURL="https://compute.north.host.com/v1/t1000"
|
||||
internalURL="https://compute.north.host.internal/v1/t1000">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.host.com/v1/"
|
||||
list="https://compute.north.host.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
<endpoint
|
||||
tenantId="t1000"
|
||||
region="North"
|
||||
publicURL="https://compute.north.host.com/v1.1/t1000"
|
||||
internalURL="https://compute.north.host.internal/v1.1/t1000">
|
||||
<version
|
||||
id="1.1"
|
||||
info="https://compute.north.host.com/v1.1/"
|
||||
list="https://compute.north.host.com/" />
|
||||
</endpoint>
|
||||
</service>
|
||||
<service type="object-store" name="Cloud Files">
|
||||
<endpoint
|
||||
region="North"
|
||||
publicURL="https://compute.north.host.com/v1.1/t1000"
|
||||
internalURL="https://compute.north.host.internal/v1.1/t1000">
|
||||
<version
|
||||
id="1.1"
|
||||
info="https://compute.north.host.com/v1.1/"
|
||||
list="https://compute.north.host.com/" />
|
||||
</endpoint>
|
||||
</service>
|
||||
<service type="object-store" name="Cloud Files">
|
||||
<endpoint
|
||||
tenantId="t1000"
|
||||
region="North"
|
||||
publicURL="https://storage.north.host.com/v1/t1000"
|
||||
internalURL="https://storage.north.host.internal/v1/t1000">
|
||||
<version
|
||||
id="1"
|
||||
info="https://storage.north.host.com/v1/"
|
||||
list="https://storage.north.host.com/" />
|
||||
</endpoint>
|
||||
<endpoint
|
||||
region="North"
|
||||
publicURL="https://storage.north.host.com/v1/t1000"
|
||||
internalURL="https://storage.north.host.internal/v1/t1000">
|
||||
<version
|
||||
id="1"
|
||||
info="https://storage.north.host.com/v1/"
|
||||
list="https://storage.north.host.com/" />
|
||||
</endpoint>
|
||||
<endpoint
|
||||
tenantId="t1000"
|
||||
region="South"
|
||||
publicURL="https://storage.south.host.com/v1/t1000"
|
||||
internalURL="https://storage.south.host.internal/v1/t1000">
|
||||
<version
|
||||
id="1"
|
||||
info="https://storage.south.host.com/v1/"
|
||||
list="https://storage.south.host.com/" />
|
||||
</endpoint>
|
||||
</service>
|
||||
<service type="dnsextension:dns" name="DNS-as-a-Service">
|
||||
<endpoint
|
||||
region="South"
|
||||
publicURL="https://storage.south.host.com/v1/t1000"
|
||||
internalURL="https://storage.south.host.internal/v1/t1000">
|
||||
<version
|
||||
id="1"
|
||||
info="https://storage.south.host.com/v1/"
|
||||
list="https://storage.south.host.com/" />
|
||||
</endpoint>
|
||||
</service>
|
||||
<service type="dnsextension:dns" name="DNS-as-a-Service">
|
||||
<endpoint
|
||||
tenantId="t1000"
|
||||
publicURL="https://dns.host.com/v2.0/t1000">
|
||||
<version
|
||||
id="2.0"
|
||||
info="https://dns.host.com/v2.0/"
|
||||
list="https://dns.host.com/" />
|
||||
</endpoint>
|
||||
</service>
|
||||
</serviceCatalog>
|
||||
publicURL="https://dns.host.com/v2.0/t1000">
|
||||
<version
|
||||
id="2.0"
|
||||
info="https://dns.host.com/v2.0/"
|
||||
list="https://dns.host.com/" />
|
||||
</endpoint>
|
||||
</service>
|
||||
</serviceCatalog>
|
||||
</access>
|
||||
|
|
|
@ -1,38 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<choices
|
||||
xmlns="http://docs.openstack.org/common/api/v2.0"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<version id="v1.0" status="DEPRECATED">
|
||||
<media-types>
|
||||
<media-type
|
||||
base="application/xml"
|
||||
type="application/vnd.openstack.identity+xml;version=1.0" />
|
||||
<media-type
|
||||
base="application/json"
|
||||
type="application/vnd.openstack.identity+json;version=1.0" />
|
||||
</media-types>
|
||||
<atom:link rel="self" href="http://identity.api.openstack.org/v1.0" />
|
||||
</version>
|
||||
<version id="v1.1" status="CURRENT">
|
||||
<media-types>
|
||||
<media-type
|
||||
base="application/xml"
|
||||
type="application/vnd.openstack.identity+xml;version=1.1" />
|
||||
<media-type
|
||||
base="application/json"
|
||||
type="application/vnd.openstack.identity+json;version=1.1" />
|
||||
</media-types>
|
||||
<atom:link rel="self" href="http://identity.api.openstack.org/v1.1" />
|
||||
</version>
|
||||
<version id="v2.0" status="BETA">
|
||||
<media-types>
|
||||
<media-type
|
||||
base="application/xml"
|
||||
type="application/vnd.openstack.identity+xml;version=2.0" />
|
||||
<media-type
|
||||
base="application/json"
|
||||
type="application/vnd.openstack.identity+json;version=2.0" />
|
||||
</media-types>
|
||||
<atom:link rel="self" href="http://identity.api.openstack.org/v2.0" />
|
||||
</version>
|
||||
xmlns="http://docs.openstack.org/common/api/v2.0"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<version id="v1.0" status="DEPRECATED">
|
||||
<media-types>
|
||||
<media-type
|
||||
base="application/xml"
|
||||
type="application/vnd.openstack.identity+xml;version=1.0" />
|
||||
<media-type
|
||||
base="application/json"
|
||||
type="application/vnd.openstack.identity+json;version=1.0" />
|
||||
</media-types>
|
||||
<atom:link rel="self" href="http://identity.api.openstack.org/v1.0" />
|
||||
</version>
|
||||
<version id="v1.1" status="CURRENT">
|
||||
<media-types>
|
||||
<media-type
|
||||
base="application/xml"
|
||||
type="application/vnd.openstack.identity+xml;version=1.1" />
|
||||
<media-type
|
||||
base="application/json"
|
||||
type="application/vnd.openstack.identity+json;version=1.1" />
|
||||
</media-types>
|
||||
<atom:link rel="self" href="http://identity.api.openstack.org/v1.1" />
|
||||
</version>
|
||||
<version id="v2.0" status="BETA">
|
||||
<media-types>
|
||||
<media-type
|
||||
base="application/xml"
|
||||
type="application/vnd.openstack.identity+xml;version=2.0" />
|
||||
<media-type
|
||||
base="application/json"
|
||||
type="application/vnd.openstack.identity+json;version=2.0" />
|
||||
</media-types>
|
||||
<atom:link rel="self" href="http://identity.api.openstack.org/v2.0" />
|
||||
</version>
|
||||
</choices>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<passwordCredentials username="test_user" password="test"/>
|
||||
<apiKeyCredentials
|
||||
xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"
|
||||
username="testuser"
|
||||
apiKey="aaaaa-bbbbb-ccccc-12345678"/>
|
||||
xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"
|
||||
username="testuser"
|
||||
apiKey="aaaaa-bbbbb-ccccc-12345678"/>
|
||||
</credentials>
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<passwordCredentials username="test_user" password="test"/>
|
||||
<ec2Credentials xmlns="http://docs.openstack.org/identity/api/ext/OS-KSEC2/v1.0"
|
||||
username="testuser" key="aaaaa" signature="bbbbb"/>
|
||||
username="testuser" key="aaaaa" signature="bbbbb"/>
|
||||
</credentials>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<identityFault xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
code="500">
|
||||
<message>Fault</message>
|
||||
<details>Error Details...</details>
|
||||
<message>Fault</message>
|
||||
<details>Error Details...</details>
|
||||
</identityFault>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<itemNotFound xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
code="404">
|
||||
<message>Item not found.</message>
|
||||
<details>Error Details...</details>
|
||||
<message>Item not found.</message>
|
||||
<details>Error Details...</details>
|
||||
</itemNotFound>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<service xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
|
||||
id="123" name="nova" type="compute" description="OpenStack Compute Service" />
|
||||
id="123" name="nova" type="compute" description="OpenStack Compute Service" />
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<access xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<token id="ab48a9efdfedb23ty3494"
|
||||
expires="2010-11-01T03:32:15-05:00">
|
||||
<tenant id="456" name="My Project"/>
|
||||
</token>
|
||||
<user id="123" username="jqsmith">
|
||||
<roles xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<role id="123" name="Admin" tenantId="one"/>
|
||||
<role id="234" name="object-store:admin" tenantId="1"/>
|
||||
</roles>
|
||||
</user>
|
||||
<token id="ab48a9efdfedb23ty3494"
|
||||
expires="2010-11-01T03:32:15-05:00">
|
||||
<tenant id="456" name="My Project"/>
|
||||
</token>
|
||||
<user id="123" username="jqsmith">
|
||||
<roles xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<role id="123" name="Admin" tenantId="one"/>
|
||||
<role id="234" name="object-store:admin" tenantId="1"/>
|
||||
</roles>
|
||||
</user>
|
||||
</access>
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
<para role="shortdesc">
|
||||
Validates a token and that it belongs to a
|
||||
specified tenant and services. Returns the permissions
|
||||
relevant to a particular client. </para>
|
||||
relevant to a particular client.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/xml"
|
||||
|
@ -111,7 +111,7 @@
|
|||
xmlns="http://docbook.org/ns/docbook" title="Check Token">
|
||||
<para role="shortdesc">
|
||||
Validates a token and that it belongs to a
|
||||
specified tenant and services, for performance. </para>
|
||||
specified tenant and services, for performance.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203"/> &commonFaults; &getFaults;
|
||||
</method>
|
||||
|
|
|
@ -270,7 +270,7 @@
|
|||
<method name="POST" id="addTenant">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Add Tenant">
|
||||
<para role="shortdesc"> Creates a tenant. </para>
|
||||
<para role="shortdesc"> Creates a tenant.</para>
|
||||
</wadl:doc>
|
||||
<request>
|
||||
<representation mediaType="application/xml"
|
||||
|
@ -311,7 +311,7 @@
|
|||
<method name="POST" id="updateTenant">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Update Tenant">
|
||||
<para role="shortdesc"> Updates a tenant. </para>
|
||||
<para role="shortdesc"> Updates a tenant.</para>
|
||||
</wadl:doc>
|
||||
<request>
|
||||
<representation mediaType="application/xml"
|
||||
|
@ -350,7 +350,7 @@
|
|||
<method name="DELETE" id="deleteTenant">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Delete Tenant">
|
||||
<para role="shortdesc"> Deletes a tenant. </para>
|
||||
<para role="shortdesc"> Deletes a tenant.</para>
|
||||
</wadl:doc>
|
||||
<response status="204"/> &commonFaults; &getFaults; </method>
|
||||
<method name="GET" id="listUsersForTenant">
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
<method name="GET" id="listEndpointTemplates">
|
||||
<doc xml:lang="EN" title="List Endpoint Templates">
|
||||
<p xmlns="http://www.w3.org/1999/xhtml" class="shortdesc">Lists endpoint templates.</p>
|
||||
</doc>
|
||||
</doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/xml" element="endpointTemplates">
|
||||
<doc xml:lang="EN">
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<resource id="user-OS-KSADM" path="OS-KSADM">
|
||||
<resource id="userCredentials"
|
||||
path="credentials">
|
||||
|
||||
|
||||
<param name="marker" style="query"
|
||||
required="false" type="xsd:string">
|
||||
<wadl:doc
|
||||
|
@ -72,7 +72,7 @@
|
|||
path="OS-KSEC2:ec2Credentials">
|
||||
<method href="#getUserCredential"/>
|
||||
<method href="#updateUserCredential"/>
|
||||
<method href="#deleteUserCredential"/>
|
||||
<method href="#deleteUserCredential"/>
|
||||
<resource id="type" path="{type}"> <param name="type" style="query"
|
||||
required="true" type="xsd:string">
|
||||
<wadl:doc
|
||||
|
@ -80,8 +80,8 @@
|
|||
xml:lang="EN"><para>The credential type.
|
||||
</para></wadl:doc>
|
||||
</param><method href="#listCredentialsByType"/></resource>
|
||||
</resource>
|
||||
|
||||
</resource>
|
||||
|
||||
</resource>
|
||||
</resource>
|
||||
</resource>
|
||||
|
|
|
@ -109,18 +109,18 @@
|
|||
<para role="shortdesc">
|
||||
Checks that a token is valid and that it belongs to a
|
||||
specified tenant and service IDs. Returns the
|
||||
permissions for a particular client. </para>
|
||||
permissions for a particular client.</para>
|
||||
<para>Behavior is
|
||||
similar to <code>/tokens/{tokenId}</code>. An
|
||||
itemNotFound (<code>404</code>) fault is returned for
|
||||
a token that is not valid. </para>
|
||||
a token that is not valid.</para>
|
||||
<para>This extension
|
||||
might decrypt 'X-Subject-Token' header and internally
|
||||
call the normal validation for the Identity Service,
|
||||
passing in all headers and query parameters. It should
|
||||
therefore support all existing calls on
|
||||
<code>/tokens/{tokenId}</code>, including
|
||||
extensions such as HP-IDM. </para>
|
||||
extensions such as HP-IDM.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/xml"
|
||||
|
@ -152,7 +152,7 @@
|
|||
<para>Behavior is
|
||||
similar to <code>/tokens/{tokenId}</code>. An
|
||||
itemNotFound (<code>404</code>) fault is returned for
|
||||
a token that is not valid. </para>
|
||||
a token that is not valid.</para>
|
||||
<para>This extension
|
||||
might decrypt 'X-Subject-Token' header and internally
|
||||
call the normal validation for the Identity Service,
|
||||
|
@ -166,7 +166,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN" title="List Endpoints for a Token">
|
||||
<para>Lists endpoints
|
||||
associated with a specific token. </para>
|
||||
associated with a specific token.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/xml"
|
||||
|
|
|
@ -27,13 +27,13 @@
|
|||
<!--*******************************************************-->
|
||||
<!-- All Resources -->
|
||||
<!--*******************************************************-->
|
||||
|
||||
|
||||
<!-- We should use SSL in production -->
|
||||
<resources base="http://localhost:35357" xml:id="RAX-KSGRP-admin-v2.0">
|
||||
<resource id="version" path="v2.0">
|
||||
<param name="X-Auth-Token" style="header" type="xsd:string" required="true">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook">A valid authentication token for an administrative user.</wadl:doc>
|
||||
</param>
|
||||
</param>
|
||||
<resource id="users" path="users">
|
||||
<resource id="userById" path="{userId}">
|
||||
<param name="userId" style="template" type="xsd:string"><wadl:doc xmlns="http://docbook.org/ns/docbook">The user ID.</wadl:doc></param>
|
||||
|
@ -43,10 +43,10 @@
|
|||
</resource>
|
||||
</resource>
|
||||
</resource>
|
||||
</resources>
|
||||
</resources>
|
||||
<method name="GET" id="listUserGroups">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" title="List Groups for a User">
|
||||
<para role="shortdesc">Lists groups for a user.</para>
|
||||
<para role="shortdesc">Lists groups for a user.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/xml" element="groups">
|
||||
|
@ -63,5 +63,4 @@
|
|||
&commonFaults;
|
||||
&getFaults;
|
||||
</method>
|
||||
</application>
|
||||
|
||||
</application>
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
<resource_type id="ExtensionList">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Extension List">
|
||||
<para>A list of supported extensions. </para>
|
||||
<para>A list of supported extensions.</para>
|
||||
</wadl:doc>
|
||||
<method href="#listExtensions"/>
|
||||
</resource_type>
|
||||
|
@ -297,7 +297,7 @@
|
|||
<wadl:doc xml:lang="EN" title="Authenticate for Admin API"
|
||||
xmlns="http://docbook.org/ns/docbook">
|
||||
<para role="shortdesc">Authenticates and generates a
|
||||
token. </para>
|
||||
token.</para>
|
||||
<para>Client authentication is provided through a ReST
|
||||
interface by using the POST method with v2.0/tokens
|
||||
supplied as the path. Include a payload of credentials
|
||||
|
@ -305,7 +305,7 @@
|
|||
<para>The Identity Service is a ReSTful web service. It is
|
||||
the entry point to all service APIs. To access the
|
||||
Identity Service, you must know the URL of the
|
||||
Identity Service. </para>
|
||||
Identity Service.</para>
|
||||
<para>Each ReST request against the Identity Service
|
||||
requires the X-Auth-Token header. Clients obtain this
|
||||
token, along with the URL to other service APIs, by
|
||||
|
@ -387,12 +387,12 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Validate token">
|
||||
<para role="shortdesc">Validates a token and confirms that
|
||||
it belongs to a specified tenant. </para>
|
||||
it belongs to a specified tenant.</para>
|
||||
<para>Returns the permissions relevant to a particular
|
||||
client. Valid tokens are in the
|
||||
<code>/tokens/{tokenId}</code> path. A user should
|
||||
expect an itemNotFound (<code>404</code>) fault for an
|
||||
token that is not valid. </para>
|
||||
token that is not valid.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/json">
|
||||
|
@ -426,7 +426,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="List endoints for token">
|
||||
<para role="shortdesc">Lists the endpoints associated with
|
||||
a specified token. </para>
|
||||
a specified token.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/json">
|
||||
|
@ -454,7 +454,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Get user information by name">
|
||||
<para role="shortdesc">Gets detailed information about a
|
||||
specified user by user name. </para>
|
||||
specified user by user name.</para>
|
||||
</wadl:doc>
|
||||
<!-- <request>
|
||||
<param name="name" style="query" type="xsd:string"
|
||||
|
@ -481,7 +481,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Get user information by ID">
|
||||
<para role="shortdesc">Gets detailed information about a
|
||||
specified user by user ID. </para>
|
||||
specified user by user ID.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/xml"
|
||||
|
@ -502,7 +502,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="List user global roles">
|
||||
<para role="shortdesc">Lists global roles for a specified
|
||||
user. Excludes tenant roles. </para>
|
||||
user. Excludes tenant roles.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/json">
|
||||
|
@ -561,7 +561,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Get tenant information by name">
|
||||
<para role="shortdesc">Gets detailed information about a
|
||||
specified tenant by name. </para>
|
||||
specified tenant by name.</para>
|
||||
</wadl:doc>
|
||||
<request>
|
||||
<param name="name" style="query" type="xsd:string"
|
||||
|
@ -593,7 +593,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="Get tenant information by ID">
|
||||
<para role="shortdesc">Gets detailed information about a
|
||||
specified tenant by ID. </para>
|
||||
specified tenant by ID.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/json">
|
||||
|
@ -618,7 +618,7 @@
|
|||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
|
||||
title="List roles for user">
|
||||
<para role="shortdesc">Lists roles for a specified user on
|
||||
a specified tenant. Excludes global roles. </para>
|
||||
a specified tenant. Excludes global roles.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/json">
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
type="xsd:string">
|
||||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> The extension
|
||||
xml:lang="EN"><para>The extension
|
||||
name.</para></wadl:doc>
|
||||
</param>
|
||||
<method href="#getExtension-v2.0"/>
|
||||
|
|
|
@ -398,10 +398,10 @@
|
|||
still uniquely identifies the user.</para>
|
||||
<para>A token scoped to a <code>project</code> also has
|
||||
both a service <code>catalog</code> and the user's
|
||||
roles applicable to the <code>project</code>. </para>
|
||||
roles applicable to the <code>project</code>.</para>
|
||||
<para>A token scoped to a <code>domain</code> also has
|
||||
both a service <code>catalog</code> and the user's
|
||||
roles applicable to the <code>project</code>. </para>
|
||||
roles applicable to the <code>project</code>.</para>
|
||||
<para>Optionally, the identity service implementation
|
||||
might return an <code>authentication</code> attribute
|
||||
to indicate the supported authentication methods.
|
||||
|
|
|
@ -338,7 +338,7 @@
|
|||
less-than filtering of images based on their
|
||||
size attribute. The size is measured in bytes
|
||||
and is the size of an image when it is stored
|
||||
on disk. </para>
|
||||
on disk.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02"
|
||||
|
|
|
@ -402,13 +402,13 @@
|
|||
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
|
||||
title="List image members">
|
||||
<para role="shortdesc">Lists the tenants with whom this
|
||||
image has been shared. (Since Image API v2.1.) </para>
|
||||
image has been shared. (Since Image API v2.1.)</para>
|
||||
<para>If a user with whom this image is shared makes this
|
||||
call, the member list contains only information for
|
||||
that user. </para>
|
||||
that user.</para>
|
||||
<para>If a user with whom this image has not been shared
|
||||
makes this call, the call returns the HTTP 404 status
|
||||
code. </para>
|
||||
code.</para>
|
||||
</wadl:doc>
|
||||
<request> </request>
|
||||
<response status="200">
|
||||
|
|
|
@ -388,7 +388,7 @@
|
|||
<param name="force" style="query" type="xsd:boolean"
|
||||
required="false">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> [True/False] Indicate whether
|
||||
xml:lang="EN"><para>[True/False] Indicate whether
|
||||
to snapshot, even if the volume is attached.
|
||||
Default==False.</para>
|
||||
</wadl:doc>
|
||||
|
@ -404,7 +404,7 @@
|
|||
<param name="display_description" style="query"
|
||||
type="string" required="false">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para> Description of snapshot.
|
||||
xml:lang="EN"><para>Description of snapshot.
|
||||
Default==None.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
|
|
Loading…
Reference in New Issue