Merge "Add description of environment clean-up" into stable/danube
[bottlenecks.git] / utils / infra_setup / README.rst
index 57b4947..0b6dc40 100644 (file)
@@ -1,10 +1,18 @@
-==================
+..
+.. image:: ../etc/opnfv-logo.png
+  :height: 40
+  :width: 200
+  :alt: OPNFV
+  :align: left
+..
+|
+|
 Infra Setup Guide
 ==================
 
 This document gives the guide of how to set up the infrastructure for the use of bottlenecks test cases.
 
-create instances for the applications
+Create Instances for the Applications
 =====================================
 
 Firstly, there is a need to set up several instances for the applications which will be installed.
@@ -25,8 +33,36 @@ Parameter $OPENRC_PATH is the path of where your admin-openrc.sh located, which
 | SEC_GROUP   | nova secgroup-list   |
 +-------------+----------------------+
 
-**Documentation tracking**
+Add Floating IPs for the Instances
+===================================
+
+Check the available floating IPs
+
+.. code-block:: bash
+
+    nova floating-ip-list
+
+Check the status of the instances created
+
+.. code-block:: bash
+
+    nova list
+
+If there're no available floating IPs, to create one
+
+.. code-block:: bash
+
+    nova floating-ip-create <ext_net_name>
+
+replace <ext_net_name> with the external network in your environment.
+
+Associate the floating IP address with the instance
+
+.. code-block:: bash
+
+    nova add-floating-ip <instance name or ID> <allocated_floating_IP>
+
 
 Revision: _sha1_
 
-Build date:  _date_
+Build date:  |today|