Re: [ovs-discuss] [openvswitch 2.5.2] netlink: Unknown conntrack attr (2)

2017-05-11 Thread Ben Pfaff
On Thu, May 11, 2017 at 03:34:14PM +0800, mhzhang wrote: > I just want to conntrack tcp flows for testing. But when I put the follow > command into CLI, > > ovs-ofctl add-flow "in_port=1, tcp, ct_state=-trk, > action=ct(table=1)", > > with few seconds gone, I get such output info at CLI, >

Re: [ovs-discuss] Flow Entry Statistics Trigger support

2017-05-11 Thread Ben Pfaff
On Thu, May 11, 2017 at 12:08:25PM +0530, Rohith Basavaraja wrote: > Wanted to check whether anyone working on the Flow Entry Statistics Trigger > support in OVS or this work not started yet?.If anyone started working on > this what is targeted OVS release this feature will be supported. There's

Re: [ovs-discuss] a struct to keep flow scores

2017-05-11 Thread Ben Pfaff
at > eviction phase - calculate the scores based on the sliding window information > The question is where to allocate this sliding window ? > Best Regards > avi > > > > -Original Message- > > From: Ben Pfaff [mailto:b...@ovn.org] > > Sent: Thursday, 11 May,

Re: [ovs-discuss] Failed to add ovs bridge

2017-05-11 Thread Ben Pfaff
Are you using STP or RSTP? There's a bug fix related to them on branch-2.5. On Thu, May 11, 2017 at 11:11:02AM +, fukaige wrote: > Hi all, > > Occasionally, I get error when creating a bridge using “ovs-vsctl add-br > br-eth” > > > ovs-vsctl: Error detected while setting up 'br-eth'.

Re: [ovs-discuss] Anyway to move/load data between ct_mark/ct_label and field/register ?

2017-05-11 Thread Ben Pfaff
On Thu, May 11, 2017 at 11:11:58AM +, Zang MingJie wrote: > I wonder if there is any way to move data from or to ct_label like nicira > move or load extension ? > > I want to store some value of packet field or register to ct_lable on the > first packet, and the load ct_label to some fields

Re: [ovs-discuss] ovs version with openflow meter support

2017-05-11 Thread Ben Pfaff
On Thu, May 11, 2017 at 05:07:19PM +0530, Thiyagu Subramanyam wrote: > Hi, >I am trying to add meter to ovs-bridge, but its failing with the > following error > "OFPT_ERROR (OF1.3) (xid=0x2): OFPMMFC_OUT_OF_METERS" > > OVS version which i am using is 2.3.1. > Can anyone tell me whether

Re: [ovs-discuss] prioritizing latency-sensitive traffic

2017-05-08 Thread Ben Pfaff
terface) but which > requires multiqueue to be enabled. It would be too surprising to change the > n_rxq setting implicitly. > * pmd-rxq-affinity is set. A simple & sensible interaction between these > two features is not simple to define. For now using the existing > pmd-rqx-af

Re: [ovs-discuss] DPDK OVS HW offload related question

2017-05-03 Thread Ben Pfaff
On Wed, May 03, 2017 at 04:56:43AM +, Patil, Harish wrote: > > > > > > > > > >On 4/26/17, 11:45 AM, "ovs-discuss-boun...@openvswitch.org on behalf of > >Patil, Harish" >harish.pa...@cavium.com> wrote: > > > > > > > >>Hello, > >

Re: [ovs-discuss] Stuck when add-br or del-br

2017-04-27 Thread Ben Pfaff
d-br br0 hunter 18624 > 17398 0 10:20 pts/18 00:00:00 grep --color=auto ovs > > > Is it normal? > > > > > > > -- Original -- > From: "Ben Pfaff";<b...@ovn.org>; > Date: Thu, Apr 27, 2017 11:51 PM &g

Re: [ovs-discuss] How to crash ovs-vswitchd and ovsdb-server

2017-04-26 Thread Ben Pfaff
On Thu, Apr 27, 2017 at 09:01:14AM +0530, V Phanendra wrote: > My requirement is my application should detect the crash in ovsdb-server > and ovs-vswitchd application and do required relaunching applications. > > To test this I would like to know how to crash ovsdb-server and > ovs-vswitchd

Re: [ovs-discuss] why userspace handle many packets once?

2017-04-26 Thread Ben Pfaff
H" and go to the end, you can find commits that describe the benefits, such as the following: commit 9b16c4394b940573d733c47fa7213bbe99a456d9 Author: Ben Pfaff <b...@nicira.com> Date: Thu Nov 10 16:42:51 2011 -0800 ofproto-dpif: Process multiple batches of upcalls in a sin

Re: [ovs-discuss] Stuck when add-br or del-br

2017-04-26 Thread Ben Pfaff
On Wed, Apr 26, 2017 at 10:13:10PM +0800, HUNTER wrote: > I have compiled OVS 2.5.0 on my VM, but when I `sudo ovs-vsctl add-br br0`, > it got stuck.The `sudo ovs-vsctl show` shows that the bridge is added. The > similar result is with `del-br`.I can `ctrl C`to stop them but I couldn't > start

Re: [ovs-discuss] Regarding openvswitch group, type=select, hashing

