'Return a Node object based on a node id.
:param  name: The ID of the node
:type   name: ``int``
:return:  A Node object for the node
:rtype:   :class:`Node`'

def ex_get_node(self, node_id):

    vm = self.connection.request('hosting.vm.info', int(node_id)).object
    ips = self.connection.request('hosting.ip.list').object
    vm['ips'] = []
    for ip in ips:
        if (vm['ifaces_id'][0] == ip['iface_id']):
            ip = ip.get('ip', None)
            if ip:
                vm['ips'].append(ip)
    node = self._to_node(vm)
    return node
