Remove a pool.

def remove_pool(self, id):
        """ Remove a pool.
        """

        try:
            pool = Pool.get(int(id))
            pool.remove()

        except NipapError, e:
            return json.dumps({'error': 1, 'message': e.args, 'type': type(e).__name__})

        return json.dumps(pool, cls=NipapJSONEncoder)