ironic/releasenotes/notes/reusing-oneview-client-6a3936fb8f113c10.yaml
Thiago Paiva 83b2d563a9 Reusing oneview_client when possible
A simple experiment showed that all calls to OneView were calling for
authentication. Reviewing the code, I perceived that every single call to
python-oneviewclient were creating a new instance of the client, which
authenticated again and generated a new session token on OneView.

This patch aims to reuse oneview_client instances when possible, avoiding
to create unecessary new sessions that can be reused.

Co-Authored-By: Hugo Nicodemos <nicodemos@lsd.ufcg.edu.br>
Co-Authored-By: Xavier <marcusrafael@lsd.ufcg.edu.br>

Change-Id: I0c26f0e033ca7f53f648c4ed29c6ef19f6f2e578
Closes-Bug: #1615070
2016-12-13 21:27:27 -03:00

5 lines
121 B
YAML

---
fixes:
- Fixes a bug where OneView drivers creates a new instance of the
oneview_client for each request made.