LUSetInstanceParams: abstract _GetUpdatedParams
authorGuido Trotter <ultrotter@google.com>
Thu, 11 Jun 2009 12:40:28 +0000 (13:40 +0100)
committerGuido Trotter <ultrotter@google.com>
Fri, 12 Jun 2009 07:43:38 +0000 (08:43 +0100)
commit0329617acee35cf4f5299e3d431fd8e0e7fb4cbe
tree5f1f5d9394fbd20bacff670f4e3c7915a795c6d2
parent2ee88aeb76a2430ec0c7f86629bf66cfd0b6f564
LUSetInstanceParams: abstract _GetUpdatedParams

There is some duplicated code between hv and be parameters to create the
updated parameters dict. This will need to be done also for nic
parameters, so we abstract this functionality in a function.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cmdlib.py