Re: [vpp-dev] Enabling events
On Mon, Mar 18, 2019 at 7:25 PM Neale Ranns (nranns) wrote: > If you're looking for VPP to send your agent/app a notification across the > binary API when an ARP and/or ND entry > is created then your app needs to call; want_ip4_arp_events and/or > want_ip6_nd_events respectively. Thanks! raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12582): https://lists.fd.io/g/vpp-dev/message/12582 Mute This Topic: https://lists.fd.io/mt/30439598/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Enabling events
Hi Raj, If you're looking for VPP to send your agent/app a notification across the binary API when an ARP and/or ND entry is created then your app needs to call; want_ip4_arp_events and/or want_ip6_nd_events respectively. /neale -Message d'origine- De : au nom de Raj Date : vendredi 15 mars 2019 à 13:33 À : vpp-dev Objet : Re: [vpp-dev] Enabling events On Fri, Mar 15, 2019 at 5:44 PM Dave Barach (dbarach) wrote: > > We don't log many (if any) events by default. Thanks for the reply Dave. I am specifically looking for events related to ARP and v6 ND. For example the commit at https://git.flirble.org/fdio/vpp/commit/1edfba9a6394128ee5fad2b413e9e0a05972ef48 talks about these events.Do these events gets generated automatically? Thanks and Regards, Raj > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Raj > Sent: Friday, March 15, 2019 8:02 AM > To: vpp-dev > Subject: [vpp-dev] Enabling events > > Hi all, > > I have started VPP, but the number of events always is zero. > > vpp# sh event-logger > 0 of 1024 events in buffer, logger running vpp# event-logger save myevent Saving 0 of 1024 events to /tmp/myevent > > So I am wondering if I have to specifically enable event logging or are events logged automatically. > > Also can I view events in real time, rather than saving in a file and viewing it offline? > > Thanks and Regards, > > Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12575): https://lists.fd.io/g/vpp-dev/message/12575 Mute This Topic: https://lists.fd.io/mt/30439598/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Enabling events
Thanks, I will cross check and get back. Thanks and Regards, Raj On Fri, Mar 15, 2019 at 6:40 PM Dave Barach (dbarach) wrote: > > You're sure that links are up, ipv6 is enabled on the interfaces and all that > good stuff, right? > > If "show ip6 neighbor" shows nothing, you may be going nowhere near the ip6 > neighbor code. > > Try setting a gdb breakpoint in ip6_neighbor_syslog(...). If you don't get > there, you're not going to see much in the event log... > > D. > > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Raj > Sent: Friday, March 15, 2019 8:33 AM > To: vpp-dev > Subject: Re: [vpp-dev] Enabling events > > On Fri, Mar 15, 2019 at 5:44 PM Dave Barach (dbarach) > wrote: > > > > We don't log many (if any) events by default. > > Thanks for the reply Dave. > > I am specifically looking for events related to ARP and v6 ND. For example > the commit at > https://git.flirble.org/fdio/vpp/commit/1edfba9a6394128ee5fad2b413e9e0a05972ef48 > talks about these events.Do these events gets generated automatically? > > Thanks and Regards, > > Raj > > > -Original Message- > > From: vpp-dev@lists.fd.io On Behalf Of Raj > > Sent: Friday, March 15, 2019 8:02 AM > > To: vpp-dev > > Subject: [vpp-dev] Enabling events > > > > Hi all, > > > > I have started VPP, but the number of events always is zero. > > > > vpp# sh event-logger > > 0 of 1024 events in buffer, logger running vpp# event-logger save > > myevent Saving 0 of 1024 events to /tmp/myevent > > > > So I am wondering if I have to specifically enable event logging or are > > events logged automatically. > > > > Also can I view events in real time, rather than saving in a file and > > viewing it offline? > > > > Thanks and Regards, > > > > Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12561): https://lists.fd.io/g/vpp-dev/message/12561 Mute This Topic: https://lists.fd.io/mt/30439598/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Enabling events
You're sure that links are up, ipv6 is enabled on the interfaces and all that good stuff, right? If "show ip6 neighbor" shows nothing, you may be going nowhere near the ip6 neighbor code. Try setting a gdb breakpoint in ip6_neighbor_syslog(...). If you don't get there, you're not going to see much in the event log... D. -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Raj Sent: Friday, March 15, 2019 8:33 AM To: vpp-dev Subject: Re: [vpp-dev] Enabling events On Fri, Mar 15, 2019 at 5:44 PM Dave Barach (dbarach) wrote: > > We don't log many (if any) events by default. Thanks for the reply Dave. I am specifically looking for events related to ARP and v6 ND. For example the commit at https://git.flirble.org/fdio/vpp/commit/1edfba9a6394128ee5fad2b413e9e0a05972ef48 talks about these events.Do these events gets generated automatically? Thanks and Regards, Raj > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Raj > Sent: Friday, March 15, 2019 8:02 AM > To: vpp-dev > Subject: [vpp-dev] Enabling events > > Hi all, > > I have started VPP, but the number of events always is zero. > > vpp# sh event-logger > 0 of 1024 events in buffer, logger running vpp# event-logger save > myevent Saving 0 of 1024 events to /tmp/myevent > > So I am wondering if I have to specifically enable event logging or are > events logged automatically. > > Also can I view events in real time, rather than saving in a file and viewing > it offline? > > Thanks and Regards, > > Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12560): https://lists.fd.io/g/vpp-dev/message/12560 Mute This Topic: https://lists.fd.io/mt/30439598/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Enabling events
On Fri, Mar 15, 2019 at 5:44 PM Dave Barach (dbarach) wrote: > > We don't log many (if any) events by default. Thanks for the reply Dave. I am specifically looking for events related to ARP and v6 ND. For example the commit at https://git.flirble.org/fdio/vpp/commit/1edfba9a6394128ee5fad2b413e9e0a05972ef48 talks about these events.Do these events gets generated automatically? Thanks and Regards, Raj > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Raj > Sent: Friday, March 15, 2019 8:02 AM > To: vpp-dev > Subject: [vpp-dev] Enabling events > > Hi all, > > I have started VPP, but the number of events always is zero. > > vpp# sh event-logger > 0 of 1024 events in buffer, logger running vpp# event-logger save myevent > Saving 0 of 1024 events to /tmp/myevent > > So I am wondering if I have to specifically enable event logging or are > events logged automatically. > > Also can I view events in real time, rather than saving in a file and viewing > it offline? > > Thanks and Regards, > > Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12559): https://lists.fd.io/g/vpp-dev/message/12559 Mute This Topic: https://lists.fd.io/mt/30439598/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Enabling events
We don't log many (if any) events by default. If you want to see a large number of events, try "elog trace dispatch" or "elog trace circuit-node ethernet-input"... D. -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Raj Sent: Friday, March 15, 2019 8:02 AM To: vpp-dev Subject: [vpp-dev] Enabling events Hi all, I have started VPP, but the number of events always is zero. vpp# sh event-logger 0 of 1024 events in buffer, logger running vpp# event-logger save myevent Saving 0 of 1024 events to /tmp/myevent So I am wondering if I have to specifically enable event logging or are events logged automatically. Also can I view events in real time, rather than saving in a file and viewing it offline? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12558): https://lists.fd.io/g/vpp-dev/message/12558 Mute This Topic: https://lists.fd.io/mt/30439598/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-