Re: [ovs-discuss] How to close mac learning of OVS ?

2013-12-17 Thread Andy Zhou
Sure, here is an simple example. It is likely not the best way to achieve what you want, or not what you want at all. Just an example you can experiment with. table=0, priority=0,in_port=2, actions=flood On Tue, Dec 17, 2013 at 11:15 PM, 張ふ渏 <303429...@qq.com> wrote: > I do not exactly unders

Re: [ovs-discuss] How to close mac learning of OVS ?

2013-12-17 Thread Andy Zhou
Assuming "close" means "turn off" One possible solution is by using open flow rules: 1) Set the bridge'fail-mode' to secure, using ovs-vsctl. 'standalone' is the default value. 2) Set up open flow rules with ovs-ofctl: Set up an openflow rule with high priority, matches the in_port, apply acti

Re: [ovs-discuss] How to close mac learning of OVS ?

2013-12-17 Thread Ben Pfaff
I have no idea what "close" means here. On Wed, Dec 18, 2013 at 02:30:51PM +0800, ?j wrote: > When close mac learning on one special port, and in this port there would be > no mac learning table. > > > > > -- Original -- > From: "Ben Pfaff";; > Date: Wed,

Re: [ovs-discuss] How to close mac learning of OVS ?

2013-12-17 Thread Ben Pfaff
What does it mean to close the mac learning mechanism? On Wed, Dec 18, 2013 at 01:59:10PM +0800, ?j wrote: > Recently, my requirement is to close the mac learning mechanism in one > special port. Do you know how to do that ? > > > > -- Original -- > From: "B

Re: [ovs-discuss] How to close mac learning of OVS ?

2013-12-17 Thread ?????j
Recently, my requirement is to close the mac learning mechanism in one special port. Do you know how to do that ? -- Original -- From: "Ben Pfaff"; Date: 2013??12??18??(??) 1:42 To: "?j"<303429...@qq.com>; Cc: "discuss"; Subject: Re: [ovs-discuss]

Re: [ovs-discuss] How to close mac learning of OVS ?

2013-12-17 Thread Ben Pfaff
On Wed, Dec 18, 2013 at 09:51:20AM +0800, ?j wrote: > Can I close the mac learning mechanism in OVS, and how to do that ? What does it mean to close to mac learning mechanism? ___ discuss mailing list discuss@openvswitch.org http://openvswitch.o

Re: [ovs-discuss] How to close mac learning of OVS ?

2013-12-17 Thread Deepika
Hi,* If you use the below command , ovs-vsctl set?6?1fail?6?1mode* secure ovs will rely on controller for learning and set up flows. Thanks, Deepika On 12/18/2013 07:21 AM, ?j wrote: Hi~ Can I close the mac learning mechanism in OVS, and how to do that ? Thanks! SuSan ___

[ovs-discuss] How to close mac learning of OVS ?

2013-12-17 Thread ?????j
Hi~ Can I close the mac learning mechanism in OVS, and how to do that ? Thanks! SuSan___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Ping packets on GRE tunnel are flooded

2013-12-17 Thread Jesse Gross
You shouldn't include eth0 on M2 and M3 in the bridges. I guess those are the interfaces that the GRE tunnel is configured over but that's not necessary since the packets will find the correct interface using the routing table. If it's another set of interfaces then it will form a loop. On Tue, De

Re: [ovs-discuss] Compiling OVS 2.0 on CentOS 6.5

2013-12-17 Thread Jesse Gross
OK, thanks. I'll update the patch to check for the additional location. On the autoconf version, I think it's just the test suite that uses some macros that were introduced in 2.64. On Tue, Dec 17, 2013 at 10:14 AM, Madko wrote: > Typo was only in the mail, sorry about that Jesse. Configure tell

Re: [ovs-discuss] Ping packets on GRE tunnel are flooded

