The congress.common.eventlet_server Module

class congress.common.eventlet_server.APIServer(app_conf, name, host=None, port=None, threads=1000, keepalive=False, keepidle=None, bus_id=None, **kwargs)

Bases: oslo_service.service.ServiceBase

Server class to Data Service Node with API services.

This server has All API services in itself.

kill()
listen(key=None, backlog=128)

Create and start listening on socket.

Call before forking worker processes.

Raises Exception if this has already been called.

reset()
set_ssl(certfile, keyfile=None, ca_certs=None, cert_required=True)
start(key=None, backlog=128)

Run a WSGI server with the given application.

stop()
wait()

Wait until all servers have completed running.

class congress.common.eventlet_server.EventletFilteringLogger(logger)

Bases: object

write(msg)
class congress.common.eventlet_server.Server(name, bus_id=None)

Bases: oslo_service.service.Service

Server class to Data Service Node without API services.

start()
stop()