c043305dd3
Add trove to the introductory chapter of the CLI guide. Change-Id: Ieb3cec72b81d3d4ebccc1cf5b214ca7ecf160ca7
121 lines
5.4 KiB
XML
121 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE section [
|
|
<!-- Some useful entities borrowed from HTML -->
|
|
<!ENTITY ndash "–">
|
|
<!ENTITY mdash "—">
|
|
<!ENTITY hellip "…">
|
|
<!ENTITY plusmn "±">
|
|
]>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:raxm="http://docs.rackspace.com/api/metadata" version="5.0"
|
|
xml:id="section_cli_overview">
|
|
<title>Overview</title>
|
|
<para>You can use the OpenStack command-line clients to run simple
|
|
commands that make API calls. You can run these commands from
|
|
the command line or in scripts to automate tasks. As long as
|
|
you provide OpenStack credentials, you can run these commands
|
|
on any machine.</para>
|
|
<para>Internally, each client command runs cURL commands that
|
|
embed API requests. The OpenStack APIs are RESTful APIs that
|
|
use the HTTP protocol, including methods, URIs, media types,
|
|
and response codes.</para>
|
|
<para>These open-source Python clients run on Linux or Mac OS X
|
|
systems and are easy to learn and use. Each OpenStack service
|
|
has its own command-line client. On some client commands, you
|
|
can specify a <parameter
|
|
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"
|
|
xmlns:db="http://docbook.org/ns/docbook">debug</parameter>
|
|
parameter to show the underlying API request for the command.
|
|
This is a good way to become familiar with the OpenStack API
|
|
calls.</para>
|
|
<para>The following table lists the command-line client for each
|
|
OpenStack service, together with its
|
|
package name and description.</para>
|
|
<table rules="all">
|
|
<caption>OpenStack services and clients</caption>
|
|
<col width="15%"/>
|
|
<col width="10%"/>
|
|
<col width="20%"/>
|
|
<col width="55%"/>
|
|
<thead>
|
|
<tr>
|
|
<th>Service</th>
|
|
<th>Client</th>
|
|
<th>Package</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Block Storage</td>
|
|
<td><command>cinder</command></td>
|
|
<td><package>python-cinderclient</package></td>
|
|
<td>Create and manage volumes.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Compute</td>
|
|
<td><command>nova</command></td>
|
|
<td><package>python-novaclient</package></td>
|
|
<td>Create and manage images, instances, and flavors.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Database Service</td>
|
|
<td><command>trove</command></td>
|
|
<td><package>python-troveclient</package></td>
|
|
<td>Create and manage databases.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Identity</td>
|
|
<td><command>keystone</command></td>
|
|
<td><package>python-keystoneclient</package></td>
|
|
<td>Create and manage users, tenants, roles, endpoints, and credentials.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Image Service</td>
|
|
<td><command>glance</command></td>
|
|
<td><package>python-glanceclient</package></td>
|
|
<td>Create and manage images.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Networking</td>
|
|
<td><command>neutron</command></td>
|
|
<td><package>python-neutronclient</package></td>
|
|
<td>Configure networks for guest servers. This client was previously known as
|
|
<command>quantum</command>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Object Storage</td>
|
|
<td><command>swift</command></td>
|
|
<td><package>python-swiftclient</package></td>
|
|
<td>Gather statistics, list items, update metadata, and upload, download, and delete
|
|
files stored by the Object Storage service. Gain access to an Object Storage
|
|
installation for ad hoc processing.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Orchestration</td>
|
|
<td><command>heat</command></td>
|
|
<td><package>python-heatclient</package></td>
|
|
<td>Launch stacks from templates, view details of running stacks including events
|
|
and resources, and update and delete stacks.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Telemetry</td>
|
|
<td><command>ceilometer</command></td>
|
|
<td><package>python-ceilometerclient</package></td>
|
|
<td>Create and collect measurements across OpenStack.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<para>An OpenStack <command>common</command> client is in
|
|
development.</para>
|
|
<para audience="adminuser">For client installation instructions, see <link
|
|
xlink:href="http://docs.openstack.org/user-guide/content/install_clients.html">Install
|
|
the OpenStack command-line clients</link>. For information about the OpenStack RC file,
|
|
see <link xlink:href="http://docs.openstack.org/user-guide/content/cli_openrc.html">Download
|
|
and source the OpenStack RC file</link>.</para>
|
|
</section>
|