2013-12-17 Thread Rashmi Rashmi
Jesse, M2/eth0 is physically connected to M3/eth0. Both these machines are running OVS, and have a GRE tunnel configured between them. M2/eth1 is physically connected to M1/eth0. Here M1 is a client machine, whose ping req./resp. are expected to be GRE encapsulated (between M2 & M3). For this

Re: [ovs-discuss] tcp_flags & OVS release cycle

2013-12-17 Thread Jesse Gross
Yes, the next release of OVS should be 2.1; the timeframe is roughly early next year. On Tue, Dec 17, 2013 at 9:33 AM, Amir Sadoughi wrote: > Thanks, Jesse. Can you speak to the OVS release cycle? Do we have a version > number for the next release that tcp_flags will be included in at least? > 2.

Re: [ovs-discuss] Adding delay to Queues at OVS

2013-12-17 Thread Ben Pfaff
On Tue, Dec 17, 2013 at 03:49:13PM +0500, Sadia Bashir wrote: > I am working on ovs, queues and pox-controller. I have created queues on > the switch and configured them for max-rate and min-rate. I en-queue > packets on certain queues but I want to give different delay to packets > passing through

Re: [ovs-discuss] tcp_flags & OVS release cycle

2013-12-17 Thread Amir Sadoughi
Thanks, Jesse. Can you speak to the OVS release cycle? Do we have a version number for the next release that tcp_flags will be included in at least? 2.1.0? Amir On Tue, Dec 17, 2013 at 11:19 AM, Jesse Gross wrote: > On Tue, Dec 17, 2013 at 7:42 AM, Amir Sadoughi > wrote: > > I noticed the tc

Re: [ovs-discuss] Compiling OVS 2.0 on CentOS 6.5

2013-12-17 Thread Jesse Gross
On Tue, Dec 17, 2013 at 1:59 AM, Madko wrote: > I try the patch on 2.0.0 tarball: > http://ur1.ca/g7l1a > > still some erors about conflicting types for 'netdev_features_t' > > btw > > OVS_GREP_IFELSE([$KSRC/include/linux/netdev_features.h], > [netdev_features_t]) > > > I don't have $KSRC/include

Re: [ovs-discuss] tcp_flags & OVS release cycle

2013-12-17 Thread Jesse Gross
On Tue, Dec 17, 2013 at 7:42 AM, Amir Sadoughi wrote: > I noticed the tcp_flags feature is in git, but not in a released version > yet. > > Is there a public release cycle or roadmap for OVS? Are there any > expectations around how OVS is packaged and released in XenServer, Ubuntu, > etc. Distrib

Re: [ovs-discuss] how to give an ip to a bridge

2013-12-17 Thread Jesse Gross
It's the same as any other network interface, so you should look at the interfaces that are already there or consult the documentation. On Tue, Dec 17, 2013 at 1:57 AM, Cristina Palomo Regidor wrote: > Thanks, > Do you know how is the script that I should create for SLES in > /etc/sysconfig/netw

Re: [ovs-discuss] Ping packets on GRE tunnel are flooded

2013-12-17 Thread Jesse Gross
On Tue, Dec 17, 2013 at 1:00 AM, Rashmi Rashmi wrote: > Hello, > > > > I am using a GRE tunnel with OVS. Here is the setup detail: > > > > > > +--+ eth0 (11.0.0.2) eth1 ++ eth0 > eth0 ++ > > | M1 (Linux) |-|

[ovs-discuss] tcp_flags & OVS release cycle

2013-12-17 Thread Amir Sadoughi
I noticed the tcp_flags feature is in git, but not in a released version yet. Is there a public release cycle or roadmap for OVS? Are there any expectations around how OVS is packaged and released in XenServer, Ubuntu, etc. Basically, I'm trying to determine if the tcp_flags feature would be wide

Re: [ovs-discuss] Reg. vxlan tunnel port

2013-12-17 Thread ESWAR RAO
Hi Lori, Thanks for the response. If we have multiple configured tunnel ports on the OVS bridge, are there any listening threads on those ports?? Can I have some pointers in the code where I can see how the packet is handled to a tunnel port among the available tunnel ports?? Thanks Eswar Rao O

