Fix multi-allocation RAPI method
authorHrvoje Ribicic <riba@google.com>
Tue, 28 Jan 2014 15:26:32 +0000 (15:26 +0000)
committerHrvoje Ribicic <riba@google.com>
Wed, 29 Jan 2014 15:26:42 +0000 (16:26 +0100)
commitd9fdd3543a0965fa4fe22126c490ff21d576f8a0
treef4e1668c7df7111729062c9719eb058b46583217
parent94e252a333f1b04e524f12a48345f92f870dc06f
Fix multi-allocation RAPI method

The OpInstanceMultiAlloc that the instances-multi-alloc RAPI method
uses accepts a list of OpInstanceCreate opcodes rather than a list of
dictionaries as provided by the method. This patch correctly constructs
the opcodes, allowing the RAPI call to work as expected.

Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/rapi/rlib2.py