-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Replace redfish discover method. (#38)
* refactor: Replace redfish discover method. redfish.discover_ssdp method is replaced with a simple login call to the redfish service. If the RetriesExhaustedError exception is raised, we can infer that the redfish service isn't present on the system. Caching functionality of redfish discover result is maintained. Imports redfish_client method directly instead of importing entire redfish module. Modifies unit tests for the new method. Related: canonical/hardware-observer-operator#61
- Loading branch information
Showing
4 changed files
with
120 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.