[ovs-discuss] 答复: About VXLAN VNI

2013-12-17 Thread yinpeijun
Hi, As I know,if you want to set distribute VNI for vm ,you should set flow for vm use ovs-ofctl。 For example: ovs-ofctl add-flow in_port=1(vm port id) ,actions=set_tunnel:5001,output:2(vxlan port id) ps:you can read the new openvswitch.conf.db . Hope this helpful >发件人: discuss-boun...

Re: [ovs-discuss] Reg. vxlan tunnel port

2013-12-17 Thread Lori Jakab
On 12/17/13 2:54 PM, ESWAR RAO wrote: Hi All, I have OVS bridge (br-int) on 3 different machines (192.168.100.101/102/103 ). I have created tunnel ports on these 3 machines using: # ovs-vsctl add-port br-int tun0 -- set interface tun0 type=vxlan options:remote

[ovs-discuss] Reg. vxlan tunnel port

2013-12-17 Thread ESWAR RAO
Hi All, I have OVS bridge (br-int) on 3 different machines (192.168.100.101/102/103 ). I have created tunnel ports on these 3 machines using: # ovs-vsctl add-port br-int tun0 -- set interface tun0 type=vxlan options:remote_ip=192.168.100.102 options:key= > port number:2 If my understanding

[ovs-discuss] Adding delay to Queues at OVS

2013-12-17 Thread Sadia Bashir
Hi everyone, I am working on ovs, queues and pox-controller. I have created queues on the switch and configured them for max-rate and min-rate. I en-queue packets on certain queues but I want to give different delay to packets passing through different queues, like if it is queue 1, than there sho

Re: [ovs-discuss] Compiling OVS 2.0 on CentOS 6.5

2013-12-17 Thread Madko
I try the patch on 2.0.0 tarball: http://ur1.ca/g7l1a still some erors about conflicting types for 'netdev_features_t' btw OVS_GREP_IFELSE([$KSRC/include/linux/netdev_features.h], [netdev_features_t]) I don't have $KSRC/include/linux/netdev_features.h, just a $KSRC/include/linux/netdevicde.h

Re: [ovs-discuss] how to give an ip to a bridge

2013-12-17 Thread Cristina Palomo Regidor
Thanks, Do you know how is the script that I should create for SLES in /etc/sysconfig/network for an openvswitch bridge? BR/ -Original Message- From: Jesse Gross [mailto:je...@nicira.com] Sent: lunes, 16 de diciembre de 2013 19:51 To: Cristina Palomo Regidor Cc: discuss@openvswitch.org

[ovs-discuss] Ping packets on GRE tunnel are flooded

2013-12-17 Thread Rashmi Rashmi
Hello, I am using a GRE tunnel with OVS. Here is the setup detail: +--+ eth0 (11.0.0.2) eth1 ++ eth0 eth0 ++ | M1 (Linux) |-| M2 (Linux) |

Re: [ovs-discuss] Compiling OVS 2.0 on CentOS 6.5

2013-12-17 Thread Madko
I will try in a few minutes, thanks. Do you know if it works with RHEL7Beta? It's a 3.10 kernel with a lot of redhat patches I guess. I will try to compile ovs 2 too on this version. 2013/12/17 Justin Pettit > It was posted to ovs-dev: > > http://openvswitch.org/pipermail/dev/2013-Dece

Re: [ovs-discuss] Compiling OVS 2.0 on CentOS 6.5

2013-12-17 Thread Justin Pettit
It was posted to ovs-dev: http://openvswitch.org/pipermail/dev/2013-December/035193.html I'm sure additional confirmation would be appreciated. --Justin On Dec 16, 2013, at 11:55 PM, Madko wrote: > Can I try this patch too? > > > 2013/12/16 Jesse Gross > On Mon, Dec 16, 2013 at 9: