Merge "[doc]Improve the Murano client doc"

This commit is contained in:
Jenkins 2016-03-01 02:17:09 +00:00 committed by Gerrit Code Review
commit 88c1b3fc32
2 changed files with 34 additions and 31 deletions

View File

@ -78,12 +78,12 @@ Importing packages in Murano
============================ ============================
``package-import`` subcommand can install packages in several different ways: ``package-import`` subcommand can install packages in several different ways:
* from a locall file * from a local file
* from a http url * from a http url
* from murano app repository * from murano app repository
When creating a package you can specify it's categories with When creating a package you can specify it's categories with
``-c/--categories`` and set it's publicity with ``--public`` ``-c/--categories`` and set it's publicity with ``--is-public``
To import a local package run:: To import a local package run::
@ -123,13 +123,14 @@ would ask you what do do with it. You can specify the default action with
Importing bundles of packages in Murano Importing bundles of packages in Murano
======================================= =======================================
``package-import`` subcommand can install packages in several different ways: ``bundle-import`` subcommand can install bundles of packages in several
different ways:
* from a local file * from a local file
* from a http url * from a http url
* from murano app repository * from murano app repository
When creating a package you can specify it's categories with When creating a package you can specify it's categories with
``-c/--categories`` and set it's publicity with ``--public`` ``-c/--categories`` and set it's publicity with ``--is-public``
To import a local bundle run:: To import a local bundle run::
@ -143,10 +144,12 @@ To import a bundle from murano repository run::
murano bundle-import bundle_name murano bundle-import bundle_name
Note: When importing from a local file packages would first be searched in a .. note::
directory, relative to the directory containing the bundle file itself. This
is done to facilitate installing bundles in an environment with no access to When importing from a local file packages would first be searched in a
the repository itself. directory, relative to the directory containing the bundle file itself.
This is done to facilitate installing bundles in an environment with no
access to the repository itself.
Deleting packages from murano Deleting packages from murano
============================= =============================
@ -174,7 +177,7 @@ files/directories. To find out more about this command run::
murano help package-create murano help package-create
This command is useful, when application package files are spread across This command is useful, when application package files are spread across
several directories, and for auto-generating packages from heat templates several directories, and for auto-generating packages from heat templates.
For more info about package composition please see package creation docs: For more info about package composition please see package creation docs:
:ref:`step-by-step`. :ref:`step-by-step`.

View File

