Change node parameter oob_program to VTYPE_STRING
authorIustin Pop <iustin@google.com>
Tue, 21 Aug 2012 14:52:07 +0000 (16:52 +0200)
committerIustin Pop <iustin@google.com>
Thu, 23 Aug 2012 08:44:31 +0000 (10:44 +0200)
commit1df4d430da99f0c7b0fe0fdbce92c6acd1a0870c
tree26be68ec2d57cad96bccfa832437eb2cfba45f16
parent4e27516b57baef6444038df6a0e76f408f1f12d7
Change node parameter oob_program to VTYPE_STRING

Since this is an inheritable parameter, having it as a MABYE_STRING
creates only problems (per our derivation rules). We change it to
STRING, with the default "", meaning no program. Note that most of the
code already accepts this as valid for "no program", and some comments
even say that this is the expected value.

We have some other parameters like this, I'll have to investigate
whether they need to be changed too. But right now I need this for the
hconfd changes (it's a prerequisite for them, I forgot to send it in
that patch series).

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