kontron / python-ipmi

A pure python IPMI library
GNU Lesser General Public License v2.1
187 stars 74 forks source link

interface.ipmitool: handle failure "Unable to establish..." #109

Closed hthiery closed 2 years ago

hthiery commented 2 years ago

ipmitool will exit with msg "Unable to establish .* session" in case an error occurs in establishing phase. Catch this correctly and throw an IpmiConnectionError excpetion.

Fixes #108

Signed-off-by: Heiko Thiery heiko.thiery@gmail.com