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

NBI component:

- Corrected initalization script
parent ac416063
No related branches found
No related tags found
3 merge requests!359Release TeraFlowSDN 5.0,!322Resolve "(CTTC) Update NBI WebSocket endpoints to Flask-SocketIO and use gunicorn",!286Resolve "(CTTC) Implement integration test between E2E-IP-Optical SDN Controllers"
......@@ -85,10 +85,11 @@ def configure_nbi(
return nbi_app
nbi_app = configure_nbi(base_url=BASE_URL)
if __name__ == '__main__':
# Only used to run it locally during development stage;
# otherwise, app is directly launched by gunicorn.
_nbi_app = configure_nbi(base_url=BASE_URL)
_nbi_app.run_standalone(
bind_address=BIND_ADDRESS, bind_port=BIND_PORT
)
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