Revision 94dcbdb0
ID | 94dcbdb031f1d8a8bcd368ed911e83a25eabb1c2 |
Parent | 13d2e231 |
Child | 5e99141b |
Use disk parameters in noded
- add the params attribute to BlockDev, and add the corresponding
parameter to all the BlockDev classes; - change the Create, Assemble and FindDevice factory functions interface
to accept as parameters an objects.Disk instance and a list of
children block devices; update their callers; - make the factory functions provide default values for params if
needed; - factor out a check in the block device factory functions.
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Files
- added
- modified
- copied
- renamed
- deleted
- lib
- backend.py (diff)
- bdev.py (diff)