def get_device_names(instance_type, num_volumes):
    device_names = []
    for i in xrange(num_volumes):
        device_name_format = ('nvme{}n1' if is_nvme(instance_type) else 'xvd{}')
        index = '{}'.format((i if is_nvme(instance_type) else chr((ord('b') + i))))
        device_names.append(device_name_format.format(index))
    return device_names
def get_device_names(instance_type, num_volumes):
    device_names = []
    for i in xrange(num_volumes):
        device_name_format = ('nvme{}n1' if is_nvme(instance_type) else 'xvd{}')
        index = '{}'.format((i if is_nvme(instance_type) else chr((ord('b') + i))))
        device_names.append(device_name_format.format(index))
    return device_names