Ryan, snmp4sdn plugin listens to snmp trap, but only for port up/down event, and then proceeds topology change handling. So snmp4sdn seems not directly meet your need. If you’d like to reuse the code, we took use of a third-party snmp library to send/receive snmp query/trap. In snmp4sdn SNMPListener.java processv2Trap(), it is the implementation of the third-party snmp library interface.
Regards, Christine From: snmp4sdn-dev-boun...@lists.opendaylight.org [mailto:snmp4sdn-dev-boun...@lists.opendaylight.org] On Behalf Of Ryan Goulding Sent: Monday, July 24, 2017 10:58 PM To: Naveen Cc: controller-dev@lists.opendaylight.org; snmp4sdn-...@lists.opendaylight.org; Sanjivini Naikar Subject: Re: [snmp4sdn-dev] [controller-dev] Support for Traps adding snmp4sdn-dev an alternative plugin as i am not sure if there codebase supports traps. Regards, Ryan Goulding On Mon, Jul 24, 2017 at 10:52 AM, Ryan Goulding <ryandgould...@gmail.com<mailto:ryandgould...@gmail.com>> wrote: +snmp-dev The current snmp plugin doesn't support traps AFAIK. I believe they originally intended to add support for it but didn't get to it. HTH. Regards, Ryan Goulding On Mon, Jul 24, 2017 at 8:31 AM, Naveen <naveensamp...@tataelxsi.co.in<mailto:naveensamp...@tataelxsi.co.in>> wrote: Hi all, I am trying to receive SNMP trap messages from a Cisco IOS XR. As per the project proposal of SNMP plugin, it supports Trap messages. However, on loading the SNMP plugin into ODL, I do not see the UDP port 162 listening. Does this mean that the SNMP plugin does not support Trap messages? How can I proceed in this case? Regards, Naveen _______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org<mailto:controller-dev@lists.opendaylight.org> https://lists.opendaylight.org/mailman/listinfo/controller-dev -- 本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。 This email may contain confidential information. Please do not use or disclose it in any way and delete it if you are not the intended recipient.
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev