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

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

Previous topic

The nova.auth.fakeldap Module

Next topic

The nova.cert.manager Module

This Page