Upgrade be/hv params with default values
authorGuido Trotter <ultrotter@google.com>
Thu, 28 May 2009 09:25:36 +0000 (10:25 +0100)
committerIustin Pop <iustin@google.com>
Mon, 10 Aug 2009 10:41:40 +0000 (12:41 +0200)
commit77b60cdb9b93ceb0b16d80b01f672155a2b6d6b8
tree50010f094b1c0215377794df48812db4346b3cc2
parentaafb303d753df6d124c037a9f9775561eb6341a2
Upgrade be/hv params with default values

From time to time we're adding new be or hv parameters. With this patch
missing parameters get set to the default value when loading the cluster
object. This patch version also considers the case when hv/be params
don't exist at all, and fixes a broken unit test triggered in that
case.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
(cherry picked from commit c1b42c18b914aa7ea650362ade7489448f71a523)
lib/objects.py