<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-host-ipmid/test/session, branch master</title>
<subtitle>OpenBMC Phosphor local IPMI daemon sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-host-ipmid/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-host-ipmid/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-host-ipmid/'/>
<updated>2019-09-25T17:42:56+00:00</updated>
<entry>
<title>Implemented close session cmd in host interface</title>
<updated>2019-09-25T17:42:56+00:00</updated>
<author>
<name>Rajashekar Gade Reddy</name>
<email>raja.sekhar.reddy.gade@linux.intel.com</email>
</author>
<published>2019-07-10T16:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-host-ipmid/commit/?id=e7023926675030a5976dffda0825445ca0b5ef84'/>
<id>urn:sha1:e7023926675030a5976dffda0825445ca0b5ef84</id>
<content type='text'>
This command can close any session via host interface.

Tested:

Close the existing valid session by session id
ipmitool raw 0x6 0x3c &lt;valid sesssion id &gt;
Response : 00  // success

Close the existing valid session by session handle
ipmitool raw 0x6 0x3c &lt;zero session id&gt; &lt;valid session handle&gt;
Response : 00  // success

Close the session by zero session id
ipmitool raw 0x6 0x3c &lt;zero session id&gt;
Response : 0x87  // inavlid session id

Close the session by zero session handle
ipmitool raw 0x6 0x3c &lt;zero session id&gt; &lt;zero session handle&gt;
Response : 0x88  // inavlid session handle

Close an inactive session.
ipmitool raw 0x6 0x3c &lt;valid session id&gt;
Response : 0xcc  // invalid data field in request

Close an inactive session.
ipmitool raw 0x6 0x3c &lt;zero session id&gt; &lt;valid session hnadle&gt;
Response : 0xcc  // invalid data field in request

Signed-off-by: Rajashekar Gade Reddy &lt;raja.sekhar.reddy.gade@linux.intel.com&gt;
Change-Id: I8af290001d8effbbcdbbe2dd93aabf1b015e7a88
</content>
</entry>
</feed>
