The diskimage_builder.block_device.level0.localloop Module

class diskimage_builder.block_device.level0.localloop.LocalLoop(config, defaults, state)

Bases: diskimage_builder.block_device.plugin.PluginBase

get_nodes()
class diskimage_builder.block_device.level0.localloop.LocalLoopNode(config, default_config, state)

Bases: diskimage_builder.block_device.plugin.NodeBase

Level0: Local loop image device handling.

This class handles local loop devices that can be used for VM image installation.

create()
delete()
get_edges()

Because this is created without base, there are no edges.

umount()
diskimage_builder.block_device.level0.localloop.image_create(filename, size)
diskimage_builder.block_device.level0.localloop.image_delete(filename)
diskimage_builder.block_device.level0.localloop.loopdev_attach(filename)
diskimage_builder.block_device.level0.localloop.loopdev_detach(loopdev)