From 9c6ae790a26d8aad088f3334e0770868a366e1ec Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 29 Jan 2014 19:55:57 +0100 Subject: [PATCH] Add new CLI Reference manual This is the first version of a CLI Reference manual. It takes content from the End User Guide. Change-Id: I6f3ff1e56975cb7ea1af03ebd0d85f5eb8346af9 --- doc/cli-reference/bk-cli-reference.xml | 62 ++++++++++++ doc/cli-reference/ch_cli.xml | 19 ++++ doc/cli-reference/ch_command_reference.xml | 30 ++++++ doc/cli-reference/ch_preface.xml | 14 +++ doc/cli-reference/pom.xml | 80 ++++++++++++++++ doc/common/section_cli_version.xml | 105 ++++++++++----------- doc/pom.xml | 1 + doc/user-guide/ch_cli.xml | 9 +- 8 files changed, 259 insertions(+), 61 deletions(-) create mode 100644 doc/cli-reference/bk-cli-reference.xml create mode 100644 doc/cli-reference/ch_cli.xml create mode 100644 doc/cli-reference/ch_command_reference.xml create mode 100644 doc/cli-reference/ch_preface.xml create mode 100644 doc/cli-reference/pom.xml diff --git a/doc/cli-reference/bk-cli-reference.xml b/doc/cli-reference/bk-cli-reference.xml new file mode 100644 index 0000000000..e112bec9d8 --- /dev/null +++ b/doc/cli-reference/bk-cli-reference.xml @@ -0,0 +1,62 @@ + + + + OpenStack Command Line Interface Reference + +CLI Reference + + + + + + + + OpenStack Foundation + + + + 2014 + OpenStack Foundation + + trunk + OpenStack + + + + Remaining licensing details are filled in by + the template. + + + + This guide describes how to obtain, create, and + modify virtual machine images that are compatible with + OpenStack. + + + + + 2014-01-29 + + + + Initial version. + + + + + + + + + + + + + + diff --git a/doc/cli-reference/ch_cli.xml b/doc/cli-reference/ch_cli.xml new file mode 100644 index 0000000000..24e65ecd65 --- /dev/null +++ b/doc/cli-reference/ch_cli.xml @@ -0,0 +1,19 @@ + + + + + OpenStack command-line clients + + + + + + + + + diff --git a/doc/cli-reference/ch_command_reference.xml b/doc/cli-reference/ch_command_reference.xml new file mode 100644 index 0000000000..7b604c2434 --- /dev/null +++ b/doc/cli-reference/ch_command_reference.xml @@ -0,0 +1,30 @@ + + + Command reference + + + + + + + + + + + + + + + + diff --git a/doc/cli-reference/ch_preface.xml b/doc/cli-reference/ch_preface.xml new file mode 100644 index 0000000000..c104dcb9b8 --- /dev/null +++ b/doc/cli-reference/ch_preface.xml @@ -0,0 +1,14 @@ + + + Preface + + + + diff --git a/doc/cli-reference/pom.xml b/doc/cli-reference/pom.xml new file mode 100644 index 0000000000..06df7a4776 --- /dev/null +++ b/doc/cli-reference/pom.xml @@ -0,0 +1,80 @@ + + + org.openstack.docs + parent-pom + 1.0.0-SNAPSHOT + ../pom.xml + + 4.0.0 + openstack-cli-reference + jar + OpenStack Command Line Interface Reference + + + local + 0 + + + + + + + + com.rackspace.cloud.api + clouddocs-maven-plugin + + + + generate-webhelp + + generate-webhelp + + generate-sources + + + 0 + os-image-guide + 1 + UA-17511903-1 + + 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 + + + 0 + 0 + 1 + 1 + 0 + cli-reference + cli-reference + + + + + + enduser + true + . + + bk-cli-reference.xml + + openstack + http://docs.openstack.org/cli-reference/content/ + + + + + diff --git a/doc/common/section_cli_version.xml b/doc/common/section_cli_version.xml index 01e39ece8f..46626c95ba 100644 --- a/doc/common/section_cli_version.xml +++ b/doc/common/section_cli_version.xml @@ -4,60 +4,53 @@ xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="checking_version_cli"> Get the version for a client - After you install an OpenStack client, you can get its - version number. - - - Run the following command get the - version number for a client: - $ PROJECT --version - Where PROJECT - is one of the following project - names: - - - nova. - Compute API and extensions. - - - neutron. - Networking API. - - - keystone. - Identity Service API. - - - glance. - Image Service API. - - - swift. - Object Storage API. - - - cinder. - Block Storage Service API. - - - heat. - Orchestration API. - - - ceilometer. - Telemetry API. - - - For example, to see the version of the - nova client, run the following - command: - $ nova --version - 2.14.1.17 - To see the version of the keystone - client, run the following - command: - $ keystone --version - 0.3.1.73 - - + Run this command get the version number for a + client: + $ PROJECT --version + Where PROJECT is a project + name: + + + nova. Compute API and + extensions. + + + neutron. Networking + API. + + + keystone. Identity + Service API. + + + glance. Image Service + API. + + + swift. Object Storage + API. + + + cinder. Block Storage + Service API. + + + heat. Orchestration + API. + + + ceilometer. Telemetry + API. + + + For example, to see the version number for the + nova client, run this + command: + $ nova --version +2.14.1.17 + To see the version number for the + keystone client, run this + command: + $ keystone --version +0.3.1.73 diff --git a/doc/pom.xml b/doc/pom.xml index 8659558d21..5b04ffbafd 100644 --- a/doc/pom.xml +++ b/doc/pom.xml @@ -10,6 +10,7 @@ admin-guide-cloud + cli-reference config-reference glossary high-availability-guide diff --git a/doc/user-guide/ch_cli.xml b/doc/user-guide/ch_cli.xml index 7d4ca9f315..170d7122cf 100644 --- a/doc/user-guide/ch_cli.xml +++ b/doc/user-guide/ch_cli.xml @@ -16,8 +16,8 @@ - + + @@ -25,8 +25,6 @@ - @@ -40,5 +38,6 @@ - +