Merge "Add methods to get an existing stack"
[yardstick.git] / yardstick / benchmark / scenarios / networking / sfc_pre_setup.bash
1 #!/bin/bash
2 ##############################################################################
3 # Copyright (c) 2017 Ericsson AB and others.
4 #
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 set -e
12
13 # download and create image
14 #wget https://www.dropbox.com/s/focu44sh52li7fz/sfc_cloud.qcow2
15 glance image-create --name sfc --disk-format qcow2 --container-format bare --file SF.qcow2
16
17
18 #create flavor
19 openstack flavor create custom --ram 1500 --disk 10 --public