Merge "Change floating ip association method"
[yardstick.git] / yardstick / benchmark / scenarios / availability / util.py
1 ##############################################################################
2 # Copyright (c) 2016 Juan Qiu
3 # juan_ qiu@tongji.edu.cn
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10
11 def buildshellparams(param):
12     i = 0
13     values = []
14     result = '/bin/bash -s'
15     for key in param.keys():
16         values.append(param[key])
17         result += " {%d}" % i
18         i = i + 1
19     return result