AB, > libfreeipmi driver APIs will completely change in the next > release.
I just want to be sure that a "reasonable" backwards compatability can be expected in 0.2.0. We all have code that isn't part of FreeIPMI and some of the newer APIs may not be suitable/usable for our needs. I know for a fact I cannot use the new sensors api at all. If someone develops based out of the 0.1.3 API, I believe they should still be able to use the old API if it is desired. Al -- Albert Chu [EMAIL PROTECTED] Lawrence Livermore National Laboratory ----- Original Message ----- From: Anand Babu <[EMAIL PROTECTED]> Date: Tuesday, September 27, 2005 6:59 pm Subject: Re: [Freeipmi-devel] ipmi_lan_open_session() question > ,----[ "James Laros" <[EMAIL PROTECTED]> ] > | I have a question about the usage of ipmi_lan_open_session. First > | off I don't see it used in any of the utilities that come with the > | distro? Any reason? > `---- > libfreeipmi driver APIs will completely change in the next > release. Thats one reason "fish" and tools waited for long time for > network support. Newer APIs are very easy to use and driver > independent. Same tools will work for inband and out-of-band > drivers > transparently. Refer to freeipmi/doc/example/udm-test.c in the CVS. > > ,----[ "James Laros" <[EMAIL PROTECTED]> ] > | More specific question if I use the call as follows the Activate > | Session Application Response returns a completion code of 0xcc > | (Invalid data field in request) > `---- > This means your input field(s) is wrong. You should compare your > values with one of freeipmi's tools (like ipmipower). Bala wrote a > simple UDP server to dump the values for debugging. It will be > included in the next release. First make sure ipmipower, ipmiping > tools work, before you start with your own tool. > > ,----[ "James Laros" <[EMAIL PROTECTED]> ] > | Wasn't sure if I need to pass in something for session_seq_num or > | session_id??? In the request message the session_id seems be set > | properly to a temp session id, session_seq is 0 which should be ok > | yes? > `---- > With the newer APIs, session_seq, session_id crap all handled > internally by the driver. > > ,----[ "James Laros" <[EMAIL PROTECTED]> ] > | By the way it seems to return < 0 but set errno to Success?? > `---- > Thanks for reporting, this is a bug. lan_open_session returns without > setting errno properly when ipmi_comp_test fails. I have fixed it in > the CVS now. > > -- > Anand Babu > GPG Key ID: 0x62E15A31 > Blog [http://ab.freeshell.org] > The GNU Operating System [http://www.gnu.org] > > > _______________________________________________ > Freeipmi-devel mailing list > Freeipmifirstname.lastname@example.org > http://lists.gnu.org/mailman/listinfo/freeipmi-devel > _______________________________________________ Freeipmi-devel mailing list Freeipmiemail@example.com http://lists.gnu.org/mailman/listinfo/freeipmi-devel