LUExportInstance: Move exporting code to helper class
authorMichael Hanselmann <hansmi@google.com>
Thu, 29 Apr 2010 13:25:22 +0000 (15:25 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 4 May 2010 12:38:45 +0000 (14:38 +0200)
commit387794f8b955e3348198976535cdc8f4562fa196
tree1aa123552c82e147513edfb5f931ca1bfbf0797a
parentc1e7897de040fb86a71100684b64f46c8b08e2eb
LUExportInstance: Move exporting code to helper class

This will simplify the implementation of intra-cluster instance
exports and reduces the number of local variables in
LUExportInstance.Exec.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cmdlib.py
lib/masterd/instance.py