diff --git a/rally_openstack/verification/tempest/context.py b/rally_openstack/verification/tempest/context.py index cca6c3d0..acc7e2d0 100644 --- a/rally_openstack/verification/tempest/context.py +++ b/rally_openstack/verification/tempest/context.py @@ -154,7 +154,8 @@ class TempestContext(context.VerifierContext): if helper_method: res = helper_method(*args, **kwargs) if res: - value = res["name"] if "network" in option else res.id + value = res["network"]["name"] if ("network" in + option) else res.id LOG.debug("Setting value '%s' to option '%s'." % (value, option)) self.conf.set(section, option, value) LOG.debug("Option '{opt}' is configured. "