Hi all,

 

I am using ipmitool’s lanplus interface to query pef policy’s from multiple 
SP’s so I can aggregate the info.  The problem is the information returned  is 
not consistent between SP types.   In the case I am dealing with now, if the 
policy is not event-specific, the output contains one less field than other 
SP’s whose policies are event-specific.  Here is the output:

 

# ipmitool -I lanplus -L ADMINISTRATOR+ -H 192.168.96.70  pef policy

 1 | 1 | Match-always | 1 | 802.3 LAN | PET | public | 0 | 0 | 0.0.0.0 | 
00:00:00:00:00:00

 

# ipmitool -I lanplus -L ADMINISTRATOR+ -H 192.168.96.51 pef policy

 1 | 1 | Match-always | true | 1 | 802.3 LAN | PET | public | 10 | 1 | 
10.20.30.40 | 00:00:00:00:00:00

 

Obviously, there must be different output depending on the data coming back – 
so I went looking through the source to see how the results of this command are 
formatted and output to the user without any luck.  I looked for printf’s and 
tried to follow from ipmi_pef.c or mai_pef.c back toward ipmitool.c without 
success.  The online documentation I googled hardly scratches the surface of 
the implementation – at least what I found.

 

Is this because the text string is formatted by the SP and sent over the 
network to the requestor?  Or am I just too blind to see it?  If it’s coming 
back from the SP’s is there some standard (funny, I know) for what this output 
is supposed to look like or contain?  

 

Also while I am here.  Am I guaranteed all the commands in the file passed to 
ipmitool via the exec command will be executed in one session?

 

Thanks for any help,

Dick

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to