@ -199,11 +199,11 @@ murano applications repository using the package URL:
# murano package-import http://storage.apps.openstack.org/apps/io.murano.databases.MySql.zip # murano package-import http://storage.apps.openstack.org/apps/io.murano.databases.MySql.zip
Inspecting required images Inspecting required images
Importing package io.murano.databases.MySql Importing package io.murano.databases.MySql
+----------------------------------+-------+--------------------------+--------------+----------+ +----------------------------------+-------+--------------------------+--------------+--------+----------+------------+
| ID | Name | FQN | Author | Is Public| | ID | Name | FQN | Author | Active | Is Public| Type |
+----------------------------------+-------+-----------------------------------------+----------+ +----------------------------------+-------+-----------------------------------------+--------+----------+------------+
| 1aa62196595f411399e4e48cc2f6a512 | MySQL | io.murano.databases.MySql| Mirantis, Inc| | | 1aa62196595f411399e4e48cc2f6a512 | MySQL | io.murano.databases.MySql| Mirantis, Inc| True | | Application|
+----------------------------------+-------+-----------------------------------------+----------+ +----------------------------------+-------+-----------------------------------------+--------+----------+------------+
.. _cli_bundles: .. _cli_bundles:
@ -218,7 +218,7 @@ several different ways:
* :ref:`from murano app repository <cli_bundle_repo>` * :ref:`from murano app repository <cli_bundle_repo>`
When importing bundles, you can specify their categories with When importing bundles, you can specify their categories with
``-c/--categories`` and set their publicity with ``--public``. ``-c/--categories`` and set their publicity with ``--is-public``.
.. _cli_local_bundle: .. _cli_local_bundle:
@ -247,12 +247,12 @@ The following example shows the import of a monitoring bundle:
Inspecting required images Inspecting required images
Importing package io.murano.apps.ZabbixServer Importing package io.murano.apps.ZabbixServer
Importing package io.murano.apps.ZabbixAgent Importing package io.murano.apps.ZabbixAgent
+----------------------------------+---------------+-----------------------------+---------------+-----------+ +----------------------------------+---------------+-----------------------------+---------------+--------+----------+------------+
| ID | Name | FQN | Author | Is Public | | ID | Name | FQN | Author | Active | Is Public| Type |
+----------------------------------+---------------+-----------------------------+---------------+-----------+ +----------------------------------+---------------+-----------------------------+---------------+--------+----------+------------+
| fb0b35359e384fe18158ff3ed8f969b5 | Zabbix Agent | io.murano.apps.ZabbixAgent | Mirantis, Inc | | | fb0b35359e384fe18158ff3ed8f969b5 | Zabbix Agent | io.murano.apps.ZabbixAgent | Mirantis, Inc | True | | Application|
| 00a77e302a65420c8080dc97cc0f2723 | Zabbix Server | io.murano.apps.ZabbixServer | Mirantis, Inc | | | 00a77e302a65420c8080dc97cc0f2723 | Zabbix Server | io.murano.apps.ZabbixServer | Mirantis, Inc | True | | Application|
+----------------------------------+---------------+-----------------------------+---------------+-----------+ +----------------------------------+---------------+-----------------------------+---------------+--------+----------+------------+
.. note:: .. note::
@ -317,16 +317,16 @@ ID, name, author and if it is public or not. For example:
.. code-block:: console .. code-block:: console
# murano package-list # murano package-list
+----------------------------------+--------------------+----------------------------------------+---------------+-----------+ +----------------------------------+--------------------+----------------------------------------+---------------+--------+----------+------------+
| ID | Name | FQN | Author | Is Public | | ID | Name | FQN | Author | Active | Is Public| Type |
+----------------------------------+--------------------+----------------------------------------+---------------+-----------+ +----------------------------------+--------------------+----------------------------------------+---------------+--------+----------+------------+
| daa46cfd78c74c11bcbe66d3239e546e | Apache HTTP Server | io.murano.apps.apache.ApacheHttpServer | Mirantis, Inc | | | daa46cfd78c74c11bcbe66d3239e546e | Apache HTTP Server | io.murano.apps.apache.ApacheHttpServer | Mirantis, Inc | True | | Application|
| 5252c9897e864c9f940e08500056f155 | Cloud Foundry | io.murano.apps.paas.CloudFoundry | Mirantis, Inc | | | 5252c9897e864c9f940e08500056f155 | Cloud Foundry | io.murano.apps.paas.CloudFoundry | Mirantis, Inc | True | | Application|
| 1aa62196595f411399e4e48cc2f6a512 | MySQL | io.murano.databases.MySql | Mirantis, Inc | | | 1aa62196595f411399e4e48cc2f6a512 | MySQL | io.murano.databases.MySql | Mirantis, Inc | True | | Application|
| 11d73cfdc6d7447a910984d95090463b | SQL Library | io.murano.databases | Mirantis, Inc | | | 11d73cfdc6d7447a910984d95090463b | SQL Library | io.murano.databases | Mirantis, Inc | True | | Application|
| fb0b35359e384fe18158ff3ed8f969b5 | Zabbix Agent | io.murano.apps.ZabbixAgent | Mirantis, Inc | | | fb0b35359e384fe18158ff3ed8f969b5 | Zabbix Agent | io.murano.apps.ZabbixAgent | Mirantis, Inc | True | | Application|
| 00a77e302a65420c8080dc97cc0f2723 | Zabbix Server | io.murano.apps.ZabbixServer | Mirantis, Inc | | | 00a77e302a65420c8080dc97cc0f2723 | Zabbix Server | io.murano.apps.ZabbixServer | Mirantis, Inc | True | | Application|
+----------------------------------+--------------------+----------------------------------------+---------------+-----------+ +----------------------------------+--------------------+----------------------------------------+---------------+--------+----------+------------+
.. _cli_display: .. _cli_display: