netipmid: SOL payload activation control.
Activate the SOL payload session only if 'user payload access' allows.
IPMI Spec reference: Section 24.6, 24.7.
Tested-by:
1. For user 15 in channel 3, Disable SOL payload and activate sol.
// Command - (channel 3 is of LAN channel type)
ipmitool -I lanplus...raw 0x4C 3 0x4F 0x2 0 0 0
// Try to launch SOL session.
ipmitool -v -I lanplus -U saravanan...sol activate
Info: SOL payload disabled. <Compl Code : 0x81> // Response
2. For user 15 in channel 3, Enable SOL payload and activate sol.
// Command
ipmitool -I lanplus...raw 0x4C 3 0xF 0x2 0 0 0
// Try to launch SOL session.
ipmitool -I lanplus -U saravanan...sol activate
[SOL Session operational. Use ~? for help] // Response
Signed-off-by: Saravanan Palanisamy <saravanan.palanisamy@linux.intel.com>
Change-Id: I5436572349b116ffc2e4f1605db8233186c0bd3d
1 file changed