Re: [ovs-discuss] Questions about IPFIX

2017-06-26 Thread Greg Rose
On 06/21/2017 05:21 AM, Felix Konstantin Maurer wrote: Hi Greg, Just a small update. I tried to find the problem myself, and it seems to me that there is only ever one packet received per sampling period. In dpif_ipfix_bridge_sample there is: 2113 /* Use the sampling probability as an

Re: [ovs-discuss] Questions about IPFIX

2017-06-21 Thread Felix Konstantin Maurer
Hi Greg, Just a small update. I tried to find the problem myself, and it seems to me that there is only ever one packet received per sampling period. In dpif_ipfix_bridge_sample there is: 2113 /* Use the sampling probability as an approximation of the number 2114 * of matched packets. */ 2115

Re: [ovs-discuss] Questions about IPFIX

2017-06-08 Thread Greg Rose
On 06/06/2017 05:18 AM, Felix Konstantin Maurer wrote: I accidentally only responded to you, so here again what I wrote. Thanks for the quick response! If tested it now but so far I see no difference. All IPFIX packets have the same flowStartDelta and flowEndDelta. Furthermore, about the first

Re: [ovs-discuss] Questions about IPFIX

2017-06-06 Thread Greg Rose
On 06/06/2017 05:18 AM, Felix Konstantin Maurer wrote: I accidentally only responded to you, so here again what I wrote. Thanks for the quick response! If tested it now but so far I see no difference. All IPFIX packets have the same flowStartDelta and flowEndDelta. Furthermore, about the first

Re: [ovs-discuss] Questions about IPFIX

2017-06-05 Thread Greg Rose
On 06/02/2017 03:06 PM, Ben Pfaff wrote: On Fri, Jun 02, 2017 at 02:42:49PM -0700, Greg Rose wrote: > On 06/02/2017 09:08 AM, Ben Pfaff wrote: >> ipfix_cache_entry_init() initializes the start and end to be the same: >> >> xgettimeofday(); >> entry->flow_end_timestamp_usec =

Re: [ovs-discuss] Questions about IPFIX

2017-06-02 Thread Ben Pfaff
On Fri, Jun 02, 2017 at 02:42:49PM -0700, Greg Rose wrote: > On 06/02/2017 09:08 AM, Ben Pfaff wrote: > >ipfix_cache_entry_init() initializes the start and end to be the same: > > > > xgettimeofday(); > > entry->flow_end_timestamp_usec = now.tv_usec + 100LL * > > now.tv_sec; >

Re: [ovs-discuss] Questions about IPFIX

2017-06-02 Thread Greg Rose
On 06/02/2017 09:08 AM, Ben Pfaff wrote: ipfix_cache_entry_init() initializes the start and end to be the same: xgettimeofday(); entry->flow_end_timestamp_usec = now.tv_usec + 100LL * now.tv_sec; entry->flow_start_timestamp_usec = entry->flow_end_timestamp_usec;

Re: [ovs-discuss] Questions about IPFIX

2017-06-02 Thread Ben Pfaff
ipfix_cache_entry_init() initializes the start and end to be the same: xgettimeofday(); entry->flow_end_timestamp_usec = now.tv_usec + 100LL * now.tv_sec; entry->flow_start_timestamp_usec = entry->flow_end_timestamp_usec; and then I don't see anything that ever

Re: [ovs-discuss] Questions about IPFIX

2017-05-31 Thread Ben Pfaff
On Wed, May 31, 2017 at 03:05:45PM +0200, Felix Konstantin Maurer wrote: > I'm currently trying to export flow statistics from an Openvswitch > bridge with IPFIX. It works, however in almost all packets, the > flowStartDeltaMicroseconds and the flowEndDeltaMicroseconds have the > same value. Is

[ovs-discuss] Questions about IPFIX

2017-05-31 Thread Felix Konstantin Maurer
Hi, I'm currently trying to export flow statistics from an Openvswitch bridge with IPFIX. It works, however in almost all packets, the flowStartDeltaMicroseconds and the flowEndDeltaMicroseconds have the same value. Is that to be expected? Do I misunderstand something? I expected them to be