def _create_sata_controllers(sata_controllers):
    '''
    Returns a list of vim.vm.device.VirtualDeviceSpec objects representing
    SATA controllers

    sata_controllers
        SATA properties
    '''
    sata_ctrls = []
    keys = range(-15000, -15050, -1)
    if sata_controllers:
        devs = [sata['adapter'] for sata in sata_controllers]
        log.trace('Creating SATA controllers %s', devs)
        for sata, key in zip(sata_controllers, keys):
            sata_ctrls.append(_apply_sata_controller_config(
                sata['adapter'], 'add', key, sata['bus_number']))
    return sata_ctrls
Returns a list of vim.vm.device.VirtualDeviceSpec objects representing
    SATA controllers

    sata_controllers
        SATA properties