aboutsummaryrefslogtreecommitdiffstats
path: root/utils/openstack_utils.py
diff options
context:
space:
mode:
authorjuraj.linkes <jlinkes@cisco.com>2016-09-15 16:11:40 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-09-15 14:20:52 +0000
commit9052ea988c15ad8eab757271f886429619c0aa7d (patch)
treeef9ecb8702b1ea0774998d7a2634324373328bbd /utils/openstack_utils.py
parent7a7bc44620528c9904e9d86a195270dcfcc87941 (diff)
fixed updating of hugepage flavors
Change-Id: I5719aef5d5334584337858cf5fee3ef024c0eaac Signed-off-by: juraj.linkes <jlinkes@cisco.com> (cherry picked from commit 758ef5ddb78f8b5a948189f398daa7d4457b9f1d)
Diffstat (limited to 'utils/openstack_utils.py')
-rwxr-xr-xutils/openstack_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/openstack_utils.py b/utils/openstack_utils.py
index 8c2e00cb1..c53e631d0 100755
--- a/utils/openstack_utils.py
+++ b/utils/openstack_utils.py
@@ -239,7 +239,7 @@ def create_flavor(nova_client, flavor_name, ram, disk, vcpus):
try:
extra_specs = ft_utils.get_functest_config(
'general.flavor_extra_specs')
- flavor.update(extra_specs)
+ flavor.set_keys(extra_specs)
except ValueError:
# flavor extra specs are not configured, therefore skip the update
pass