2017-04-25 Thread Ben Pfaff
On Tue, Apr 25, 2017 at 10:47:47PM +0530, Ahmed Khan wrote: > 1) "group_best_live_bucket()" function - Is this function traversed in > control path everytime when the data path flows inside kernel expire? When they expire, yes. > 2) In this method, if a new bucket is added with higher weight,

Re: [ovs-discuss] OVS layer3 GRE support

2017-04-24 Thread Ben Pfaff
pport for GRE, > >here it is. > > > >https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/330490.html > > > > > >-Original Message- > >From: ovs-discuss-boun...@openvswitch.org > >[mailto:ovs-discuss-boun...@openvswitch.org] On Behalf O

Re: [ovs-discuss] OVS layer3 GRE support

2017-04-24 Thread Ben Pfaff
data path is merged back to Linux mainline by Jiri > Benc. But the user space OVS changes are missing in ovs main tree. > > Thanks. > > Hexin > > > > > On 4/24/17, 11:37 AM, "Ben Pfaff" <b...@ovn.org> wrote: > > >On Mon, Apr 24, 2017 at 06:25:0

Re: [ovs-discuss] OVS layer3 GRE support

2017-04-24 Thread Ben Pfaff
On Mon, Apr 24, 2017 at 06:25:07PM +, Hexin Wang wrote: > I got a question on OVS layer3 GRE tunnel support. The OVS kernel > piece that supports layer 3 GRE is merged into linux upstream since > 4.10 RC6. Do we need any extra user land OVS merge for it to work > end-to-end? I am referring to

Re: [ovs-discuss] 答复: about

2017-04-24 Thread Ben Pfaff
OK, let's figure out the problem. Can you provide a backtrace? Or run OVS until valgrind and provide valgrind's report? Or can you provide reproduction information for us? Thanks, Ben. On Thu, Apr 20, 2017 at 08:21:54AM +, qintao (F) wrote: > hi,Pettit > I have reprodeuced the same

Re: [ovs-discuss] Question on in_port reference in xlate_normal@ofproto-dpif-xlate.c

