d99744c3df
The XML root element of Docbook XML files should match the following format: <ELEMENT 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="THE_XML_ID_OF_THE_ELEMENT"> Change-Id: I95a6f36d6887af952257a800e3359d53ac1f895a
45 lines
2.6 KiB
XML
45 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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="section_instance-mgmt">
|
|
<title>Instance management tools</title>
|
|
<para>OpenStack provides command-line, web-based, and
|
|
API-based instance management tools. Additionally, a
|
|
number of third-party management tools are available,
|
|
using either the native API or the provided EC2-compatible
|
|
API.</para>
|
|
<para>The OpenStack
|
|
<application>python-novaclient</application> package
|
|
provides a basic command-line utility, which uses the
|
|
<command>nova</command> command. This is available as
|
|
a native package for most Linux distributions, or you can
|
|
install the latest version using the
|
|
<application>pip</application> python package
|
|
installer:</para>
|
|
<screen><prompt>#</prompt> <userinput>pip install python-novaclient</userinput></screen>
|
|
<para>For more information about
|
|
<application>python-novaclient</application> and other
|
|
available command-line tools, see the <link
|
|
xlink:href="http://docs.openstack.org/user-guide/content/index.html">
|
|
<citetitle>OpenStack End User
|
|
Guide</citetitle></link>.</para>
|
|
<screen><prompt>$</prompt> <userinput>nova --debug list</userinput>
|
|
<?db-font-size 75%?><computeroutput>connect: (10.0.0.15, 5000)
|
|
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 10.0.0.15:5000\r\nContent-Length: 116\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n{"auth": {"tenantName": "demoproject", "passwordCredentials": {"username": "demouser", "password": "demopassword"}}}'
|
|
reply: 'HTTP/1.1 200 OK\r\n'
|
|
header: Content-Type: application/json
|
|
header: Vary: X-Auth-Token
|
|
header: Date: Thu, 13 Sep 2012 20:27:36 GMT
|
|
header: Transfer-Encoding: chunked
|
|
connect: (128.52.128.15, 8774)
|
|
send: u'GET /v2/fa9dccdeadbeef23ae230969587a14bf/servers/detail HTTP/1.1\r\nHost: 10.0.0.15:8774\r\nx-auth-project-id: demoproject\r\nx-auth-token: deadbeef9998823afecc3d552525c34c\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
|
|
reply: 'HTTP/1.1 200 OK\r\n'
|
|
header: X-Compute-Request-Id: req-bf313e7d-771a-4c0b-ad08-c5da8161b30f
|
|
header: Content-Type: application/json
|
|
header: Content-Length: 15
|
|
header: Date: Thu, 13 Sep 2012 20:27:36 GMT
|
|
!!removed matrix for validation!! </computeroutput></screen>
|
|
</section>
|