2e24ffaceb
Instead of creating different objects everytime for
each proliant API call, this change uses existing ilo object.
This helps:
1) To fix the issue with session management in redfish based systems
2) To avoid unnecesary call to get_product_name
3) To avoid creating and deleting RISOperations, RIBCLOperations,
and Redfish operations.
4) To make the reading of the logs easy by removing the
unnecessary and duplicated logs generated as part of the
recreation logic.
5) And last but not the least, it will enable to provide more
caching mechanism eventually.
Change-Id: Iec13a8ee970ef687e4df59ac493f1e13e4db0c7b
(cherry picked from commit
|
||
---|---|---|
.. | ||
resources | ||
__init__.py | ||
connector.py | ||
main.py | ||
redfish.py | ||
utils.py |