def eventlet_rpc_server():
    pool = eventlet.GreenPool()
    LOG.info(_LI("Eventlet based AMQP RPC server starting..."))
    try:
        neutron_rpc = service.serve_rpc()
    except __HOLE__:
        LOG.info(_LI("RPC was already started in parent process by "
                     "plugin."))
    else:
        pool.spawn(neutron_rpc.wait)
    pool.waitall()
dataset/ETHPy150Open openstack/neutron/neutron/server/rpc_eventlet.py/eventlet_rpc_server