The nova.virt.hyperv.pathutils Module

class PathUtils

Bases: object

copy(src, dest)
copyfile(src, dest)
exists(path)
get_base_vhd_dir()
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_vhd_path(instance_name)
makedirs(path)
open(path, mode)

Wrapper on __builin__.open used to simplify unit testing.

remove(path)
rename(src, dest)
rmtree(path)

Previous topic

The nova.virt.hyperv.networkutils Module

Next topic

The nova.virt.hyperv.snapshotops Module

This Page