Support multi instance allocs without iallocator
authorThomas Thrainer <thomasth@google.com>
Mon, 5 Aug 2013 10:11:21 +0000 (12:11 +0200)
committerThomas Thrainer <thomasth@google.com>
Wed, 7 Aug 2013 08:43:38 +0000 (10:43 +0200)
commiteba4d783c6ceb8a67c6abdf82c09af6a17637eec
treea4fc41dcef3e8aa8e532259eb69cf66327fd94a7
parentebf967ee802ac94856cb41e892725f58ce2651b8
Support multi instance allocs without iallocator

If all instances in the multi allocation request have already their
primary and secondary node set, there is no need for an iallocator. Thus
don't require it in this case and omit the call to it all together.

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
lib/cmdlib.py