Re: [ovs-discuss] Openvswitch network disconnect

2015-06-03 Thread Chris
Hello Alex, I will do the gdb debug when it happens again. Here the output, in this case there are 4 VMs running on the host. The physical interfaces eth2 & eth3 are in active-passive mode bonded to bond0. mgmt0 is used for the management of the host system. Anything else is created by

Re: [ovs-discuss] Openvswitch network disconnect

2015-06-03 Thread Alex Wang
On Wed, Jun 3, 2015 at 11:16 PM, Chris wrote: > Hello, > > We are using Openvswitch in our Openstack setup. > > ovs-vswitchd --version > ovs-vswitchd (Open vSwitch) 2.3.0 > Compiled Oct 28 2014 17:48:05 > OpenFlow versions 0x1:0x1 > > We experience openvswitch failures from time to time. It seems

[ovs-discuss] Openvswitch network disconnect

2015-06-03 Thread Chris
Hello, We are using Openvswitch in our Openstack setup. ovs-vswitchd --version ovs-vswitchd (Open vSwitch) 2.3.0 Compiled Oct 28 2014 17:48:05 OpenFlow versions 0x1:0x1 We experience openvswitch failures from time to time. It seems to happen random, no network traffic spikes for example. The VM

Re: [ovs-discuss] Behaviour change in OpenVSwitch

2015-06-03 Thread Alex Wang
Hey, Few questions, 1. how do you change the flow to output to port 2? using ovs-ofctl mod-flows? Could you show the exact commands? 2. There was a commit (b2a4692 ofproto: Increase default datapath max_idle time.) that increased the max_idle time of dpif flows. That may be related. Thanks,

[ovs-discuss] Behaviour change in OpenVSwitch

2015-06-03 Thread Tony van der Peet
I use OpenVSwitch and occasionally upgrade from the tip of master. My previous upgrade was in Sep/2014, and I have just upgraded to last Friday's tip. A number of previously running test cases (using oftest) now fail for me, and I am investigating. The v1.3 test basic.OutputExact creates a flow ou

[ovs-discuss] issue regarding port mirroring

2015-06-03 Thread Priyanka
Hi, I have an Openstack setup with OVS version 2.1.3. I want implementing packet capture for the VM's traffic. I notice that a mirror on br-int only captures outgoing traffic. I read in one post that we can add a rule to create a port and modify the existing rules to have this out port as add

Re: [ovs-discuss] about sizeof(struct) in c

2015-06-03 Thread Justin Pettit
Yeah, it's just to indicate that there are a variable number of "struct ofp_queue_prop_header" elements that follow. --Justin > On Jun 3, 2015, at 8:30 PM, 林清祥 wrote: > > I thought "struct ofp_queue_prop_header properties[0];" is to define a > pointer of struct ofp_queue_prop_header. > > T

Re: [ovs-discuss] about sizeof(struct) in c

2015-06-03 Thread Justin Pettit
> On Jun 3, 2015, at 8:16 PM, 林清祥 wrote: > > I am reading openflow-spec-v1.3.0, and in page 37 there are a few codes as > follow: > >> /* Full description for a queue. */ >> struct ofp_packet_queue { >> uint32_t queue_id; >> /* id for the specific queue. */ >> uint32_t port; >> /* Port this qu

[ovs-discuss] about sizeof(struct) in c

2015-06-03 Thread 林清祥
I am reading openflow-spec-v1.3.0, and in page 37 there are a few codes as follow: /* Full description for a queue. */ > struct ofp_packet_queue { > uint32_t queue_id; > /* id for the specific queue. */ > uint32_t port; > /* Port this queue is attached to. */ > uint16_t len; > /* Length in bytes o

[ovs-discuss] switch as a sniffer

2015-06-03 Thread AMER
Hello Dear all I have the following question: I want the openvswitch reads the exchanged packets and deal with them as they are sent to it. To do so, I did the following: I installed a flow-entry in the switch that matches the packet address, then rewrite it to the local bridge address of t

[ovs-discuss] DPDK vhost vm configuration failed

2015-06-03 Thread na zhu
Dear experts, I try to use dpdk ovs to improve the NFV performance. I follow all the instructions of INSTALL.DPDK.md, when i do dpdk vhost vm configuration with libvirt, the vm can not created. the error is: root@juno:~/vm# virsh define dpdk0.xml Domain dpdk0 defined from dpdk0.xml root@juno:~/vm

[ovs-discuss] "Too many open files" leads to "Segmentation fault"

2015-06-03 Thread ferran
Hello there, I'm working on a minor fork of ovs 2.1.2 in a raspberry pi running a raspbian. There's a controller out there, as well as other openflow agents, also rpi. All together configure an SDN which I can manage from the controller. However, this scenario lasts only about 20 minutes, as ovs i