2017-04-24 Thread Ben Pfaff
On Mon, Apr 24, 2017 at 04:30:51PM +, Hexin Wang wrote: > In ovs 2.6.90, we are seeing NULL reference to in_port if > lookup_input_bundle() sets in_port to NULL. > > /* Learn source MAC. */ > if (ctx->xin->may_learn && !in_port->is_layer3) { >

Re: [ovs-discuss] Regarding openvswitch group, type=select, hashing

2017-04-24 Thread Ben Pfaff
buckets per group does ovs support ? And how many group > tables are supported ? > > Thanks. > > On 22 Apr 2017 02:34, "Ben Pfaff" <b...@ovn.org> wrote: > > > On Thu, Apr 20, 2017 at 04:12:20PM +0530, Ahmed Khan wrote: > > > I understand that, >

Re: [ovs-discuss] prioritizing latency-sensitive traffic

2017-04-24 Thread Ben Pfaff
fYyC0nCQjqwqnI1jAFx2sck/edit?usp=sharing > + Kevin who is co-ordinating that. > > Thanks, > Billy. > > > > -Original Message- > > From: Ben Pfaff [mailto:b...@ovn.org] > > Sent: Friday, April 21, 2017 10:39 PM > > To: O Mahony, Billy <billy.o.mah...@intel.

Re: [ovs-discuss] system@ovs-system: Datapath does not support ...

2017-04-23 Thread Ben Pfaff
On Sun, Apr 23, 2017 at 02:40:01PM +0800, 郭文茂 wrote: > I got a quetion about ovs-vswitchd. I installed ovs-switch in debain linux > kernel (ARM).now,I input " systemctl enable openvswitch-switch" on console > .but it got any error message in ovs-vswitchd.log . I don't know how should > i

Re: [ovs-discuss] How to use auxiliary connnection

2017-04-22 Thread Ben Pfaff
.1:6633:aux:1 > > Actually I was trying to figure out what connection I should use for > Packet-ins. > Anyway, I think, adding a new auxiliary_id key to controller action works > perfect. > > Thank you for your valuable help as always > > - Volkan > > _

Re: [ovs-discuss] How to use auxiliary connnection

2017-04-21 Thread Ben Pfaff
Since OVS doesn't yet support auxiliary connections I think it would make more sense to start by implementing them at all.___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Re: [ovs-discuss] prioritizing latency-sensitive traffic

2017-04-21 Thread Ben Pfaff
e general feeling is that any kind of tc pre-processing is > not worth it and the existing egress queing/QoS facilities should suffice. > > Thanks for your comments. > > /Billy > > > > > -----Original Message- > > From: Ben Pfaff [mailto:b...@ovn.or

Re: [ovs-discuss] Regarding openvswitch group, type=select, hashing

2017-04-21 Thread Ben Pfaff
On Thu, Apr 20, 2017 at 04:12:20PM +0530, Ahmed Khan wrote: > I understand that, > > *"""* > > *Open vSwitch 2.4 and later by default hashes the source and > **destination Ethernet address, VLAN ID, Ethernet type, IPv4/v6 > **source and destination address and protocol, and for TCP and SCTP >

Re: [ovs-discuss] multiple interfaces on ovs

2017-04-21 Thread Ben Pfaff
On Fri, Apr 21, 2017 at 08:52:41AM +0530, Ajay R wrote: > Is there a way I could add multiple interfaces on OVS and connect each > interface to a controller or different controllers ? > I cannot run more than one instance of ovs-switch daemon(built from source > code) in a VM and I'm trying to

Re: [ovs-discuss] build failure when 'mvn archetype:generate' using '-DarchetypeCatalog'

2017-04-21 Thread Ben Pfaff
On Fri, Apr 21, 2017 at 10:39:15AM +0800, Sam wrote: > Hi all, > > I'm running coretutorials of ODL according > https://wiki.opendaylight.org/view/Controller_Core_Functionality_Tutorials:Main > > In 'Part 1 - Build with a simple 'Example' module', I run command exactly > as document said as

Re: [ovs-discuss] OVS Controller connection port

2017-04-18 Thread Ben Pfaff
One way, which may not be satisfactory, is to use "ovs-appctl ofproto/trace" to simulate a packet from the switch to the controller. On Tue, Apr 18, 2017 at 03:39:24PM +, 蘇于倫 wrote: > Hi Farooq, > > Thanks for the comments. > > I use the command a lot. However, what I want to get is which

Re: [ovs-discuss] match ethertype when packet with multiple vlan tags

2017-04-18 Thread Ben Pfaff
On Tue, Apr 18, 2017 at 10:29:50AM -0400, Eric Garver wrote: > On Tue, Apr 18, 2017 at 12:17:17PM +0800, Dickens Yeh wrote: > > Thanks for your response. > > I know that if I have to match multiple vlan tags, it have to pop the outer > > vlan. > > But I think my question are not the matching vlan

Re: [ovs-discuss] How to use auxiliary connnection

2017-04-16 Thread Ben Pfaff
On Sun, Apr 16, 2017 at 11:30:33AM +, Ali Volkan Atli wrote: > I am trying to understand auxiliary connection according to OpenFlow 1.5 > specifications but I have some questions as follows > > 1) Let's suppose I have one main and one auxiliary connection. How > does the controller decide

Re: [ovs-discuss] disable flow-cache doesn't work

2017-04-13 Thread Ben Pfaff
: > Hi Ben, > > I suspect there is an issue due to flow cache when output to multiple > VXLAN tunnel . Have sent an email also sub:- "Packet drop when output to > multiple VXLAN tunnel". > > On Thu, Apr 13, 2017 at 10:08 PM, Ben Pfaff <b...@ovn.org> wrote: >

Re: [ovs-discuss] OVS Errors

2017-04-07 Thread Ben Pfaff
None of those are errors. On Fri, Apr 07, 2017 at 09:26:22AM +0800, Sun Paul wrote: > Hi > > we used OVS to create bridge interface and passing SCTP traffics on > it, after running a period of time, we found below error, any idea? > > > Apr 6 01:30:04 app011 ovs-vswitchd[11300]: >

Re: [ovs-discuss] How to notify the SDN controller when adding a new interface to OVS bridge?

2017-04-07 Thread Ben Pfaff
On Fri, Apr 07, 2017 at 04:05:06PM -0400, Yuanjun Yao wrote: > I want to dynamically add new interface to OVS bridge, but it seems that > the SDN controller knows the interfaces and mac addresses only when we > first set controller for the bridge. When I add a new interface to the > bridge, the

Re: [ovs-discuss] action mismatch while testing with Ixia

2017-04-05 Thread Ben Pfaff
I think that you might be encountering a perhaps surprising property of the "learn" action. If I recall correctly, the way we implemented "learn", the change that it makes are only visible to packets that traverse the OVS pipeline *after* the current packet finishes its traversal. This works

Re: [ovs-discuss] OVS Bug tracking

2017-04-05 Thread Ben Pfaff
On Wed, Mar 29, 2017 at 12:21:46PM +, Stokes, Ian wrote: > At the last OVS-DPDK community sync meeting the issue of bug reporting and > tracking was raised. Specifically > > 1. What is currently available? > 2. Are there any improvements that can be made in the process? > > As it stands the

Re: [ovs-discuss] ovs-vsctl add-port Question

2017-04-05 Thread Ben Pfaff
On Wed, Apr 05, 2017 at 02:12:39PM +, Ferriter, Cian wrote: > Hi all, > > At the moment in OVS when a port is incorrectly added to a bridge an error is > usually displayed, either in the logs or on screen. In addition, the port > shows up in the DB when 'ovs-vsctl show' is executed. This

Re: [ovs-discuss] Manager Connection Setup

2017-04-05 Thread Ben Pfaff
On Wed, Apr 05, 2017 at 02:06:08PM +, 蘇于倫 wrote: > I have some questions on the Manager connection setup. > > When I dump hidden flows with ovs-appctl bridge/dump-flow bridge_name, > if manager is set, then there will be hidden flows for manager connection. > Is manager connection set by

Re: [ovs-discuss] How to set metadata in ovs-ofctl actions=learn

2017-03-31 Thread Ben Pfaff
On Sat, Apr 01, 2017 at 01:48:31AM +, Ching Sun wrote: > Hi all, > > I want to set metadata=0x1 in the following learn action > > ovs-ofctl -O OpenFlow13 add-flow br-int "table=40, priority=10, > metadata=0x01/0x0f, tcp, actions=learn(cookie=0xfade, table=30, > idle_timeout=60,

Re: [ovs-discuss] How to ovs-ofctl add-flow learn with 5-tuple

2017-03-31 Thread Ben Pfaff
ion > state. > > -Original Message----- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Friday, March 31, 2017 4:37 PM > To: Ching Sun > Cc: ovs-discuss@openvswitch.org > Subject: Re: [ovs-discuss] How to ovs-ofctl add-flow learn with 5-tuple > > On Fri, Mar 31,

Re: [ovs-discuss] How to ovs-ofctl add-flow learn with 5-tuple

2017-03-31 Thread Ben Pfaff
On Fri, Mar 31, 2017 at 11:14:48PM +, Ching Sun wrote: > I'd like to create an OVS learn table to match with 5-tuple. I had tried so > many different ways to do it, and never got it done. I think there got be a > way to do that, I had seen many similar examples, but none of them exactly >

Re: [ovs-discuss] OFPBAC_MATCH_INCONSISTENT error when running ovs-ofctl add-flow with actions=learn

2017-03-30 Thread Ben Pfaff
On Thu, Mar 30, 2017 at 08:19:12PM +, Ching Sun wrote: > Hi all, > > I am trying to add a new flow rule with actions=learn, and never got > succeeded. Then I tried some examples from Google search, still no luck. I > am sure I must did something not right. Can anyone tell me where and

Re: [ovs-discuss] SR-IOV with Open vSwitch

2017-03-30 Thread Ben Pfaff
On Thu, Mar 30, 2017 at 06:39:24AM +0200, Advith Nagappa wrote: > Has anyone used SR-IOV with Open vSwitch(in a guest)? > > My understanding is that SR-IOV is hypervisor(host) by/pass, Hence using > OVS at that level would not make sense.. > > So I tried deploying OVS in an SR-IOV enabled guest,

Re: [ovs-discuss] How to reset counters of ovs-flows ?

2017-03-30 Thread Ben Pfaff
I see now that you can add "reset_counts" to individual flows to get the behavior you want. This isn't so convenient, though, and it doesn't appear to be documented. On Tue, Mar 28, 2017 at 10:13:55PM -0700, Ben Pfaff wrote: > If you can do without the flows momentarily, you cou

Re: [ovs-discuss] Packet reodering Open vSwitch multiple versions

2017-03-30 Thread Ben Pfaff
On Thu, Mar 30, 2017 at 02:09:28PM +, Ionut Chiriac wrote: > Open vSwitch version: 2.5.0, 2.5.2, 2.7.0 > > Kernel Version: Linux version 3.10.70 > > OS: Openwrt Barrier Breaker > > > > > >

Re: [ovs-discuss] How to reset counters of ovs-flows ?

2017-03-28 Thread Ben Pfaff
tl: switch does not support any of the usable flow formats > (OXM,NXM+table_id) > > Is there any other way to achieve same ? > > On Tue, Mar 28, 2017 at 10:17 PM, Ben Pfaff <b...@ovn.org> wrote: > > > On Tue, Mar 28, 2017 at 05:26:46PM +0530, f 62 wrote: > >

Re: [ovs-discuss] How to reset counters of ovs-flows ?

2017-03-28 Thread Ben Pfaff
On Tue, Mar 28, 2017 at 05:26:46PM +0530, f 62 wrote: > I am trying to reset the counter of ovs-flows. I followed following steps: > > a. ovs-ofctl -O Openflow13 dump-flows br-int > /tmp/br_int > > b. ovs-ofctl -O OpenFlow13 --readd replace-flows br-int /tmp/br_int > > > Its not working .

Re: [ovs-discuss] Kernel vs User mode switch

2017-03-27 Thread Ben Pfaff
This is a weird response. This is the Open vSwitch list, so the original poster is asking about Open vSwitch. On Sun, Mar 26, 2017 at 10:13:19PM -0400, Daniel Lohin wrote: > No idea what you are talking about… in what? > > Generally speaking… a user application runs as fast as kernel, as long

Re: [ovs-discuss] in mininet

2017-03-23 Thread Ben Pfaff
On 23 Mar 2017, at 16:26, Ben Pfaff <b...@ovn.org> wrote: > >> > >> On Thu, Mar 23, 2017 at 12:55:12PM +0100, Guang Yang wrote: > >> I am quite new to the openvswitch, and I am a bit confused now. > >> I have mininet installed and running, when I use comman

Re: [ovs-discuss] in mininet

2017-03-23 Thread Ben Pfaff
On Thu, Mar 23, 2017 at 12:55:12PM +0100, Guang Yang wrote: > I am quite new to the openvswitch, and I am a bit confused now. > I have mininet installed and running, when I use command: > ovs-ofctl --version > it shows: ovs-ofctl (Open vSwitch) 2.0.2 > > I am not sure if this is the same tool as

Re: [ovs-discuss] OVS supported hardware switches

2017-03-22 Thread Ben Pfaff
On Wed, Mar 22, 2017 at 09:14:28AM -0600, gavin_rema...@selinc.com wrote: > We (Schweitzer Engineering Labs) use ofproto, implementing our own > ofproto_class to define all the functions in ofproto-provider.h. > > This is released in the following product: > > https://selinc.com/products/2740S/

Re: [ovs-discuss] How does OVS learns the remote MACs

2017-03-21 Thread Ben Pfaff
Can > you elaborate what do you mean by "writing the flows"? > > I am also looking for some overview of architecture of OVS. I found couple > of videos online, but they are quite old. Simon Horman (2012), Michael > Zayats (2015), Ben Pfaff (2013). Are there any meetup taki

Re: [ovs-discuss] OVS-DPDK

2017-03-20 Thread Ben Pfaff
On Tue, Mar 21, 2017 at 02:36:23AM +0100, Advith Nagappa wrote: > Hi, > > I have DPDK 16.11.1 and OVS 2.6.1, with 1 Gb Huge page/ and 2 NICs bound > with Igb_uio drivers. > > I run in to trouble while creating DPDK ports on the OVS bridge. > > > *ovs-vsctl add-port br0 dpdk-p1 -- set Interface

Re: [ovs-discuss] OVS supported hardware switches

2017-03-20 Thread Ben Pfaff
> OpenFlow layer beneficial. > > > > That said, of course I wouldn't arm wrestle you over it if nobody else cares > > :-). > > > > Steph > > > > > > On Fri, Mar 17, 2017 at 11:24 PM, Ben Pfaff <b...@ovn.org> wrote: > >> > >> Do you mea

Re: [ovs-discuss] Issue: ovs send many packets of a table miss flow to controller

2017-03-18 Thread Ben Pfaff
when it is filled full, which > makes the "buffer id unknown" error as the controller decide to tell the > buffered packets to forward but cannot find it anymore in the buffer. OK. Great, then OVS dropping support for packet buffering just solved that problem for you! > 2

Re: [ovs-discuss] OVS supported hardware switches

2017-03-17 Thread Ben Pfaff
> I'm not sure if we could accomplish it but if it would help provide some > mass against ofproto, perhaps we could get an implemention or two > upstreamed? > > Steph > > > On Mar 16, 2017 08:58, "Ben Pfaff" <b...@ovn.org> wrote: > > > On Tue, Mar 14, 20

Re: [ovs-discuss] Issue: ovs send many packets of a table miss flow to controller

2017-03-17 Thread Ben Pfaff
sed > packets and transfer the packets after controller's decision. Without it, > the controller has to receive all bytes of the packets and re-inject them > afterwards. Or else the connections may be broken for loss of packets. > > 2017-03-17 11:54 GMT+08:00 Ben Pfaff <b...@ovn.org>

Re: [ovs-discuss] Issue: ovs send many packets of a table miss flow to controller

2017-03-16 Thread Ben Pfaff
ave, the lower-quality the cookie... */ > > #define PKTBUF_BITS 8 > > #define PKTBUF_MASK (PKTBUF_CNT - 1) > > #define PKTBUF_CNT (1u << PKTBUF_BITS) > > #define COOKIE_BITS (32 - PKTBUF_BITS) > > #define COOKIE_MAX ((1u << COOKIE_BITS

Re: [ovs-discuss] OVS supported hardware switches

2017-03-16 Thread Ben Pfaff
On Tue, Mar 14, 2017 at 05:26:28PM +1300, Tony van der Peet wrote: > >On Fri, Mar 10, 2017 at 11:14:55AM +0530, Shravan S K wrote: > >> We are looking to buy a few OpenFlow-enabled switches. What advantages can > >> be achieved by a hardware switch that also supports OVS? > >> And can a hardware

Re: [ovs-discuss] New dpif provider registration

2017-03-16 Thread Ben Pfaff
On Thu, Mar 16, 2017 at 12:34:59PM +, Santhosh Alladi wrote: > We have written a new dpif provider class and registered it by adding > an entry to base_dpif_classes. Is it the correct way? If yes, can we > upstream it? If no,is there any other way to register an external > class? Is your new

Re: [ovs-discuss] Openvswitch - Add rules immediately to data path when gets added to ofproto layer.

2017-03-16 Thread Ben Pfaff
On Thu, Mar 16, 2017 at 03:56:30PM +0530, Kumar wrote: > How make ofproto flow rules visible to the data path as soon as added > to the ofproto layer regardless of its priority. Not possible. ___ discuss mailing list disc...@openvswitch.org

Re: [ovs-discuss] Issue: ovs send many packets of a table miss flow to controller

2017-03-15 Thread Ben Pfaff
On Wed, Mar 15, 2017 at 01:34:56PM +0800, yiyefuping198425 wrote: > I'm asking for assistance to fix this issue: ovs send many packets of a table > miss flow instead of the first packet. That's how OpenFlow works. ___ discuss mailing list

Re: [ovs-discuss] DHCP snooping and storm control support in OVS

2017-03-13 Thread Ben Pfaff
On Tue, Mar 14, 2017 at 12:47:08AM +0530, Shubham Chauhan wrote: > Quick question in regard of dhcp snooping and storm control in switches. > > 1. Is dhcp snooping supported in OVS? > 2. Is storm control suppported in OVS? What would these features do in OVS?

Re: [ovs-discuss] OVS supported hardware switches

2017-03-10 Thread Ben Pfaff
On Fri, Mar 10, 2017 at 11:14:55AM +0530, Shravan S K wrote: > We are looking to buy a few OpenFlow-enabled switches. What advantages can > be achieved by a hardware switch that also supports OVS? > And can a hardware openflow L2 switch perform L3,L4 based openflow > forwarding - can I inspect

Re: [ovs-discuss] Question about order of OVSDB transaction commit response v.s. update notification

2017-03-08 Thread Ben Pfaff
On Wed, Mar 08, 2017 at 03:25:47PM -0800, Han Zhou wrote: > I checked the current python OVSDB IDL implementation, and found out that > the way local cache is handled during transaction commit is like this, as > commented in idl.py: > > Committing a transaction rolls back all of the

Re: [ovs-discuss] proactive controller utility contribution request

2017-03-08 Thread Ben Pfaff
On Mon, Feb 27, 2017 at 04:21:26PM +0100, José Luis Millán wrote: > On Fri, Feb 24, 2017 at 6:59 PM, Ben Pfaff <b...@ovn.org> wrote: > > > On Fri, Feb 24, 2017 at 01:10:23PM +0100, José Luis Millán wrote: > > > I am developing a simple utility tool that maintains co

Re: [ovs-discuss] make check error

2017-03-08 Thread Ben Pfaff
On Tue, Feb 28, 2017 at 04:41:02PM +0800, lg.yue wrote: > it does not tell where errors are? not sure whether this is helpful. The errors reported here are unusual; I have not seen them before. Can you tell us more about your setup? Is there anything unusual about your machine or your

Re: [ovs-discuss] Question on using TCP transport keep alive for ovsdb connection when possible.

2017-03-06 Thread Ben Pfaff
>> Fair comment. In that case, is there any plan in making "inactivity probe" > >> interval configurable in ovn north and south dub connection? > >> > >> Thanks, > >> > >> Hexin > >> > >> > On Mar 6, 2017, at 10:59 AM, Ben Pfaff

Re: [ovs-discuss] Question on using TCP transport keep alive for ovsdb connection when possible.

2017-03-06 Thread Ben Pfaff
th and south dub connection? > > Thanks, > > Hexin > > > On Mar 6, 2017, at 10:59 AM, Ben Pfaff <b...@ovn.org> wrote: > > > > If the application is extremely slow, then the connection is effectively > > dead, and we might as well drop it anyway. > &g

Re: [ovs-discuss] Question on using TCP transport keep alive for ovsdb connection when possible.

2017-03-06 Thread Ben Pfaff
atabase, if > >> they are not running on the same host/container and would have to use tcp > >> as the transport. > >> > >> Thanks. > >> > >> Hexin > >> > >> > >> > >> > >> On 3/2/17, 3:45 PM,

Re: [ovs-discuss] How is the DSCP part of the TOS field handled by OVS

2017-03-06 Thread Ben Pfaff
or eagress traffic. > This is usefull if traffic gets forwarded to non OpenFlow Networks. > But why is there nothing similar for ingress Traffic. > For me this is a simetrical problem. > > Am 06.03.2017 um 17:35 schrieb Ben Pfaff: > >On Mon, Mar 06, 2017 at 05:09:47PM +0100,

Re: [ovs-discuss] How is the DSCP part of the TOS field handled by OVS

2017-03-06 Thread Ben Pfaff
On Mon, Mar 06, 2017 at 05:09:47PM +0100, Jannis Ohms wrote: > The 6 DSCP bits defines some kind of priority. > > Are there different queues for each value or bucket of values ? > > How are these queues configured (min rate / max rate) ? > > can I reconfigure them ? > > > Are the packets

Re: [ovs-discuss] Ovs-ofctl ´set-actions on Userspace OVS

2017-03-06 Thread Ben Pfaff
On Mon, Mar 06, 2017 at 04:00:16PM +0100, Advith Nagappa wrote: > Is it possible to add set-actions to userspace OVS? > > For example: > > ovs-ofctl add-flow br0 > > priority=,dl_type=0x0800,nw_proto=17,nw_dst=10.1.1.1,tp_dst=9876,actions=mod_dl_dst:9877, > Does this work on userspace OVS

Re: [ovs-discuss] Which ovs version support Openflow 1.5

2017-03-06 Thread Ben Pfaff
On Mon, Mar 06, 2017 at 08:53:39PM +0800, Jiaqi Zheng wrote: > Could I know the latest ovs version support Openflow 1.5 ? I want to use > the "Scheduled Bundles" features of Openflow 1.5 ? No version of OVS supports scheduled bundles. We'd accept a patch to add support.

Re: [ovs-discuss] Ovs flow tables

2017-03-05 Thread Ben Pfaff
Please don't drop the list. Use shell quoting so that > does not redirect to a file. On Sun, Mar 05, 2017 at 11:32:57AM +0100, Massimiliano Gualtieri wrote: > Sorry i don't understand your reply > > Il 04/mar/2017 17:10, "Ben Pfaff" <b...@ovn.org> ha scritto: >

Re: [ovs-discuss] Ovs flow tables

2017-03-04 Thread Ben Pfaff
On Sat, Mar 04, 2017 at 10:06:57AM +0100, Massimiliano Gualtieri wrote: > Hi everyone, > > i want to add a rule on my ovs that encapsulate IP packets that arrives on > eth0 and forward it to lisp0 > > i'm triing to add this rule: > ovs-ofctl add-flow br0 >

Re: [ovs-discuss] Question on using TCP transport keep alive for ovsdb connection when possible.

2017-03-02 Thread Ben Pfaff
he reason that it is not getting to the main release? This seems the > right keep alive mechanism for neutron to talk to ovn database, if they are > not running on the same host/container and would have to use tcp as the > transport. > > Thanks. > > Hexin > > >

Re: [ovs-discuss] Question on using TCP transport keep alive for ovsdb connection when possible.

2017-03-02 Thread Ben Pfaff
On Thu, Mar 02, 2017 at 11:43:01PM +, Hexin Wang wrote: > I have a question on the following patch that use TCP keep alive for ovsdb > connection. > > https://mail.openvswitch.org/pipermail/ovs-dev/2011-April/251891.html > > Did this patch go into ovs main release? No.

[ovs-discuss] Open vSwitch Open Source Day: Call for lightning talks

2017-02-24 Thread Ben Pfaff
The Open vSwitch project is participating in Open Source Days at OpenStack Summit Boston. During the summit, Open vSwitch will have dedicated use of a room for a full day. We are now soliciting proposals for 5-minute "lightning talks" for the program. OpenStack Summit Boston will be held May 8

Re: [ovs-discuss] proactive controller utility contribution request

2017-02-24 Thread Ben Pfaff
On Fri, Feb 24, 2017 at 01:10:23PM +0100, José Luis Millán wrote: > I am developing a simple utility tool that maintains connections with a > list of switches and adds and removes flows on them. > > It's been called 'ovs-proactivecontroller' and it is inspired by > 'ovs-testcontroller' utilitly,

Re: [ovs-discuss] Ip grouping in openflow rule

2017-02-20 Thread Ben Pfaff
On Mon, Feb 20, 2017 at 11:46:12AM +0300, Tugrul Erdogan wrote: > Hi all, > > I am working on Centos 7 with OVS. I have simple flow rules as stated below: > > ovs-ofctl add-flow ovs-brext "ip, nw_dst=10.3.4.6, actions=drop" > ovs-ofctl add-flow ovs-brext "ip, nw_dst=172.16.0.6, actions=drop"

Re: [ovs-discuss] OVS Make - make[2]: *** [dist-hook-git] Error

2017-02-20 Thread Ben Pfaff
On Sun, Feb 19, 2017 at 01:51:20PM +, 蘇于倫 wrote: > Hi everyone, > > When I try to re-build and re-install OVS, I encountered the following > error message, which > appears twice in the log of make execution: > > make[2]: *** [dist-hook-git]* Error 1* > make[2]: Leaving directory

[ovs-discuss] CFP: Second IEEE Workshop on Open-Source Software Networking (OSSN 2017)]

2017-02-16 Thread Ben Pfaff
iversity, Korea Teck Chaw Ling, University of Malaya, Malaysia Diego R. Lopez, Telefonica, Spain Akihiro Nakao, University of Tokyo, Japan Ben Pfaff, Vmware, USA Seung-Jong Park, Louisiana State University, USA Soohong Daniel Park, Samsung Electronics, Korea Andrea Pinnola, Telecom Italia Mobi

Re: [ovs-discuss] Is of-ctl add-flow persistent across reboots ?

2017-02-10 Thread Ben Pfaff
second bridge is to forward > traffic to this port. > > Am 10.02.17 19:57 schrieb Ben Pfaff <b...@ovn.org>: > > > > OpenFlow switches generally consider flows to be "soft state". The > > controller is expected to install whatever flows are needed.

Re: [ovs-discuss] Is of-ctl add-flow persistent across reboots ?

2017-02-10 Thread Ben Pfaff
OpenFlow switches generally consider flows to be "soft state". The controller is expected to install whatever flows are needed. If you need persistent flows, using a controller is the typical way. On Fri, Feb 10, 2017 at 06:15:19PM +0100, Jannis Ohms wrote: > > Ok > Are there any reasons Why

Re: [ovs-discuss] custom field in OVS flow rules

2017-02-09 Thread Ben Pfaff
> flow) always go through ovs-vswitchd? > > Best regards, > > Eryk Schiller > > > Quoting Ben Pfaff <b...@ovn.org>: > > >On Wed, Feb 08, 2017 at 10:29:29PM +0100, Eryk Schiller wrote: > >>Dear all, > >> > >>I am writing this

Re: [ovs-discuss] Indirect Control Channel

2017-02-09 Thread Ben Pfaff
On Thu, Feb 09, 2017 at 09:49:11AM -0700, Scott Lowe wrote: > Please see my reply below. > > > On 02/09/2017 08:36 AM, Jannis Ohms wrote: > > I would like to connect my Switches indirect with the controller. To > > achive this i would like to deploy 2 bridges on every switch one to > > provide

Re: [ovs-discuss] OVN how to support firewall or it's develop roadmap

2017-02-09 Thread Ben Pfaff
On Thu, Feb 09, 2017 at 10:49:04PM +0800, multi_t...@163.com wrote: > 1. I need firewall function of OVN, what can i do ? OVN has a distributed firewall. What's wrong with it for your purpose? > 2. I wonder to know OVN's develop roadmap, where can I find it? You can find some items in

Re: [ovs-discuss] OVN how to support firewall or it's develop roadmap

2017-02-09 Thread Ben Pfaff
On Thu, Feb 09, 2017 at 07:18:23PM +0800, 高正伟 wrote: > Hello, OVN support ACL rule to control logical port depend on > conntrack, I wonder to know that how to support firewall function from > router’s view, or please tell me it’s develop roadmap. Can you explain the question in more detail, or

Re: [ovs-discuss] OVS unit tests Windows CI

2017-02-06 Thread Ben Pfaff
On Mon, Feb 06, 2017 at 07:35:55PM +, Alin Serdean wrote: > I would like to announce the availability of the Windows unit tests CI. > > The results of the CI runs can be found at: > http://64.119.130.115/ovs/ > > This will help us maintain the common code base. > At the moment it sends out

Re: [ovs-discuss] upcall first or the next packet first?

2017-02-06 Thread Ben Pfaff
On Mon, Feb 06, 2017 at 05:13:45PM +0800, 杨润垲 wrote: > Dear predecessors, I have a problem. If ovs receives two packets, the > first one is not in the flow table, and the second one is in the flow > table, then the kernel will send the first packet of information to > the userspace. Does the

Re: [ovs-discuss] Does OVN support to set traffic routing rules?

2017-02-03 Thread Ben Pfaff
On Fri, Feb 03, 2017 at 07:52:28PM +, Shuaijun Zhang wrote: > > > > > > > > Message: 2 > > Date: Fri, 3 Feb 2017 09:32:41 -0700 > > From: Scott Lowe > > To: ovs-discuss@openvswitch.org > > Subject: Re: [ovs-discuss] Does OVN support to set traffic routing > >

Re: [ovs-discuss] selective packet mirror

2017-02-03 Thread Ben Pfaff
ic, and definitely > tap0 didn't receive any packet. So, dump the rule and there is no > "output:tap0" action in the flow. > > I am using pretty old version of ovs - which is 2.3.90 - and it may cause > the issue? or any issue on tap0? > > Best regards, > > - yong

Re: [ovs-discuss] ovs-vsctl: Input validation error with 'invalid' strings

2017-02-03 Thread Ben Pfaff
On Fri, Feb 03, 2017 at 11:02:39AM +, Gabor Locsei wrote: > Due to an unitialized script variable, we managed to create a bridge with an > 'empty' name. > > ovs-vsctl threw an error but the object was created nonetheless. I reproduced > the error on different versions. > To avoid

Re: [ovs-discuss] Talk Proprosal: OVN control of the black box.

2017-02-02 Thread Ben Pfaff
On Thu, Feb 02, 2017 at 02:51:19PM -0400, Raymond Burkholder wrote: > > > > I went through Dustin Spinhirne's OVN Tutorial. It helped immensely > > > > in understanding OVS/OVN interactions. And also highlighted some of > > > > the shortcomings. > > > > > > > > Of many, two, possibly related,

Re: [ovs-discuss] selective packet mirror

2017-02-02 Thread Ben Pfaff
On Thu, Feb 02, 2017 at 01:12:02PM -0800, Joo Yong-Seok wrote: > Hi, > > I am wondering is it possible to do "selective" packet mirroring. From > previous question, I learnt how to enable port mirror on OVS port but I > think that I should do "selective" packet mirroring since performance issue.

Re: [ovs-discuss] netdev_linux_update_flags() needs seq_change() ?

2017-02-02 Thread Ben Pfaff
bs during these > weeks. > > I use openvswitch 2.1.2, so no netdev_change_seq_changed() API to be used. > > Could I use seq_change() instead of netdev_change_seq_changed()? > > BR. > > Brandon > > > 2017-02-01 7:14 GMT+08:00 Ben Pfaff <b...@ovn.org>: &

Re: [ovs-discuss] [ovn-controller-vtep] Will ovn-controller-vtep write vtep db

2017-02-02 Thread Ben Pfaff
On Thu, Feb 02, 2017 at 03:02:52PM +, Macauley Cheng wrote: > I try to setup the ovn environment with ovn-controller-vtep. But I found > ovn-controller-vtep won’t write anything to vtep database. > According to OVN architecture document, the tunnel key in ovnsb-db was filled > by

[ovs-discuss] Open vSwitch Open Source Days at OpenStack Summit Boston, May 8-11: call for participation

2017-02-01 Thread Ben Pfaff
[reposted from ovs-announce, apologies to anyone who has already seen this] The Open vSwitch project is participating in Open Source Days at OpenStack Summit Boston. During the summit, Open vSwitch will have dedicated use of a room for a full day. We are seeking participation for talks and

Re: [ovs-discuss] after setting ovs-vsctl set open . external-ids:ovn-encap-ip=, eth0 stops tansmitting any packets in docker container

2017-01-31 Thread Ben Pfaff
ething to the docker eth0 interface > .Again this problem does't happen on a Vm. > > It only happens on a docker container (:. > > Thx > Ritesh > > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Tuesday, January 31, 2017 1:38 PM > To: Ritesh Rek

[ovs-discuss] any help from Python experts? (was: Re: Branch v2.6.1 repo does not make (github))

2017-01-31 Thread Ben Pfaff
Python bindings for Open vSwitch > > Regards, > Logu > > On Sun, Jan 29, 2017 at 10:16 AM Ben Pfaff <b...@ovn.org> wrote: > > Perhaps you have some old version of the Python libraries for Open > vSwitch installed somewhere? In older versions of OVS, the function

<    6   7   8   9   10   11   12   13   14   15   >