The nova.tests.virt.disk.vfs.fakeguestfs Module

class GuestFS(**kwargs)

Bases: object

SUPPORT_CLOSE_ON_EXIT = True
SUPPORT_RETURN_DICT = True
add_drive(file, format=None, *args, **kwargs)
add_drive_opts(file, *args, **kwargs)
aug_close()
aug_get(cfgpath)
aug_init(root, flags)
chmod(mode, path)
chown(uid, gid, path)
close()
inspect_get_mountpoints(dev)
inspect_os()
launch()
mkdir_p(path)
mount_options(options, device, mntpoint)
read_file(path)
set_backend_settings(settings)
shutdown()
stat(path)
write(path, content)
write_append(path, content)

Previous topic

The nova.tests.virt.disk.test_inject Module

Next topic

The nova.tests.virt.disk.vfs.test_guestfs Module

This Page