':param node_id: ID of the node to wait for.
:type node_id: ``int``
:param timeout: Timeout (in seconds).
:type timeout: ``int``
:param interval: How long to wait (in seconds) between each attempt.
:type interval: ``float``
:return: Node representing the newly built server
:rtype: :class:`Node`'

def _wait_for_node(self, node_id, timeout=30, interval=5.0):

    for i in range(0, timeout, int(interval)):
        try:
            node = self.ex_get_node(node_id)
            return node
        except HostVirtualException:
            time.sleep(interval)
    raise HostVirtualException(412, 'Timeout    on    getting    node    details')
