ironic-staging-drivers/ironic_staging_drivers
Steve Baker b7ba3653fd oVirt driver: Close connection after each API call
Currently a new connection is created for every API call which is
never closed. This results in open connections accumulating over time
due to periodic calls like power state polling, which is further
compounded by the number of ovirt nodes deployed.

This change converts _getvm into a generator based context manager so
that the connection can be closed after every call.

Change-Id: I30f9695c591f72dae21467b0b31f6f67fad7cc8a
(cherry picked from commit 343a57570e)
2020-05-18 10:00:06 +12:00
..
amt Stop using six library 2019-12-03 12:16:17 +01:00
common pep8 ovirt classes, added copyright statement to ovirt files 2018-04-16 15:06:00 +02:00
iboot Stop using six library 2019-12-03 12:16:17 +01:00
intel_nm Bump hacking to 3.0.0 2020-03-31 10:15:18 +02:00
libvirt Remove classic drivers 2018-07-23 15:34:12 +02:00
ovirt oVirt driver: Close connection after each API call 2020-05-18 10:00:06 +12:00
tests oVirt driver: Close connection after each API call 2020-05-18 10:00:06 +12:00
wol Merge "WOL driver - include POWER_OFF in supported power states" 2019-03-25 12:54:34 +00:00
__init__.py Removes unnecessary utf-8 encoding 2017-01-11 19:44:36 +05:30
version.py Add the version.py module 2016-02-05 16:54:56 +00:00