Commit ea4dc982 authored by Iustin Pop's avatar Iustin Pop
Browse files

iallocator: export the hypervisor value

In 'allocate' mode, the documentation specifies that we export the
hypervisor value (“Allocation needs, in addition: … hypervisor, the
hypervisor of this instance”) and we need that on input, however we
don't actually export it.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 509bec87
......@@ -12250,6 +12250,7 @@ class IAllocator(object):
"disk_space_total": disk_space,
"nics": self.nics,
"required_nodes": self.required_nodes,
"hypervisor": self.hypervisor,
return request
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment