Re: [ovs-discuss] Capturing timestamp in a switch

2016-10-18 Thread Ajeeth Kannan (RIT Student)
Hello Justin,

I would like to find delay between two OVS switches that have been
connected. So, I need to have the timestamp of the packets that have been
entering the switch. I would like to store the timestamp of the packets in
a file by uniquely representing the packets. Could I do this by altering
the code in datapath module or can I query the database of OVS and flow
tables ?

Thank you,
Ajeeth Kannan


On Tue, Oct 18, 2016 at 8:24 PM, Ajeeth Kannan (RIT Student)  wrote:

> Hello Justin,
>
> I would like to uniquely identify a packet that is being going through the
> switch and store it in a file with the timestamp when it reaches an OVS.
> This is what I mentioned as capturing timestamps initially. Could I do this
> by altering the code in datapath module?
>
> Thank you,
> Ajeeth Kannan
>
> On Tue, Oct 18, 2016 at 7:29 PM, Justin Pettit  wrote:
>
>> As I mentioned before, please don't drop the mailing list.
>>
>> It's open source, so you're free to modify the datapath.  Once again, I
>> don't know what you're storing or where you'd store it, but you can modify
>> the code on your system as much as you'd like.  It's not clear whether the
>> patches would be accepted upstream due to the questions I mentioned earlier.
>>
>> --Justin
>>
>>
>> > On Oct 19, 2016, at 12:58 AM, Ajeeth Kannan (RIT Student) <
>> ak5...@rit.edu> wrote:
>> >
>> > Hello Justin,
>> >
>> > Could I alter the code in datapath module to store the timestamp ?
>> >
>> > Thank you,
>> > Ajeeth Kannan
>> >
>> > On Tue, Oct 18, 2016 at 6:45 PM, Justin Pettit  wrote:
>> > Please don't drop the list.
>> >
>> > The dataplane is just forwarding packets through it, so I'm not sure
>> what it would store.  For a particular datapath flow, we keep the last time
>> that a packet hit it, but that's about it.  As I mentioned, if you want to
>> send copies of packets to a collector, you could look at sFlow or IPFIX.
>> >
>> > --Justin
>> >
>> >
>> > > On Oct 18, 2016, at 8:04 PM, Ajeeth Kannan (RIT Student) <
>> ak5...@rit.edu> wrote:
>> > >
>> > > Hello Justin,
>> > >
>> > > I am trying to store the timestamp of the packets that go through
>> OVS. Is there a way to do it ?
>> > >
>> > > Thank you,
>> > > Ajeeth Kannan
>> >
>> >
>>
>>
>
___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss


Re: [ovs-discuss] Capturing timestamp in a switch

2016-10-18 Thread Ajeeth Kannan (RIT Student)
Hello Justin,

I would like to uniquely identify a packet that is being going through the
switch and store it in a file with the timestamp when it reaches an OVS.
This is what I mentioned as capturing timestamps initially. Could I do this
by altering the code in datapath module?

Thank you,
Ajeeth Kannan

On Tue, Oct 18, 2016 at 7:29 PM, Justin Pettit  wrote:

> As I mentioned before, please don't drop the mailing list.
>
> It's open source, so you're free to modify the datapath.  Once again, I
> don't know what you're storing or where you'd store it, but you can modify
> the code on your system as much as you'd like.  It's not clear whether the
> patches would be accepted upstream due to the questions I mentioned earlier.
>
> --Justin
>
>
> > On Oct 19, 2016, at 12:58 AM, Ajeeth Kannan (RIT Student) <
> ak5...@rit.edu> wrote:
> >
> > Hello Justin,
> >
> > Could I alter the code in datapath module to store the timestamp ?
> >
> > Thank you,
> > Ajeeth Kannan
> >
> > On Tue, Oct 18, 2016 at 6:45 PM, Justin Pettit  wrote:
> > Please don't drop the list.
> >
> > The dataplane is just forwarding packets through it, so I'm not sure
> what it would store.  For a particular datapath flow, we keep the last time
> that a packet hit it, but that's about it.  As I mentioned, if you want to
> send copies of packets to a collector, you could look at sFlow or IPFIX.
> >
> > --Justin
> >
> >
> > > On Oct 18, 2016, at 8:04 PM, Ajeeth Kannan (RIT Student) <
> ak5...@rit.edu> wrote:
> > >
> > > Hello Justin,
> > >
> > > I am trying to store the timestamp of the packets that go through OVS.
> Is there a way to do it ?
> > >
> > > Thank you,
> > > Ajeeth Kannan
> >
> >
>
>
___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss


