summaryrefslogtreecommitdiffstats
path: root/scripts/functest_sim.sh
diff options
context:
space:
mode:
authorJuraj Linkeš <jlinkes@cisco.com>2017-03-13 16:35:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-13 16:35:35 +0000
commit457756281a82c99d6e1ae261e8a6356eb01aa7f2 (patch)
tree8575e90c40ffc1c70a467a51d5c4ef66315c3e5a /scripts/functest_sim.sh
parentab5296b9a6779c027c9cf2b22bfd6e79c9f3b0b6 (diff)
parent5082ea69b089af9def79d8d79bab9cc8488236e9 (diff)
Merge "Fixed typos and updated functest sim for Newton deployments"
Diffstat (limited to 'scripts/functest_sim.sh')
-rwxr-xr-xscripts/functest_sim.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/functest_sim.sh b/scripts/functest_sim.sh
index e328b50..5c22e64 100755
--- a/scripts/functest_sim.sh
+++ b/scripts/functest_sim.sh
@@ -6,7 +6,7 @@ neutron subnet-create --name test-subnet test-net 192.168.20.0/24
net_id=`neutron net-list | grep test-net | cut -f 2 -d " "`
# ATTACH NETWORK TO ROUTER
-echo "Attaching external and tenant networks to reouter"
+echo "Attaching external and tenant networks to router"
neutron router-create test-router
neutron router-interface-add test-router test-subnet
neutron router-gateway-set test-router external
@@ -19,7 +19,7 @@ nova secgroup-add-rule test-secgroup tcp 22 22 0.0.0.0/0
# FIRST VM
echo "Creating first VM in the network and adding the security group to it"
-nova boot --image cirros-0.3.4 --flavor 1 --nic net-id=$net_id test-vm1
+nova boot --image cirros-0.3.4 --flavor nfv --nic net-id=$net_id test-vm1
nova add-secgroup test-vm1 test-secgroup
echo "Waiting 7 seconds for the VM to come up"
@@ -27,7 +27,7 @@ sleep 7
# SECOND VM
echo "Creating second VM in the network and adding the security group to it"
-nova boot --image cirros-0.3.4 --flavor 1 --nic net-id=$net_id test-vm2
+nova boot --image cirros-0.3.4 --flavor nfv --nic net-id=$net_id test-vm2
nova add-secgroup test-vm2 test-secgroup
# FLOATING IP