summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup/README.rst
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2015-09-06 15:47:56 +0800
committerMatthewLi <matthew.lijun@huawei.com>2015-09-06 15:47:56 +0800
commitf2ff8916410af82fc51813bb94d9ed6dd2fef493 (patch)
treeddde5c81c33402977aba66b7bbf759bd31c24360 /utils/infra_setup/README.rst
parentac6a9b61050d23a9c77c8796013902eb6841b497 (diff)
add floating IP guide
Change-Id: I3230e04314d2c553ddfb5cfc84196e4f19536341 JIRA: BOTTLENECK-5
Diffstat (limited to 'utils/infra_setup/README.rst')
-rw-r--r--utils/infra_setup/README.rst24
1 files changed, 23 insertions, 1 deletions
diff --git a/utils/infra_setup/README.rst b/utils/infra_setup/README.rst
index 57b49476..b6076eb9 100644
--- a/utils/infra_setup/README.rst
+++ b/utils/infra_setup/README.rst
@@ -4,7 +4,7 @@ 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,6 +25,28 @@ Parameter $OPENRC_PATH is the path of where your admin-openrc.sh located, which
| SEC_GROUP | nova secgroup-list |
+-------------+----------------------+
+Add Floating IPs for the Instances
+===================================
+
+Check the available floating IPs::
+
+ nova floating-ip-list
+
+Check the status of the instances created::
+
+ nova list
+
+If there're no available floating IPs, to create one::
+
+ 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::
+
+ nova add-floating-ip <instance name or ID> <allocated_floating_IP>
+
+
**Documentation tracking**
Revision: _sha1_