Reorganize documentation index page
Add information about adding heat templates as applications to the catalog Implements blueprint add-article-about-heat-templates-as-app-def Change-Id: I64ff68ea29b02f3a0c82958f8113a07723708832
This commit is contained in:
parent
b1d9660156
commit
78dc8c748f
BIN
doc/source/articles/app_uploaded.png
Normal file
BIN
doc/source/articles/app_uploaded.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 91 KiB |
116
doc/source/articles/heat_support.rst
Normal file
116
doc/source/articles/heat_support.rst
Normal file
@ -0,0 +1,116 @@
|
||||
..
|
||||
Copyright 2014 Mirantis, Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
not use this file except in compliance with the License. You may obtain
|
||||
a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
License for the specific language governing permissions and limitations
|
||||
under the License.
|
||||
|
||||
==================================================
|
||||
Uploading HOT templates to the Application Catalog
|
||||
==================================================
|
||||
|
||||
Murano is an Application catalog which intends to support applications, defined in different formats. As a first step to universality, heat orchestration template support was added.
|
||||
It means that any heat template could be added as a separate application into the Application Catalog. This could be done in two ways: manual and automatic.
|
||||
|
||||
Automatic package composing
|
||||
===========================
|
||||
Before uploading an application into the catalog, it should be prepared and archived.
|
||||
Murano command line will do all preparation for you.
|
||||
Just choose the desired Heat Orchestration Template and perform the following command:
|
||||
|
||||
::
|
||||
|
||||
murano package-create --template wordpress/template.yaml
|
||||
|
||||
Note, that optional parameters could be specified:
|
||||
|
||||
:--name: Application name, copied from template by default
|
||||
:--logo: Application square logo, by default heat logo will be used
|
||||
:--description: Text information about an application, by default copied from template
|
||||
:--author: Name of application author, by default is set to
|
||||
:--output: Name of the output file archive to save locally
|
||||
:--full-name: Fully qualified domain name - domain name that specifies exact application location
|
||||
|
||||
.. note::
|
||||
To performing this command python-muranoclient should be installed in the system
|
||||
|
||||
As the result, application definition archive will be ready for an uploading.
|
||||
|
||||
Manual package composing
|
||||
========================
|
||||
Application package could be composed manually. Follow the 5 steps below.
|
||||
|
||||
* *Step 1. Choose the desired heat orchestration template*
|
||||
* *Step 2. Rename it to template.yaml*
|
||||
* *Step 3. Prepare application logo (optional step)*
|
||||
|
||||
It could be any picture associated with the application.
|
||||
|
||||
* *Step 4. Create manifest.yaml file*
|
||||
|
||||
All service information about the application is contained here. Specify the following parameters:
|
||||
|
||||
:Format: Defines application definition format; should be set to ``Heat.HOT/1.0``
|
||||
:Type: Defines manifest type, should be set to ``Application``
|
||||
:FullName: Unique name which will be used to identify the application in Murano Catalog
|
||||
:Description: Text information about an application
|
||||
:Author: Name of application author or company
|
||||
:Tags: Keywords, associated with the application
|
||||
:Logo: Name of the application logo file
|
||||
|
||||
Take a look at the example:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
Format: Heat.HOT/1.0
|
||||
Type: Application
|
||||
FullName: io.murano.apps.linux.Wordpress
|
||||
Name: Wordpress
|
||||
Description: |
|
||||
WordPress is web software you can use to create a beautiful website or blog.
|
||||
This template installs a single-instance WordPress deployment using a local
|
||||
MySQL database to store the data.
|
||||
Author: 'Openstack, Inc'
|
||||
Tags: [Linux, connection]
|
||||
Logo: logo.png
|
||||
|
||||
* *Step 5. Create a zip archive, containing specified files(* ``template.yaml``, ``manifest.yaml``, ``logo.png``)
|
||||
|
||||
|
||||
Package uploading
|
||||
=================
|
||||
|
||||
After application package is ready, it can be uploaded to the catalog in two ways:
|
||||
|
||||
|
||||
* Using murano CLI
|
||||
During uploading, it's required to provide category, that application belongs to. To browse all available categories preform:
|
||||
|
||||
::
|
||||
|
||||
murano category-list
|
||||
|
||||
Specify any suitable category and path to the application archive.
|
||||
|
||||
::
|
||||
|
||||
murano package-import --category=Web wordpress.zip
|
||||
|
||||
|
||||
* Using Murano Dashboard
|
||||
|
||||
Package uploading is available for admin users at Murano -> Manage -> Packages page.
|
||||
|
||||
.. image:: upload.png
|
||||
|
||||
After that, application is available in the Catalog and could be selected for a deployment.
|
||||
|
||||
.. image:: app_uploaded.png
|
@ -1,27 +0,0 @@
|
||||
..
|
||||
Copyright 2014 Mirantis, Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
not use this file except in compliance with the License. You may obtain
|
||||
a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
License for the specific language governing permissions and limitations
|
||||
under the License.
|
||||
|
||||
============
|
||||
App Catalog
|
||||
============
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
murano_pl_index
|
||||
dynamic_ui
|
||||
app_pkg
|
||||
|
||||
workflow
|
@ -16,7 +16,7 @@
|
||||
.. _MuranoPL Spec:
|
||||
|
||||
=====================================
|
||||
Murano Program Language Specification
|
||||
MuranoPL: Murano Programming Language
|
||||
=====================================
|
||||
|
||||
Content
|
||||
|
BIN
doc/source/articles/upload.png
Normal file
BIN
doc/source/articles/upload.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
@ -48,18 +48,48 @@ Murano consists of three source code repositories:
|
||||
This documentation offers information on how Murano works and how to
|
||||
contribute to the project.
|
||||
|
||||
Table of contents
|
||||
=================
|
||||
|
||||
**Installation**
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
install/index
|
||||
|
||||
**Background Concepts for Murano**
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
articles/murano_pl_index
|
||||
articles/dynamic_ui
|
||||
articles/workflow
|
||||
|
||||
|
||||
**Tutorials**
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
articles/app_pkg
|
||||
articles/heat_support
|
||||
image_builders/index
|
||||
|
||||
**Guidelines**
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
contributing
|
||||
guidelines
|
||||
install/index
|
||||
articles/index
|
||||
|
||||
|
||||
**API specification**
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
specification/index
|
||||
image_builders/index
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
@ -15,9 +15,9 @@
|
||||
|
||||
.. _install:
|
||||
|
||||
==================
|
||||
Installing Murano
|
||||
==================
|
||||
=========================
|
||||
Murano Installation Guide
|
||||
=========================
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
@ -55,6 +55,7 @@ General information
|
||||
(X-Auth-Token). Clients must authenticate with Keystone before
|
||||
interacting with the Murano service.
|
||||
|
||||
|
||||
.. include:: murano-api.rst
|
||||
.. include:: murano-repository.rst
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user