The nova.tests.virt.hyperv.fake Module

class PathUtils

Bases: object

copy(src, dest)
copyfile(src, dest)
exists(path)
get_base_vhd_dir()
get_ephemeral_vhd_path(instance_name, format_ext)
get_export_dir(instance_name)
get_instance_dir(instance_name, remote_server=None, create_dir=True, remove_dir=False)
get_instance_migr_revert_dir(instance_name, create_dir=False, remove_dir=False)
get_instances_dir(remote_server=None)
get_root_vhd_path(instance_name, format_ext)
get_vm_console_log_paths(vm_name, remote_server=None)
lookup_configdrive_path(instance_name)
lookup_ephemeral_vhd_path(instance_name)
lookup_root_vhd_path(instance_name)
makedirs(path)
open(path, mode)
remove(path)
rename(src, dest)
rmtree(path)
vhd_exists(path)

Previous topic

The nova.tests.virt.hyperv.db_fakes Module

Next topic

The nova.tests.virt.hyperv.test_basevolumeutils Module

This Page