[Murano Docs] [CLI] Manage categories

Adds the Manage categories sub-section to the
Using CLI section of the End User Guide.

Change-Id: Id8f5f276a6924fab9fc98025bd5cff5e0315676b
This commit is contained in:
Maria Zlatkova 2016-01-22 18:13:59 +02:00
parent 8538a1bffd
commit 2c1735a93c
1 changed files with 49 additions and 1 deletions

View File

@ -429,4 +429,52 @@ specify so many parameters. For more information on automatic package
composition, please see :ref:`Automatic package composing <compose_package>`.
Manage categories
~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~
In murano, applications can belong to a category or multiple categories.
Administrative users can create and delete a category as well as list
available categories and view details for a particular category.
Create a category
-----------------
To create a category, use the following command specifying the category name:
.. code-block:: console
murano category-create <NAME>
List available categories
-------------------------
To get a list of all existing categories, run:
.. code-block:: console
murano category-list
Show category details
---------------------
To see packages that belong to a particular category, use the following
command specifying the category ID:
.. code-block:: console
murano category-show <ID>
Delete a category
-----------------
To delete a category, use the following command specifying the ID of a
category or multiple categories to delete:
.. code-block:: console
murano category-delete <ID> [<ID> ...]
.. note::
Verify that no packages belong to the category to be deleted, otherwise an
error appears. For this, use the :command:`murano category-show <ID>`
command.