summaryrefslogtreecommitdiffstats
path: root/utils/openstack_utils.py
diff options
context:
space:
mode:
authorjuraj.linkes <jlinkes@cisco.com>2016-09-15 16:11:40 +0200
committerjuraj.linkes <jlinkes@cisco.com>2016-09-15 16:11:40 +0200
commit758ef5ddb78f8b5a948189f398daa7d4457b9f1d (patch)
treed664b1c103592e152a506c1fc9c974ddd7900aa1 /utils/openstack_utils.py
parent3097840a4cf0d4c4a32ce24b38af4cc2c601526b (diff)
fixed updating of hugepage flavors
Change-Id: I5719aef5d5334584337858cf5fee3ef024c0eaac Signed-off-by: juraj.linkes <jlinkes@cisco.com>
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 5a4775d3a..d528549a1 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