2 .. image:: ../etc/opnfv-logo.png
13 This document gives the guide of how to set up the infrastructure for the use of bottlenecks test cases.
15 Create Instances for the Applications
16 =====================================
18 Firstly, there is a need to set up several instances for the applications which will be installed.
20 The script create_instances.sh will set up several instances, the parameters used in this script can be obtained according to the following,
22 Parameter $OPENRC_PATH is the path of where your admin-openrc.sh located, which includes the username and password of your openstack. Other parameters can be obtained under your openstack CLI as listed below,
24 +-------------+----------------------+
25 | parameter | commond line commond |
26 +=============+======================+
27 | NET_ID | neutron net-list |
28 +-------------+----------------------+
29 | FLAVOR_TYPE | nova flavor-list |
30 +-------------+----------------------+
31 | IMAGE_ID | nova image-list |
32 +-------------+----------------------+
33 | SEC_GROUP | nova secgroup-list |
34 +-------------+----------------------+
36 Add Floating IPs for the Instances
37 ===================================
39 Check the available floating IPs
45 Check the status of the instances created
51 If there're no available floating IPs, to create one
55 nova floating-ip-create <ext_net_name>
57 replace <ext_net_name> with the external network in your environment.
59 Associate the floating IP address with the instance
63 nova add-floating-ip <instance name or ID> <allocated_floating_IP>