def ex_edit_node(self, **kwargs):
        node = kwargs['node']
        size = kwargs['size']

        params = {'id': node.id,
                'server.ram': size.id}

        if 'ex_description' in kwargs:
            params['description'] = kwargs['ex_description']

        object = self.connection.request('/api/grid/server/edit',
                params=params).object

        return self._to_node(object['list'][0])
Get host name for a certain key.
dataset/ETHPy150Open cloudkick/libcloud/libcloud/compute/drivers/gogrid.py/GoGridNodeDriver.ex_edit_node--crossover with--dataset/ETHPy150Open fengsp/rc/rc/redis_router.py/BaseRedisRouter.get_host_for_key