Hi Zdenek - nice to see you are thinking about the PEF interface. Much better than clumsy "raw" commands. Some comments on each item:
On 5/24/2014 9:21 AM, ipmitool-devel-requ...@lists.sourceforge.net wrote: > On Fri, Feb 7, 2014 at 5:46 AM, Zdenek Styblik > <zdenek.styb...@gmail.com> wrote: >> Hello, >> >> here is my proposal to re-design and re-work of ipmitool's PEF user >> interface. This is as a reaction to Jordan Hargrave's request to add >> 'pef setpolicy'. >> This is all based on chapter 30. PEF and Alerting Commands, IPMIv2.0 >> p.375. Aim isn't to implement all these commands, but to outline user >> interface, so these commands can be implemented eventually. >> There are couple unresolved commands and feel free to chip in your >> ideas how to solve them. :) >> >> Let's set deadline for comments until 28th February 2014. >> >> <Chapter> <Title> >> 30.0 Help >> * 'pef help' >> >> 30.1 Get PEF Capabilities >> * 'pef info' - it's ok, but should be accompanied/complemented with >> 'pef capabilities' or something I would prefer the capabilities to be a separate option. >> >> 30.2 Arm PEF Postpone Timer >> * 'pef timer get' - this implies user input equal to 0xFFh >> * 'pef timer set <0x00-0xFFh>' >> >> 30.3 Set PEF Config Parameters >> 30.4 Get PEF Config Parameters >> * 'pef policy list' >> * 'pef policy enable <policy_id>' >> * 'pef policy disable <policy_id>' >> * 'pef policy create <policy_id> <params>' >> * 'pef policy delete <policy_id>' >> * and the same thing for 'pef filters' Will this also include settings such as the Action Global control, Start Delay, Alert Delay? The PEF filters themselves - each PEF entry has a lot of parameters. Are you considering simply all numeric values for each byte, or names for values? I would suggest that in many cases the last 9 bytes aren't used, hence if not supplied then default to zero. >> >> 30.6 Set Last Processed Event ID >> * unresolved despite it pretty much is '<something> <SEL_id>', but to >> figure out name of <something> :) >> >> 30.7 Get Last Processed Event ID >> * 'pef status' -> I have no idea, but 'status' is misleading/wrong >> given the context, although Oracle's documentation puts it in a way it >> makes sense, quote: ``Print the current PEF status (the last SEL entry >> processed by the BMC, etc).'' >> >> 30.8 PET Acknowledge >> * 'pef pet ack <params>' >> >> 30.7 Alert Immediate >> * unresolved - I haven't figured out this one I have in the past used a dummy sensor number to make an alert immediate, but it does not seem to be a universal solution. Regards, Pat ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel