(
self, host: str = "", port: str = "443", username: str = "", password: str = ""
)
| 11 | PREFIX = "/redfish/v1/" |
| 12 | |
| 13 | def __init__( |
| 14 | self, host: str = "", port: str = "443", username: str = "", password: str = "" |
| 15 | ): |
| 16 | super().__init__(host, username, password) |
| 17 | self.log = get_logger(__name__) |
| 18 | self.log.info(f"Initializing redfish client {__name__}") |
| 19 | self.host: str = host |
| 20 | self.port: str = port |
| 21 | self.url: str = f"https://{self.host}:{self.port}" |
| 22 | self.token: str = "" |
| 23 | self.location: str = "" |
| 24 | self.session_service: str = "" |
| 25 | |
| 26 | def sessionservice_discover(self) -> None: |
| 27 | _error_msg: str = "Can't discover SessionService url" |
nothing calls this directly
no test coverage detected