Introduce an RPC call for OS parameters validation
authorIustin Pop <iustin@google.com>
Sat, 12 Jun 2010 02:13:29 +0000 (04:13 +0200)
committerIustin Pop <iustin@google.com>
Wed, 23 Jun 2010 16:23:12 +0000 (18:23 +0200)
commitacd9ff9e995bb1dd7314ce7923aa4e5e888019a1
tree92eb45d5eac8183b5205c17282d29718be786bb0
parentc7d04a6b404c2c498ee05c7bf1835f2f02366d10
Introduce an RPC call for OS parameters validation

While we only support the 'parameters' check today, the RPC call is
generic enough that will be able to support other checks in the future.
The backend function will both validate the parameters list (so as to
make sure we don't pass in extra parameters that the OS validation
doesn't care about) and the parameter values, via the OS verify script.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
daemons/ganeti-noded
lib/backend.py
lib/cmdlib.py
lib/constants.py
lib/rpc.py