'Destroys a node.
:param node: The node you wish to destroy.
:type volume: :class:`Node`
:param ex_keep_ips: True to keep all IP addresses assigned to the node
:type ex_keep_ips: : ``bool``
:return:    Instance of class ``Node``
:rtype:     :class: `Node`'

def destroy_node(self, node, ex_keep_ips=False):

    self.ex_shutdown_server(node.id)
    self._wait_for_state(node.id, 'POWERED_OFF')
    response = self.connection.request(action=('servers/%s' % node.id), params={'keep_ips': ex_keep_ips}, method='DELETE')
    return self._to_node(response.object)
