The nova.virt.storage_users Module

get_storage_users(storage_path)

Get a list of all the users of this storage path.

register_storage_use(storage_path, hostname)

Identify the id of this instance storage.