ConfigWriter: add checks for be/nd/nic params
authorIustin Pop <iustin@google.com>
Fri, 28 Jan 2011 13:05:09 +0000 (14:05 +0100)
committerIustin Pop <iustin@google.com>
Fri, 28 Jan 2011 13:57:28 +0000 (14:57 +0100)
commit26f2fd8db7e3eafdb29399f26c8e720a885fc259
treef000739e0ab17170a125a9a901e4ceb476e289a2
parent7e01d20405b4ccf24aa9de48d983738b3c1a6e7c
ConfigWriter: add checks for be/nd/nic params

This adds checking (in the configuration) for invalid be, nd and nic
params. The code is a bit tricky as nd params are at cluster,
nodegroup and node level, nicparams are at cluster and nic level,
whereas beparams are at cluster and instance level.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>
lib/config.py