'Set the tags on a Node instance.
Note that this updates the node object directly.
:param  node: Node object
:type   node: :class:`Node`
:param  tags: List of tags to apply to the object
:type   tags: ``list`` of ``str``
:return:  True if successful
:rtype:   ``bool``'

def ex_set_node_tags(self, node, tags):

    request = ('/zones/%s/instances/%s/setTags' % (node.extra['zone'].name, node.name))
    tags_data = {}
    tags_data['items'] = tags
    tags_data['fingerprint'] = node.extra['tags_fingerprint']
    self.connection.async_request(request, method='POST', data=tags_data)
    new_node = self.ex_get_node(node.name, node.extra['zone'])
    node.extra['tags'] = new_node.extra['tags']
    node.extra['tags_fingerprint'] = new_node.extra['tags_fingerprint']
    return True
