summaryrefslogtreecommitdiffstats
path: root/docs/MultiCloud-Heat-Deployment-Guide.rst
diff options
context:
space:
mode:
authorEthan Lynn <ethanlynnl@vmware.com>2018-06-05 17:26:55 +0800
committerEthan Lynn <ethanlynnl@vmware.com>2018-06-05 19:13:16 +0800
commitb3e79cc6ebba2898e201426b59c1bc8caa347a6a (patch)
tree8107165bb6733e29492dbc3f1196d2d99fb50cfc /docs/MultiCloud-Heat-Deployment-Guide.rst
parenta47bd5937ca0a7dd88533c05cbf8e67010ab56f2 (diff)
Fix style Change-Id: Ifee26b7453de51f63bd37b0289ab3ccdc0697ec2 Issue-ID: MULTICLOUD-239 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'docs/MultiCloud-Heat-Deployment-Guide.rst')
-rw-r--r--docs/MultiCloud-Heat-Deployment-Guide.rst60
1 files changed, 36 insertions, 24 deletions
diff --git a/docs/MultiCloud-Heat-Deployment-Guide.rst b/docs/MultiCloud-Heat-Deployment-Guide.rst
index f736f26..b2049bc 100644
--- a/docs/MultiCloud-Heat-Deployment-Guide.rst
+++ b/docs/MultiCloud-Heat-Deployment-Guide.rst
@@ -26,29 +26,33 @@ we'll need to create a file call admin.rc with following content
keystone version 2.0 Example:
-export OS_AUTH_URL=https://identity.api.opentack.com/v2.0/
-export OS_USERNAME=UserName
-export OS_TENANT_ID=TenantID
-export OS_REGION_NAME=RegionID
-export OS_PASSWORD=Password
-export OS_IDENTITY_API_VERSION=2
+.. code-block:: console
+
+ export OS_AUTH_URL=https://identity.api.opentack.com/v2.0/
+ export OS_USERNAME=UserName
+ export OS_TENANT_ID=TenantID
+ export OS_REGION_NAME=RegionID
+ export OS_PASSWORD=Password
+ export OS_IDENTITY_API_VERSION=2
keystone version 3.0 Example:
-export OS_AUTH_URL=https://identiy.api.openstack.com/v3/
-export OS_PROJECT_ID=ProjectID
-export OS_PROJECT_NAME=ProjectName
-export OS_USER_DOMAIN_NAME=DomainName
-export OS_USERNAME=UserName
-export OS_PASSWORD=Password
-if [ -z "$OS_USER_DOMAIN_NAME" ]; then unset OS_USER_DOMAIN_NAME; fi
+.. code-block:: console
+
+ export OS_AUTH_URL=https://identiy.api.openstack.com/v3/
+ export OS_PROJECT_ID=ProjectID
+ export OS_PROJECT_NAME=ProjectName
+ export OS_USER_DOMAIN_NAME=DomainName
+ export OS_USERNAME=UserName
+ export OS_PASSWORD=Password
+ if [ -z "$OS_USER_DOMAIN_NAME" ]; then unset OS_USER_DOMAIN_NAME; fi
-# unset v2.0 items in case set
-unset OS_TENANT_ID
-unset OS_TENANT_NAME
+ # unset v2.0 items in case set
+ unset OS_TENANT_ID
+ unset OS_TENANT_NAME
-export OS_IDENTITY_API_VERSION=3
+ export OS_IDENTITY_API_VERSION=3
@@ -58,7 +62,10 @@ Get VIO pem
Get a copy of vio.pem in load balancer vms(/etc/ssl/vio.pem) in local
host, then add the following line to your admin.rc file:
-export OS_CACERT=/your/path/vio.pem
+
+.. code-block:: console
+
+ export OS_CACERT=/your/path/vio.pem
@@ -66,22 +73,27 @@ export OS_CACERT=/your/path/vio.pem
Deploy the ONAP
~~~~~~~~~~~~~~~~
-get onap heat files from git repo:
-git clone http://<your-account>@gerrit.onap.org/r/a/demo
+get onap heat files from git repo::
-we will use onap_opentack_float.yaml and onap_openstack_float.env heat templates
-at ./demo/heat/ONAP/ dirctory.
+ git clone http://<your-account>@gerrit.onap.org/r/a/demo
+
+we will use onap_opentack_float.yaml and onap_openstack_float.env heat
+templates at ./demo/heat/ONAP/ dirctory.
Set env options in onap_openstack_float.env according to VIO platform env,
Finally, heat enviroment contains correct parameters.
Next source the admin.rc file to create shell environment variables we nedd.
-source admin.rc
+.. code-block:: console
+
+ source admin.rc
Then create heat stack
-openstack stack create -t onap_openstack_float.yaml -e onap_openstack_float.env ONAP
+.. code-block:: console
+
+ openstack stack create -t onap_openstack_float.yaml -e onap_openstack_float.env ONAP
This process will take several minutes to spin up