_ mac addr,
_ lan_dest sel,
_ _ ipmi_pet done cb done,
_ ipmi_pet t
3.13. THE PEF TABLE AND SNMP TRAPS
domain - The domain to set up a trap sender for.
connection - Which specific connection to the domain do you want to configure?
channel - The specific channel to configure. You will have to know the channel you want to configure.
ip addr - The IP address to tell the BMC to send messages to.
mac addr - The MAC address to tell the BMC to send messages to.
eft sel - the Event Filter selector to use for this PET destination. Note that this does *not* need to be unique for different OpenIPMI instances that are using the same channel, since the configuration will be exactly the same for all EFT entries using the same channel, assuming they share the same policy number.
policy num - The policy number to use for the alert policy. This should be the same for all users of a domain.
a p t s e l - T h e A l e r t P o l i c y s e l e c t o r t o u s e f o r t h i s P E T d e s t i n a t i o n . N o t e t h a t a s e f t _ s e l , t h i s n e e d n o t b unique for each different OpenIPMI instance on the same channel. e
lan dest sel - The LAN configuration destination selector for this PET destination. Unlike eft_sel and apt_sel, this *must* be unique for each OpenIPMI instance on the same channel, as it specifies the destination address to use.
done - This function will be called when the PET configuration is complete.
cb data - Data to pass to the done call.
pet - The created object.
This creates an object that will continue to live and periodically check that the configuration is correct. If you wish to destroy this, use the following:
i n t i p m i _ p e t _ d e s t r o y ( i p m i _ p e t *pet, _ t i p m i _ p e t _ d o n e _ c b d o n e ,
* c b _ d a t a ) ;