Skip to content
Snippets Groups Projects
Commit 33c7b428 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

NBI component:

- Added missing comment
parent ffd0c150
No related branches found
No related tags found
4 merge requests!346Draft: support for restconf protocol,!345Draft: support ipinfusion devices via netconf,!328Resolve "(CTTC) Update recommendations to use SocketIO on NBI and E2E Orch components",!286Resolve "(CTTC) Implement integration test between E2E-IP-Optical SDN Controllers"
......@@ -41,6 +41,9 @@ class NbiApplication:
self._app.config['SECRET_KEY'] = SECRET_KEY
self._app.after_request(log_request)
self._api = Api(self._app, prefix=base_url)
# Configure KafkaManager to enable SocketIO Servers running in different
# gunicorn workers to self-coordinate and share sessions.
self._sio_client_manager = socketio.KafkaManager(
url='kafka://{:s}'.format(KafkaConfig.get_kafka_address()),
channel=KafkaTopic.NBI_SOCKETIO_WORKERS.value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment