Hi,
I want to get a server blade NICs MAC Addresses and IP assigned to them. I
looked OA Plugin code for FAN Zone etc. Came across following codes:
-----------------------------------------------------------------------------
#define GET_FAN_ZONE_ARRAY \
"<hpoa:getFanZoneArray>" \
"<hpoa:bayArray>%s</hpoa:bayArray>" \
"</hpoa:getFanZoneArray>\n"
Breakpoint 4, soap_getFanZoneArray (con=0x1df40530, request=0x417a6a20,
response=0x417a6a60) at oa_soap_calls.c:1805
1805 if (! (ret = soap_request(con, GET_FAN_ZONE_ARRAY, bay_array)))
{
(gdb)
(gdb)
(gdb)
(gdb) p bay_array
$4 = 0x417a68d0
"<hpoa:bay>1</hpoa:bay><hpoa:bay>2</hpoa:bay><hpoa:bay>3</hpoa:bay><hpoa:bay>4</hpoa:bay>"
(gdb) p *con
$5 = {ctx = 0x1df41120, bio = 0x0, timeout = 20,
server = "2001:5b0:ffff:fff6:6ab5:99ff:febb:5cad:443", '\0' <repeats 118
times>, username = "jupiterrm", '\0' <repeats 71 times>,
password = "jupiter!", '\0' <repeats 72 times>,
session_id = "57424c90380bdc49", doc = 0x1df5c9e0,
req_buf = "\000?xml version=\"1.0\"?>\n<SOAP-ENV:Envelope
xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xml"...,
req_high_water = 812, ignore_errors = 0, last_error_number = 0,
last_error_string = 0x0}
-----------------------------------------------------------------------------------
In above code soap_request is called I am curious to have complete schema
detail so that I can construct "#define GET_NIC_INFO" of similar lines of
GET_FAN_ZONE_ARRAY and can further know if I can be able to get IP
address/hostname mapped to a NIC of server blade.
I show bug #ID: 3264695 and tried to find plugins/oa_soap/debug/soaptest.c in
openhpi releases 2.15.1 and 2.16.0, but could not... I am as well interested to
see the code for soaptest.c . If you have this- could you please share this
with me.
Regards,
Preeti.
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel