'Modifies node attributes.
Ouscale supports the following attributes:
\'DisableApiTermination.Value\', \'EbsOptimized\', \'GroupId.n\',
\'SourceDestCheck.Value\', \'UserData.Value\',
\'InstanceType.Value\'
:param      node: Node instance
:type       node: :class:`Node`
:param      attributes: A dictionary with node attributes
:type       attributes: ``dict``
:return: True on success, False otherwise.
:rtype: ``bool``'

def ex_modify_instance_attribute(self, node, disable_api_termination=None, ebs_optimized=None, group_id=None, source_dest_check=None, user_data=None, instance_type=None):

    attributes = {}
    if (disable_api_termination is not None):
        attributes['DisableApiTermination.Value'] = disable_api_termination
    if (ebs_optimized is not None):
        attributes['EbsOptimized'] = ebs_optimized
    if (group_id is not None):
        attributes['GroupId.n'] = group_id
    if (source_dest_check is not None):
        attributes['SourceDestCheck.Value'] = source_dest_check
    if (user_data is not None):
        attributes['UserData.Value'] = user_data
    if (instance_type is not None):
        attributes['InstanceType.Value'] = instance_type
    return super(OutscaleNodeDriver, self).ex_modify_instance_attribute(node, attributes)
