def close(self):
        """Shut down an SOL session,
        """
        if self.ipmi_session:
            self.ipmi_session.unregister_keepalive(self.keepaliveid)
        if self.activated:
            try:
                self.ipmi_session.raw_command(netfn=6, command=0x49,
                                              data=(1, 1, 0, 0, 0, 0))
            except exc.IpmiException:
                # if underlying ipmi session is not working, then
                # run with the implicit success
                pass
def close ( self ) : if self . ipmi_session : self . ipmi_session . unregister_keepalive ( self . keepaliveid ) if self . activated : try : self . ipmi_session . raw_command ( netfn = 6 , command = 0x49 , data = ( 1 , 1 , 0 , 0 , 0 , 0 ) ) except exc . IpmiException : pass
Shut down an SOL session,