a8e0a7f97d
Try to use the same categories for options found in multiple projects. Change-Id: If582194081854b06542ca32335c6225ac94de013 Closes-Bug: #1363485
23 lines
1.2 KiB
XML
23 lines
1.2 KiB
XML
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="image-configuring-api">
|
|
<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 versions, 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 the 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-ca.xml"/>
|
|
</section>
|