Re: [ovs-discuss] Capturing timestamp in a switch

2016-10-18 Thread Justin Pettit
As I mentioned before, please don't drop the mailing list.

It's open source, so you're free to modify the datapath.  Once again, I don't 
know what you're storing or where you'd store it, but you can modify the code 
on your system as much as you'd like.  It's not clear whether the patches would 
be accepted upstream due to the questions I mentioned earlier.

--Justin


> On Oct 19, 2016, at 12:58 AM, Ajeeth Kannan (RIT Student)  
> wrote:
> 
> Hello Justin,
> 
> Could I alter the code in datapath module to store the timestamp ?
> 
> Thank you,
> Ajeeth Kannan
> 
> On Tue, Oct 18, 2016 at 6:45 PM, Justin Pettit  wrote:
> Please don't drop the list.
> 
> The dataplane is just forwarding packets through it, so I'm not sure what it 
> would store.  For a particular datapath flow, we keep the last time that a 
> packet hit it, but that's about it.  As I mentioned, if you want to send 
> copies of packets to a collector, you could look at sFlow or IPFIX.
> 
> --Justin
> 
> 
> > On Oct 18, 2016, at 8:04 PM, Ajeeth Kannan (RIT Student)  
> > wrote:
> >
> > Hello Justin,
> >
> > I am trying to store the timestamp of the packets that go through OVS. Is 
> > there a way to do it ?
> >
> > Thank you,
> > Ajeeth Kannan
> 
> 

___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss


Re: [ovs-discuss] Capturing timestamp in a switch

2016-10-18 Thread Justin Pettit
Please don't drop the list.

The dataplane is just forwarding packets through it, so I'm not sure what it 
would store.  For a particular datapath flow, we keep the last time that a 
packet hit it, but that's about it.  As I mentioned, if you want to send copies 
of packets to a collector, you could look at sFlow or IPFIX.

--Justin


> On Oct 18, 2016, at 8:04 PM, Ajeeth Kannan (RIT Student)  
> wrote:
> 
> Hello Justin,
> 
> I am trying to store the timestamp of the packets that go through OVS. Is 
> there a way to do it ?
> 
> Thank you,
> Ajeeth Kannan

___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss


Re: [ovs-discuss] Capturing timestamp in a switch

2016-10-18 Thread Justin Pettit

> On Oct 18, 2016, at 12:43 AM, Ajeeth Kannan (RIT Student)  
> wrote:
> 
> Hi Team,
> 
> I would like to get the timestamp for the packets that are being captured by 
> an OVS. Is there any possible command to do it or should I need to modify the 
> OVS code to do this ?
> 
> Should I query the DB or flow-tables to get the timestamps of the captured 
> packets ? 

What do you mean by capturing packets?  OVS doesn't capture packets, but you 
can use something like sFlow or IPFIX to send packets to a collector.  I think 
those will have timestamps associated with them.

--Justin


___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss


[ovs-discuss] Capturing timestamp in a switch

2016-10-17 Thread Ajeeth Kannan (RIT Student)
Hi Team,

I would like to get the timestamp for the packets that are being captured
by an OVS. Is there any possible command to do it or should I need to
modify the OVS code to do this ?

Should I query the DB or flow-tables to get the timestamps of the captured
packets ?

Thank you,
Ajeeth Kannan
___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss