def attach_volume(self, node, volume, device=None):
        """
        Attach a volume to a node.

        :param node: Node where to attach volume
        :type node: :class:`Node`

        :param volume: The ID of the volume
        :type volume: :class:`StorageVolume`

        :param device: Unsed parameter

        :return: True or False representing operation successful
        :rtype:   ``bool``
        """
        action = (API_ROOT, volume.id) % '%s/volume/%s/attach'
        data = {'instanceId': node.id}
        self.connection.request(action, data=data, method='POST')
        return True
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/runabove.py/RunAboveNodeDriver.attach_volume/swapped operands of `%`