![Tom Fifield](/assets/img/avatar_default.png)
This change collects all RPC tables together to be more useful, and collects API tables together with some helpful notes about API versioning. Change-Id: I49414e6e8b514018600c5aa47699c8e986fb8a5c Closes-Bug: 1292588
25 lines
1.3 KiB
XML
25 lines
1.3 KiB
XML
<section xml:id="image-configuring-api"
|
|
xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:ns="http://docbook.org/ns/docbook"
|
|
version="5.0">
|
|
<title>Configure the API</title>
|
|
<para>The Image Service has two APIs: the user-facing API, and
|
|
the registry API, which is for internal requests that require
|
|
access to the database.</para>
|
|
<para>Both of the APIs currently have two major versions, v1 and v2.
|
|
It is possible to run either or both version, by setting appropriate
|
|
values of <literal>enable_v1_api</literal>,
|
|
<literal>enable_v2_api</literal>, <literal>enable_v1_registry</literal> and
|
|
<literal>enable_v2_registry</literal>. If the v2 API is used, running
|
|
<systemitem class="service">glance-registry</systemitem> is optional, as
|
|
v2 of <systemitem class="service">glance-api</systemitem>
|
|
can connect directly to the database.</para>
|
|
<para>Tables of all options used to configure the APIs, including enabling
|
|
SSL and modifying WSGI settings are found below.</para>
|
|
<xi:include href="../../common/tables/glance-api.xml"/>
|
|
<xi:include href="../../common/tables/glance-ssl.xml"/>
|
|
<xi:include href="../../common/tables/glance-wsgi.xml"/>
|
|
</section>
|