Close active SOL session after disable SSH SOL

Issue: When SOL-SSH is being disable by Control BMC service command,
       the active SOL session are not being closed.

Fix: Stop the Payload Instance and Host console for active SOL
     session when SSH SOL is being disable.

Tested:
Verified using ipmitool sol commands.
1. Enable SSH SOL using control BMC service command
Command: ipmitool raw 0x30 0xb1 0x01 0x40 0x00  //SOL activate
Response:                           // Success
Check the status using below busctl command
command: busctl introspect xyz.openbmc_project.Control.Service.Manager
         /xyz/openbmc_project/control/service/obmc_2dconsole_40ttyS2
Response: .Enabled    true
2. Activate SOL session
Command: ipmitool -I lanplus -U root -P 0penBmc -H <BMC_IP> -C 17
         sol activate
Response:                         // Success
3. Disable SSH SOL using control BMC service command
Command: ipmitool raw 0x30 0xb1 0x00 0x40 0x00
Response:                                    // Success
Check the status using below busctl command
command: busctl introspect xyz.openbmc_project.Control.Service.Manager
         /xyz/openbmc_project/control/service/obmc_2dconsole_40ttyS2
Response: .Enabled    false
4.  Enable SSH SOL using control BMC service command.
Command: ipmitool raw 0x30 0xb1 0x01 0x40 0x00
Response:                                // Success
Check the status using below busctl command
command: busctl introspect xyz.openbmc_project.Control.Service.Manager
         /xyz/openbmc_project/control/service/obmc_2dconsole_40ttyS2
Response: .Enabled    true
5. Activate SOL session
Command: ipmitool -I lanplus -U root -P 0penBmc -H <BMC_IP> -C 17
         sol activate
Response:               // Successfully establish the session

Signed-off-by: srikanta mondal <srikantax.mondal@intel.com>
Change-Id: I08a459e5a4245d969529c033e4b88625b0796fb2
2 files changed