X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fguides%2Fonap-developer%2Fsettingup%2Ffullonap.rst;h=4819f95a119e1aae2d1b7ed8b37bcf8b7ecc7a88;hb=1860a6b8307d7329a14a766f9155ab03a593e618;hp=86fc31cd143dcca7de257af8b588ce0e76464f54;hpb=052ab157f0abdceadd48cd034925864246795096;p=doc.git diff --git a/docs/guides/onap-developer/settingup/fullonap.rst b/docs/guides/onap-developer/settingup/fullonap.rst index 86fc31cd1..4819f95a1 100644 --- a/docs/guides/onap-developer/settingup/fullonap.rst +++ b/docs/guides/onap-developer/settingup/fullonap.rst @@ -28,6 +28,8 @@ The current installation is based on the single tenant deployment (all the ONAP The installation requires some manual tasks to setup the DCAE components. +.. _demo-installing-running-onap-requirements: + **Requirements** ================ @@ -50,19 +52,27 @@ The following OpenStack components must be deployed in the infrastructure: - *Nova* To deploy OpenStack, you can use various solutions: - - `OpenStack installer `_ + - `OpenStack installation guide `_ - `OPNFV Cross Community Continuous Integration - XCI installer `_ + - `OpenStack Ocata installation guide `_ + +.. tip:: + - Notice the documentation version mentioned in the URL, e.g. ocata/, pike/, latest/ ... + - The installation is pretty huge, some automated scripts have been created by the community: -*Designate* component is usually not deployed using standard OpenStack installers. -Use the procedure below to deploy and configure *Designate* + - `OpenStack installation with Ansible (All openstack services) `_ + - `OpenStack Ocata installation scripts for testing environment (DO NOT install Heat, Designate and Cinder Volume services) `_ + +Use the procedure below to deploy and configure *Designate* manually .. toctree:: - :maxdepth: 1 + :maxdepth: 1 install-designate.rst -The OpenStack infrastructure must enable internet access. +The OpenStack infrastructure must enable internet access and you need to have an "External network" already configured properly. +The External network ID will have to be provided in the Heat environment file. ONAP components --------------- @@ -120,9 +130,9 @@ Artifacts The following artifacts must be deployed on the OpenStack infrastructure: - a public SSH key to access the various VM - private SSH key and public key SSH key for the DCAE VM - - Ubuntu 14.04 image - - Ubuntu 16.04 image - - CentOS 7 image + - Ubuntu 14.04 image (https://cloud-images.ubuntu.com/releases/14.04/14.04/) + - Ubuntu 16.04 image (https://cloud-images.ubuntu.com/releases/16.04/release/) + - CentOS 7 image (http://cloud.centos.org/centos/7/images/) - Set of flavors: small, medium, large, medium, large, xlarge, xxlarge .. Note: The floating IP may be private IP. @@ -145,8 +155,8 @@ Source files Both following files must be downloaded and configured to match your configuration: -- Template file: https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.yaml -- Environment file: https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.env +- Template file: https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.yaml?h=amsterdam +- Environment file: https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.env?h=amsterdam The environment file must be customized as described in the following sections. @@ -343,16 +353,10 @@ or Command Line. **Instantiation via Command Line:** -- Install the HEAT client on your machine, e.g. in Ubuntu (ref. http://docs.openstack.org/user-guide/common/cli-install-openstack-command-line-clients.html): - -:: - - apt-get install python-dev python-pip - pip install python-heatclient # Install heat client - pip install python-openstackclient # Install the Openstack client to support multiple services +- You need to have the OpenStack Heat service installed: -- Create a file (named i.e. ~/openstack/openrc) that sets all the - environmental variables required to access your OpenStack tenant: +- Create a file (named i.e. ~/openstack/openrc) that sets all the + environmental variables required to access your OpenStack tenant: :: @@ -361,6 +365,8 @@ or Command Line. export OS_TENANT_ID=INSERT YOUR TENANT ID HERE export OS_REGION_NAME=INSERT THE REGION HERE export OS_PASSWORD=INSERT YOUR PASSWORD HERE + export OS_USER_DOMAIN_NAME=INSERT YOUR DOMAIN HERE + export OS_PROJECT_NAME=INSERT YOUR PROJECT NAME HERE - Run the script from command line: @@ -372,8 +378,13 @@ or Command Line. :: - heat stack-create STACK_NAME -f PATH_TO_HEAT_TEMPLATE(YAML FILE) -e PATH_TO_ENV_FILE # Old HEAT client, OR - openstack stack create -t PATH_TO_HEAT_TEMPLATE(YAML FILE) -e PATH_TO_ENV_FILE STACK_NAME # New Openstack client + # Old HEAT client + heat stack-create STACK_NAME -f PATH_TO_HEAT_TEMPLATE(YAML FILE) -e PATH_TO_ENV_FILE + + OR + + # New OpenStack client + openstack stack create -t PATH_TO_HEAT_TEMPLATE(YAML FILE) -e PATH_TO_ENV_FILE STACK_NAME .. Note The HEAT template deployment may take time (up to one hour) depending on your hardware environment.