Re: [ovs-discuss] Add a new OpenFlow action and Buffer packets in switch

2013-10-21 Thread Ben Pfaff
On Mon, Oct 21, 2013 at 05:07:25PM -0500, Xiaoye Sun wrote: > For my understanding, when a packet matches an entry with 'learn' action, > the 'learn' action will insert an entry to the specified flow table, the > match fields of the entry can be get from the matched packet and the action > of the e

Re: [ovs-discuss] Add a new OpenFlow action and Buffer packets in switch

2013-10-21 Thread Xiaoye Sun
Thanks Ben, For my understanding, when a packet matches an entry with 'learn' action, the 'learn' action will insert an entry to the specified flow table, the match fields of the entry can be get from the matched packet and the action of the entry can be specified in 'learn' action. This 'learn' a

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-21 Thread Nan
Hi, Alex Thank you very much for the help Best, -- Nan On Monday, 21 October, 2013 at 11:20 AM, Alex Wang wrote: > Hey Nan, > > Glad to hear that and you configuration sounds valid to me. > > Again, you can still make every server directly access the Internet and > communicate with each

Re: [ovs-discuss] Add a new OpenFlow action and Buffer packets in switch

2013-10-21 Thread Ben Pfaff
On Mon, Oct 21, 2013 at 03:43:22PM -0500, Xiaoye Sun wrote: > This new function is extension to OpenFlow protocol v1.0.0. > In OpenFlow, if a packet does not match the flow table on a switch, the > packet will be sent to the controller via a packet-in message. Then the > OpenFlow controller will re

[ovs-discuss] Add a new OpenFlow action and Buffer packets in switch

2013-10-21 Thread Xiaoye Sun
Dear all, Currently, I am implementing a new function in openvswitch. This new function is extension to OpenFlow protocol v1.0.0. In OpenFlow, if a packet does not match the flow table on a switch, the packet will be sent to the controller via a packet-in message. Then the OpenFlow controller wil

Re: [ovs-discuss] Delete flows matching given VLAN

2013-10-21 Thread Manam Rajasekhar
Found it, ovs-ofctl del-flows SWITCH dl_vlan= Thanks -Raja On Monday, October 21, 2013 12:02 PM, Manam Rajasekhar wrote: Is there a way to delete flows matching vlan on given port. For example on uplink port if new VLAN is deleted, delete flows that matches this VLAN on the port instead

[ovs-discuss] Delete flows matching given VLAN

2013-10-21 Thread Manam Rajasekhar
Is there a way to delete flows matching vlan on given port. For example on uplink port if new VLAN is deleted, delete flows that matches this VLAN on the port instead of deleting all flows. Appreciate your response. Thanks -Raja___ discuss mailing list

Re: [ovs-discuss] ovs bonding and flows for both physical nic.

2013-10-21 Thread Ben Pfaff
On Mon, Oct 21, 2013 at 10:25:50PM +0530, ananthan wrote: > For some guest there is packet loss,can this be because of this drop action > in eth0, its "*used"* value is also getting updated. > > in_port(2),eth(src=00:26:0a:24:b0:00,dst=ff:ff:ff:ff:ff:ff),eth_type(0x8100),vlan(vid=32,pcp=0),encap(e

Re: [ovs-discuss] ovs bonding and flows for both physical nic.

2013-10-21 Thread ananthan
Thanks Ben for the reply, For some guest there is packet loss,can this be because of this drop action in eth0, its "*used"* value is also getting updated. in_port(2),eth(src=00:26:0a:24:b0:00,dst=ff:ff:ff:ff:ff:ff),eth_type(0x8100),vlan(vid=32,pcp=0),encap(eth_type(0x0806),arp(sip=15.x.x.130,tip

Re: [ovs-discuss] ovs bonding and flows for both physical nic.

2013-10-21 Thread Ben Pfaff
On Mon, Oct 21, 2013 at 07:27:59PM +0530, ananthan wrote: > But Why there are flows for in_port(2) when bonding shows active-backup? OVS can't control what packets come in on an interface. > All the flows for in_port(2) shows action as drop,what is the need of these > flows? OVS has to do somet

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-21 Thread Alex Wang
Hey Nan, Glad to hear that and you configuration sounds valid to me. Again, you can still make every server directly access the Internet and communicate with each other at the same time, using tunneling. Below is a tutorial for setting up tunnels, http://blog.scottlowe.org/2013/05/07/using-gre-t

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-21 Thread Nan
Hi, Alex, Thank you for the reply, I spent the whole weekend to solve it I create br0 for every server, and make the first server as the gateway then disable all physical NICs and attach eth0 of everyone to their own br0s; then set all br0s in the same subnet every VM can communicate and

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-21 Thread Alex Wang
sorry for this delayed reply, there is one thing I noticed below: On Sat, Oct 19, 2013 at 8:23 AM, Nan wrote: > Hi, Alex, > > I tried your suggestion, it seems that the problem is still there > > *In host 1: I have the tunnel ready* > > zhunan@zhunan-PowerEdge-R210-II:~$ sudo ovs-vsctl show >

[ovs-discuss] ovs bonding and flows for both physical nic.

2013-10-21 Thread ananthan
Hi, i have ovs bond bond0 with eth0 and eth1 connected to it *ovs-appctl bond/list* bond type slaves bond0 active-backup eth0, eth1 *ovs-appctl bond/show bond0* bond_mode: active-backup bond-hash-basis: 0 updelay: 31000 ms downdelay: 200 ms lacp_negotiated: false slave eth0: enabled may_ena

[ovs-discuss] want to drop packets for a user

2013-10-21 Thread Navneet Kaur
Hello, Using Openflow messages I want to drop packets of particular flow. As per my requirement "ofp_match" structure will have only "SRC IP", "SRC PORT", "DST IP" and "DST PORT"; The other fields of ofp_match are not known. I want to drop packets in OVS for the flow matching my "ofp_match" stru

[ovs-discuss] flows in openvswitch

2013-10-21 Thread Rahul arora
Hi All Suppose i want to push 1000 flows in table 0 of openvswitch. Please let me know the command which can i use to limit the number of flows. Regards Rahul Arora ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinf