From aa684dcda7614d7616d2a8e174b46c4f2989b862 Mon Sep 17 00:00:00 2001 From: Xinni Ge Date: Mon, 4 Dec 2017 11:02:57 +0900 Subject: [PATCH] Add user doc of template generator Change-Id: Ie824b4eb0b1971edc29055b9e2565b0fd9ef36b3 --- doc/source/user/index.rst | 5 ++- doc/source/user/template_generator.rst | 51 ++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 doc/source/user/template_generator.rst diff --git a/doc/source/user/index.rst b/doc/source/user/index.rst index ee20b343..19534e0e 100644 --- a/doc/source/user/index.rst +++ b/doc/source/user/index.rst @@ -3,6 +3,7 @@ Heat Dashboard User Documentation ================================= .. toctree:: - :maxdepth: 1 + :maxdepth: 2 - stacks.rst \ No newline at end of file + stacks.rst + template_generator.rst diff --git a/doc/source/user/template_generator.rst b/doc/source/user/template_generator.rst new file mode 100644 index 00000000..4fb83f20 --- /dev/null +++ b/doc/source/user/template_generator.rst @@ -0,0 +1,51 @@ +====================================== +Generate a Heat Orchestration Template +====================================== + +Heat Dashboard provides a user-friendly interface to generate +Heat Orchestration templates in a Drag and Drop way. + + +Generate a template +~~~~~~~~~~~~~~~~~~~ + +#. Log in to the dashboard. +#. On the :guilabel:`Project` tab, open the :guilabel:`Orchestration` + tab and click :guilabel:`Template Generator` category. +#. Wait until the page is completely loaded. It may take several seconds. +#. Click the dropdown menu of Template Version, and choose an + appropriate version. +#. Drag icons of resource types at the top of the page to the central + canvas. +#. Click icons on the canvas to specify properties of resources. +#. Click EDIT button at the top of the canvas, to enable manipulate mode. +#. When in manipulate mode, click on CONNECT button to add an edge between + icons. +#. Click edges to show details of connections. +#. Click the Generate Template button at the top-right of the page and + generated template will be shown in a text box. You can also add + modification to the template here. +#. Click CREATE STACK to jump to continue to :guilabel:`Launch Stack`. +#. Click DOWNLOAD STACK to download the generated template. +#. You can also click the Manage Drafts button at the top-right of the + page, to temporarily save the editing canvas or to load a saved one. + + +Currently Supported resource types +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +13 types of resources are supported in the first release of Heat Dashboard. + +#. OS::Cinder::Volume +#. OS::Cinder::VolumeAttachment +#. OS::Heat::ResourceGroup +#. OS::Neutron::FloatingIP +#. OS::Neutron::FloatingIPAssociation +#. OS::Neutron::Net +#. OS::Neutron::Port +#. OS::Neutron::Router +#. OS::Neutron::RouterInterface +#. OS::Neutron::SecurityGroup +#. OS::Neutron::Subnet +#. OS::Nova::KeyPair +#. OS::Nova::Server