The nova.block_device Module

ephemeral_num(ephemeral_name)
instance_block_mapping(instance, bdms)
is_ephemeral(device_name)
is_swap_or_ephemeral(device_name)
mappings_prepend_dev(mappings)

Prepend ‘/dev/’ to ‘device’ entry of swap/ephemeral virtual type.

match_device(device)

Matches device name and returns prefix, suffix.

properties_root_device_name(properties)

get root device name from image meta data. If it isn’t specified, return None.

strip_dev(device_name)

remove leading ‘/dev/’.

strip_prefix(device_name)

remove both leading /dev/ and xvd or sd or vd.

volume_in_mapping(mount_device, block_device_info)

Previous topic

The nova.availability_zones Module

Next topic

The nova.cells.driver Module

This Page