Merge "Add new CLI Reference manual"
This commit is contained in:
commit
98704b515a
62
doc/cli-reference/bk-cli-reference.xml
Normal file
62
doc/cli-reference/bk-cli-reference.xml
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<book xmlns="http://docbook.org/ns/docbook"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
|
version="5.0"
|
||||||
|
xml:id="openstack-cli-reference">
|
||||||
|
|
||||||
|
<title>OpenStack Command Line Interface Reference</title>
|
||||||
|
<?rax title.font.size="28px" subtitle.font.size="28px"?>
|
||||||
|
<titleabbrev>CLI Reference</titleabbrev>
|
||||||
|
<info>
|
||||||
|
<author>
|
||||||
|
<personname>
|
||||||
|
<firstname/>
|
||||||
|
<surname/>
|
||||||
|
</personname>
|
||||||
|
<affiliation>
|
||||||
|
<orgname>OpenStack Foundation</orgname>
|
||||||
|
</affiliation>
|
||||||
|
</author>
|
||||||
|
<copyright>
|
||||||
|
<year>2014</year>
|
||||||
|
<holder>OpenStack Foundation</holder>
|
||||||
|
</copyright>
|
||||||
|
<releaseinfo>trunk</releaseinfo>
|
||||||
|
<productname>OpenStack</productname>
|
||||||
|
<pubdate></pubdate>
|
||||||
|
<legalnotice role="cc-by">
|
||||||
|
<annotation>
|
||||||
|
<remark>Remaining licensing details are filled in by
|
||||||
|
the template.</remark>
|
||||||
|
</annotation>
|
||||||
|
</legalnotice>
|
||||||
|
<abstract>
|
||||||
|
<para>This guide describes how to obtain, create, and
|
||||||
|
modify virtual machine images that are compatible with
|
||||||
|
OpenStack.</para>
|
||||||
|
</abstract>
|
||||||
|
<revhistory>
|
||||||
|
<!-- ... continue addding more revisions here as you change this document using the markup shown below... -->
|
||||||
|
<revision>
|
||||||
|
<date>2014-01-29</date>
|
||||||
|
<revdescription>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>Initial version.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</revdescription>
|
||||||
|
</revision>
|
||||||
|
</revhistory>
|
||||||
|
</info>
|
||||||
|
|
||||||
|
<xi:include href="ch_preface.xml"/>
|
||||||
|
<xi:include href="ch_cli.xml"/>
|
||||||
|
<xi:include href="ch_command_reference.xml"/>
|
||||||
|
<!-- Alternative 2 -->
|
||||||
|
<!-- <xi:include href="ch_nova_cli.xml"/> -->
|
||||||
|
<xi:include href="../common/app_support.xml"/>
|
||||||
|
</book>
|
19
doc/cli-reference/ch_cli.xml
Normal file
19
doc/cli-reference/ch_cli.xml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE chapter [
|
||||||
|
]>
|
||||||
|
<chapter 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="ch_cli">
|
||||||
|
<info>
|
||||||
|
<title>OpenStack command-line clients</title>
|
||||||
|
</info>
|
||||||
|
<xi:include href="../common/section_cli_overview.xml"/>
|
||||||
|
<?hard-pagebreak?>
|
||||||
|
<xi:include href="../common/section_cli_install.xml"/>
|
||||||
|
<?hard-pagebreak?>
|
||||||
|
<xi:include href="../common/section_cli_version.xml"/>
|
||||||
|
<?hard-pagebreak?>
|
||||||
|
<xi:include href="../common/section_cli_openrc.xml"/>
|
||||||
|
</chapter>
|
30
doc/cli-reference/ch_command_reference.xml
Normal file
30
doc/cli-reference/ch_command_reference.xml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<chapter 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="ch_command_reference">
|
||||||
|
<title>Command reference</title>
|
||||||
|
<xi:include
|
||||||
|
href="../common/section_cli_keystone_commands.xml"/>
|
||||||
|
<?hard page-break?>
|
||||||
|
<xi:include
|
||||||
|
href="../common/section_cli_glance_commands.xml"/>
|
||||||
|
<?hard page-break?>
|
||||||
|
<xi:include
|
||||||
|
href="../common/section_cli_neutron_commands.xml"/>
|
||||||
|
<?hard page-break?>
|
||||||
|
<xi:include
|
||||||
|
href="../common/section_cli_nova_commands.xml"/>
|
||||||
|
<?hard page-break?>
|
||||||
|
<xi:include
|
||||||
|
href="../common/section_cli_cinder_commands.xml"/>
|
||||||
|
<?hard page-break?>
|
||||||
|
<xi:include
|
||||||
|
href="../common/section_cli_swift_commands.xml"/>
|
||||||
|
<?hard page-break?>
|
||||||
|
<xi:include
|
||||||
|
href="../common/section_cli_heat_commands.xml"/>
|
||||||
|
<?hard page-break?>
|
||||||
|
<xi:include
|
||||||
|
href="../common/section_cli_ceilometer_commands.xml"/>
|
||||||
|
</chapter>
|
14
doc/cli-reference/ch_preface.xml
Normal file
14
doc/cli-reference/ch_preface.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<preface xmlns="http://docbook.org/ns/docbook"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
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" version="5.0"
|
||||||
|
xml:id="ch_preface">
|
||||||
|
<title>Preface</title>
|
||||||
|
<?dbhtml stop-chunking?>
|
||||||
|
|
||||||
|
<xi:include href="../common/section_dochistory.xml"/>
|
||||||
|
</preface>
|
80
doc/cli-reference/pom.xml
Normal file
80
doc/cli-reference/pom.xml
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
<parent>
|
||||||
|
<groupId>org.openstack.docs</groupId>
|
||||||
|
<artifactId>parent-pom</artifactId>
|
||||||
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
|
<relativePath>../pom.xml</relativePath>
|
||||||
|
</parent>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<artifactId>openstack-cli-reference</artifactId>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<name>OpenStack Command Line Interface Reference</name>
|
||||||
|
<properties>
|
||||||
|
<!-- This is set by Jenkins according to the branch. -->
|
||||||
|
<release.path.name>local</release.path.name>
|
||||||
|
<comments.enabled>0</comments.enabled>
|
||||||
|
</properties>
|
||||||
|
<!-- ################################################ -->
|
||||||
|
<!-- USE "mvn clean generate-sources" to run this POM -->
|
||||||
|
<!-- ################################################ -->
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.rackspace.cloud.api</groupId>
|
||||||
|
<artifactId>clouddocs-maven-plugin</artifactId>
|
||||||
|
<!-- version is set in ../pom.xml file -->
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>generate-webhelp</id>
|
||||||
|
<goals>
|
||||||
|
<goal>generate-webhelp</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<configuration>
|
||||||
|
<!-- These parameters only apply to webhelp -->
|
||||||
|
<enableDisqus>0</enableDisqus>
|
||||||
|
<disqusShortname>os-image-guide</disqusShortname>
|
||||||
|
<enableGoogleAnalytics>1</enableGoogleAnalytics>
|
||||||
|
<googleAnalyticsId>UA-17511903-1</googleAnalyticsId>
|
||||||
|
<generateToc>
|
||||||
|
appendix toc,title
|
||||||
|
article/appendix nop
|
||||||
|
article toc,title
|
||||||
|
book toc,title,figure,table,example,equation
|
||||||
|
chapter toc
|
||||||
|
section toc
|
||||||
|
part toc
|
||||||
|
preface toc
|
||||||
|
qandadiv toc
|
||||||
|
qandaset toc
|
||||||
|
reference toc,title
|
||||||
|
set toc,title
|
||||||
|
</generateToc>
|
||||||
|
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
|
||||||
|
<sectionAutolabel>0</sectionAutolabel>
|
||||||
|
<formalProcedures>0</formalProcedures>
|
||||||
|
<tocSectionDepth>1</tocSectionDepth>
|
||||||
|
<tocChapterDepth>1</tocChapterDepth>
|
||||||
|
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
|
||||||
|
<webhelpDirname>cli-reference</webhelpDirname>
|
||||||
|
<pdfFilenameBase>cli-reference</pdfFilenameBase>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<!-- These parameters apply to pdf and webhelp -->
|
||||||
|
<profileAudience>enduser</profileAudience>
|
||||||
|
<xincludeSupported>true</xincludeSupported>
|
||||||
|
<sourceDirectory>.</sourceDirectory>
|
||||||
|
<includes>
|
||||||
|
bk-cli-reference.xml
|
||||||
|
</includes>
|
||||||
|
<branding>openstack</branding>
|
||||||
|
<canonicalUrlBase>http://docs.openstack.org/cli-reference/content/</canonicalUrlBase>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
@ -4,60 +4,53 @@
|
|||||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||||
xml:id="checking_version_cli">
|
xml:id="checking_version_cli">
|
||||||
<title>Get the version for a client</title>
|
<title>Get the version for a client</title>
|
||||||
<para>After you install an OpenStack client, you can get its
|
<para>Run this command get the version number for a
|
||||||
version number.</para>
|
client:</para>
|
||||||
<procedure>
|
<screen><prompt>$</prompt> <userinput><replaceable>PROJECT</replaceable> --version</userinput></screen>
|
||||||
<step>
|
<para>Where <replaceable>PROJECT</replaceable> is a project
|
||||||
<para>Run the following command get the
|
name:</para>
|
||||||
version number for a client:</para>
|
<itemizedlist>
|
||||||
<screen><prompt>$</prompt> <userinput><replaceable>PROJECT</replaceable> --version</userinput></screen>
|
<listitem>
|
||||||
<para>Where <replaceable>PROJECT</replaceable>
|
<para><literal>nova</literal>. Compute API and
|
||||||
is one of the following project
|
extensions.</para>
|
||||||
names:</para>
|
</listitem>
|
||||||
<itemizedlist>
|
<listitem>
|
||||||
<listitem>
|
<para><literal>neutron</literal>. Networking
|
||||||
<para><literal>nova</literal>.
|
API.</para>
|
||||||
Compute API and extensions.</para>
|
</listitem>
|
||||||
</listitem>
|
<listitem>
|
||||||
<listitem>
|
<para><literal>keystone</literal>. Identity
|
||||||
<para><literal>neutron</literal>.
|
Service API.</para>
|
||||||
Networking API.</para>
|
</listitem>
|
||||||
</listitem>
|
<listitem>
|
||||||
<listitem>
|
<para><literal>glance</literal>. Image Service
|
||||||
<para><literal>keystone</literal>.
|
API.</para>
|
||||||
Identity Service API.</para>
|
</listitem>
|
||||||
</listitem>
|
<listitem>
|
||||||
<listitem>
|
<para><literal>swift</literal>. Object Storage
|
||||||
<para><literal>glance</literal>.
|
API.</para>
|
||||||
Image Service API.</para>
|
</listitem>
|
||||||
</listitem>
|
<listitem>
|
||||||
<listitem>
|
<para><literal>cinder</literal>. Block Storage
|
||||||
<para><literal>swift</literal>.
|
Service API.</para>
|
||||||
Object Storage API.</para>
|
</listitem>
|
||||||
</listitem>
|
<listitem>
|
||||||
<listitem>
|
<para><literal>heat</literal>. Orchestration
|
||||||
<para><literal>cinder</literal>.
|
API.</para>
|
||||||
Block Storage Service API.</para>
|
</listitem>
|
||||||
</listitem>
|
<listitem>
|
||||||
<listitem>
|
<para><literal>ceilometer</literal>. Telemetry
|
||||||
<para><literal>heat</literal>.
|
API.</para>
|
||||||
Orchestration API.</para>
|
</listitem>
|
||||||
</listitem>
|
</itemizedlist>
|
||||||
<listitem>
|
<para>For example, to see the version number for the
|
||||||
<para><literal>ceilometer</literal>.
|
<command>nova</command> client, run this
|
||||||
Telemetry API.</para>
|
command:</para>
|
||||||
</listitem>
|
<screen><prompt>$</prompt> <userinput>nova --version</userinput>
|
||||||
</itemizedlist>
|
<computeroutput>2.14.1.17</computeroutput></screen>
|
||||||
<para>For example, to see the version of the
|
<para>To see the version number for the
|
||||||
nova client, run the following
|
<command>keystone</command> client, run this
|
||||||
command:</para>
|
command:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>nova --version</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>keystone --version</userinput>
|
||||||
<screen><computeroutput>2.14.1.17</computeroutput></screen>
|
<computeroutput>0.3.1.73</computeroutput></screen>
|
||||||
<para>To see the version of the keystone
|
|
||||||
client, run the following
|
|
||||||
command:</para>
|
|
||||||
<screen><prompt>$</prompt> <userinput>keystone --version</userinput></screen>
|
|
||||||
<screen><computeroutput>0.3.1.73</computeroutput></screen>
|
|
||||||
</step>
|
|
||||||
</procedure>
|
|
||||||
</section>
|
</section>
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>admin-guide-cloud</module>
|
<module>admin-guide-cloud</module>
|
||||||
|
<module>cli-reference</module>
|
||||||
<module>config-reference</module>
|
<module>config-reference</module>
|
||||||
<module>glossary</module>
|
<module>glossary</module>
|
||||||
<module>high-availability-guide</module>
|
<module>high-availability-guide</module>
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
<xi:include href="../common/section_cli_version.xml"/>
|
<xi:include href="../common/section_cli_version.xml"/>
|
||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
<xi:include href="../common/section_cli_openrc.xml"/>
|
<xi:include href="../common/section_cli_openrc.xml"/>
|
||||||
<xi:include
|
<?hard-pagebreak?>
|
||||||
href="../common/section_cli_glance_manage_images.xml"/>
|
<xi:include href="../common/section_cli_glance_manage_images.xml"/>
|
||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
<xi:include href="section_cli_nova_configure_instances.xml"/>
|
<xi:include href="section_cli_nova_configure_instances.xml"/>
|
||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
@ -25,8 +25,6 @@
|
|||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
<xi:include href="section_cli_nova_manage_instances.xml"/>
|
<xi:include href="section_cli_nova_manage_instances.xml"/>
|
||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
<!-- <xi:include href="../common/section_cli_nova_user-data.xml"/>
|
|
||||||
<?hard-pagebreak?>-->
|
|
||||||
<xi:include href="../common/section_cli_nova_userdata.xml"/>
|
<xi:include href="../common/section_cli_nova_userdata.xml"/>
|
||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
<xi:include href="section_cli_nova_config-drive.xml"/>
|
<xi:include href="section_cli_nova_config-drive.xml"/>
|
||||||
@ -40,5 +38,6 @@
|
|||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
<xi:include href="section_cli_ceilometer.xml"/>
|
<xi:include href="section_cli_ceilometer.xml"/>
|
||||||
<?hard-pagebreak?>
|
<?hard-pagebreak?>
|
||||||
<xi:include href="../common/section_cli_cinder_manage_volumes.xml"/>
|
<xi:include href="../common/section_cli_cinder_manage_volumes.xml"
|
||||||
|
/>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
Loading…
Reference in New Issue
Block a user