Re: [ovs-discuss] getting packets on ovs kernel module for testing/debugging

2015-02-25 Thread Ben Pfaff
I think you need to ask a more specific question, because so far my answer is just "Write some code to do that." On Thu, Feb 26, 2015 at 12:00:35PM +0500, david jhon wrote: > Thanks Ben, > > I want to test how ovs kernel module processes packets and update a > corresponding flow entry in flow_tab

Re: [ovs-discuss] getting packets on ovs kernel module for testing/debugging

2015-02-25 Thread david jhon
Thanks Ben, I want to test how ovs kernel module processes packets and update a corresponding flow entry in flow_table. Any suggestions please? On Thu, Feb 26, 2015 at 11:30 AM, Ben Pfaff wrote: > On Wed, Feb 25, 2015 at 04:09:59PM +0500, david jhon wrote: > > In order to debug ovs kernel modul

Re: [ovs-discuss] BUG

2015-02-25 Thread Scott Lowe
Please see my responses inline, prefixed by [SL]. jayakeerthi k wrote: > Hi, > i couldn't able to resolve the issue with above steps.i got the following > error in virt-manager. > > Error starting domain: Unable to add bridge 1511 port vnet0: Operation not > supported > > Traceback (most rec

Re: [ovs-discuss] getting packets on ovs kernel module for testing/debugging

2015-02-25 Thread Ben Pfaff
On Wed, Feb 25, 2015 at 04:09:59PM +0500, david jhon wrote: > In order to debug ovs kernel module in gdb, I have set a breakpoint at > ovs_dp_process_packet() method in datapath/datapath.c, generating traffic > with ping command from one mininet host to other, but not able to debug it > at all beca

[ovs-discuss] bridge adapter problem with VirtualBox

2015-02-25 Thread Vinllen Chen
Hi, all: I create two vhost, and connect to my ovs bridge with bridge apapter, but there is no ip address when i start them, ofcourse, the two vhosts cann't connect to the Internet. Here comes my code : #!/bin/bash ovs-vsctl add-br mybr ovs-vsctl add-port mybr wlan0 ifconfig wlan0 0 dhclie

Re: [ovs-discuss] OVSwitch - Meters

2015-02-25 Thread Ben Pfaff
Queues are supported, please read the documentation for details. On Wed, Feb 25, 2015 at 11:23:34PM +, Rui Braz wrote: > Got it, thanks Ben. One last question, sbsides meters, are queues also not > supported on openvswitch ? > > Regards, > Nuno B. > > __

Re: [ovs-discuss] OVSwitch - Meters

2015-02-25 Thread Rui Braz
Got it, thanks Ben. One last question, sbsides meters, are queues also not supported on openvswitch ? Regards, Nuno B. De: Ben Pfaff Enviado: 25 de fevereiro de 2015 19:46 Para: Rui Braz Cc: discuss@openvswitch.org Assunto: Re: [ovs-discuss] OVSwitch -

Re: [ovs-discuss] ovsdb update operation

2015-02-25 Thread Ben Pfaff
Please see the OVS makefiles, specifically the idlc related stuff in ovsdb/automake.mk, also the manpage for ovsdb-idlc. On Wed, Feb 25, 2015 at 07:53:05PM +, vis reddy wrote: > Thanks Sir,I have another question i have my own schema vis.schemahow do i > use??ovsdb-idlc to generate my own idl

Re: [ovs-discuss] ovsdb update operation

2015-02-25 Thread vis reddy
Sorry SirJust realized it might be far away place from my office, how about 12:30?ThanksVishnu From: vis reddy To: Ben Pfaff Cc: "discuss@openvswitch.org" Sent: Wednesday, 25 February 2015 11:53 AM Subject: Re: [ovs-discuss] ovsdb update operation Thanks Sir,I have another questi

Re: [ovs-discuss] ovsdb update operation

2015-02-25 Thread vis reddy
Thanks Sir,I have another question i have my own schema vis.schemahow do i use  ovsdb-idlc to generate my own idl header filei see that vtep-idl.h generated from vtep.ovsschema, vtep.xmlnot able to figure out how, could you please explain? ThanksVishnu From: Ben Pfaff To: vis reddy Cc:

Re: [ovs-discuss] OVSwitch - Meters

2015-02-25 Thread Ben Pfaff
On Wed, Feb 25, 2015 at 07:05:44PM +, Rui Braz wrote: > I looked into the FAQ from openvswitch.org and it says there: > > "Since version 2.0, Open vSwitch has OpenFlow protocol support for > OpenFlow meters. There is no implementation of meters in the Open > vSwitch software switch (neither th

[ovs-discuss] OVSwitch - Meters

2015-02-25 Thread Rui Braz
Hello. I looked into the FAQ from openvswitch.org and it says there: "Since version 2.0, Open vSwitch has OpenFlow protocol support for OpenFlow meters. There is no implementation of meters in the Open vSwitch software switch (neither the kernel-based nor userspace switches)." It means that

[ovs-discuss] packet reorderoing

2015-02-25 Thread swair shah
Hi, When packets which does not match any rule in ovs, are buffered at the ingress switch, say first n packets are buffered. Switch sends a flow_mod and message and packet_out for the buffered packets, meanwhile if some more packets of the same flow arrive (say n+1 to m), they'll also get buffered

[ovs-discuss] toit (Open vSwitch Integration Testsuite) pushed to OPNFV

2015-02-25 Thread Finucane, Stephen
Folks, We've pushed a good chunk of our integration test framework, known as 'toit' (The Open vSwitch Integration Testsuite), to the OPNFV community. You can find the mail with links to the reviews here: http://lists.opnfv.org/pipermail/opnfv-tech-discuss/2015-February/001244.html 'to

[ovs-discuss] getting packets on ovs kernel module for testing/debugging

2015-02-25 Thread david jhon
hi, In order to debug ovs kernel module in gdb, I have set a breakpoint at ovs_dp_process_packet() method in datapath/datapath.c, generating traffic with ping command from one mininet host to other, but not able to debug it at all because on running n in gdb, I get "The program is not being run."

Re: [ovs-discuss] looking for a good explanation of core dumps and backtraces

2015-02-25 Thread 邓尧
IMHO, coredumps are for developers only, not even suitable for ops, asking users for a coredump is really too much. If you want to deep analyze a coredump, not only the coredump itself but also the system shared libraries are also needed, most users have don't have the skills to do this. If you on