Re: [ovs-discuss] Inquiry for DDlog status for ovn-northd

2020-08-25 Thread Ben Pfaff
On Mon, Aug 24, 2020 at 04:28:22PM -0700, Han Zhou wrote: > As I remember you were working on the new ovn-northd that utilizes DDlog > for incremental processing. Could you share the current status? > > Now that some more improvements have been made in ovn-controller and OVSDB, > the ovn-northd

Re: [ovs-discuss] [ovs-dev] there are many error logs when processing igmp packet

2020-08-04 Thread Ben Pfaff
On Tue, Aug 04, 2020 at 11:55:19AM +, Frank Wang(王培辉) wrote: > Hello, > > I found there are many error logs as follows in ovs-vswitchd.log: > Aug 4 18:48:03 node-170 ovs-vswitchd: > ovs|00100|odp_util(handler171)|ERR|internal error parsing flow key >

Re: [ovs-discuss] What is the most efficient way to add many ports to an OVS bridge ?

2020-07-27 Thread Ben Pfaff
On Fri, Jul 24, 2020 at 01:17:36PM +0200, Paul HENG wrote: > I'm working on a project that needs to add a lot of ports to OVS bridges > (from 10 to potentially over 1K ports) and I'm wondering what is the most > time efficient way to add them to the different bridges. At the moment I'm > using a

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-07-21 Thread Ben Pfaff
d on this matter, please let me know. > > Emily > > > > > On Jul 6, 2020, at 3:41 PM, Ben Pfaff wrote: > > > > Thanks for working on this. > > > > Access to the Dropbox folder would be ideal. If we get the slides from > > that then we can drop the whole

Re: [ovs-discuss] Questions about the OVS group table

2020-07-10 Thread Ben Pfaff
; (DP_VPORT_HASH_BUCKETS - 1)]; > } > > Ben Pfaff 于2020年7月11日周六 上午12:21写道: > > > On Fri, Jul 10, 2020 at 03:10:04PM +0800, C C wrote: > > > Hello! I'm a student at USTC. I've been working on projects with OVS > > > recently. I want to know what hash function is used by defau

Re: [ovs-discuss] Questions about the OVS group table

2020-07-10 Thread Ben Pfaff
On Fri, Jul 10, 2020 at 03:10:04PM +0800, C C wrote: > Hello! I'm a student at USTC. I've been working on projects with OVS > recently. I want to know what hash function is used by default for group > select. For example, "ovs-ofctl -O OpenFlow15 add-group br0 group_id=1, > type=select,

Re: [ovs-discuss] Unable to get openvswitch.ko installed (utilities/ovs-dev.py)

2020-07-08 Thread Ben Pfaff
On Wed, Jul 08, 2020 at 02:22:29PM +0200, Stefan Mehner wrote: > Hi there, > > I want to set up my development environment for OVS and found the hint that > ''utilities/ovs-dev.py'' may be useful. > So I followed the instructions provided by "./ovs-dev.py doc" > straightforward. > >

Re: [ovs-discuss] openvswitch port number changes when VM restart

2020-07-06 Thread Ben Pfaff
On Fri, Jun 12, 2020 at 02:13:11PM +0800, 张志博 wrote: > openvswitch port number changes when VM restart. It's a pretty vague question. Can you be more specific? ___ discuss mailing list disc...@openvswitch.org

Re: [ovs-discuss] Question concerning GRE-encapsulated traffic *in* OpenStack provider VLAN network

2020-07-06 Thread Ben Pfaff
On Fri, Jun 26, 2020 at 10:10:47AM +, Loschwitz,Martin Gerhard wrote: > Folks, > > I’m contacting you to find out if a behaviour I see is expected behaviour or > actual misdemeanour in Open vSwitch and/or OVN. I have an OpenStack setup > here that uses OVN. I have configured several

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-07-06 Thread Ben Pfaff
; colleague Rachel who will pitch in where possible. She’s looped into the > Dropbox access request. > > Thanks for your patience while we get to the bottom of this! > > Emily > > Emily Ruf, CMP > Event Manager > The Linux Foundation > > M: 512-745-1456 > E: e...@

Re: [ovs-discuss] different flow actions overlap

2020-07-06 Thread Ben Pfaff
s that call it since there > is only one ovs-vswitchd process, wasn’t expecting this behavior to be > honest. Is having multiple ovs-vswitchd processes a valid solution instead of > hard coding my way though this? > > > From: Ben Pfaff<mailto:b...@ovn.org> > Sent

Re: [ovs-discuss] Multiple instances of the same action

2020-07-06 Thread Ben Pfaff
On Thu, Jul 02, 2020 at 01:14:04PM +, Luca Mancini wrote: > I was wondering if there is a way to have multiple instances of the same > action. For example I implemented a Buffering action as detailed previously in > https://mail.openvswitch.org/pipermail/ovs-discuss/2020-June/050197.html >

Re: [ovs-discuss] different flow actions overlap

2020-07-06 Thread Ben Pfaff
tances of that action, i.e. both store 5 different packets? What > happens is 2 switches that use that buffering action (in two separate flows) > add the packets to the same buffer. > > From: Ben Pfaff<mailto:b...@ovn.org> > Sent: Monday, July 6, 2020 18:33 > To: Luca Ma

Re: [ovs-discuss] different flow actions overlap

2020-07-06 Thread Ben Pfaff
On Mon, Jul 06, 2020 at 11:08:16AM +, Luca Mancini wrote: > Hello, > > I have two different flows on the same switch: > > ovs-ofctl add-flow s1 > in_port=1,dl_type=2048,nw_proto=17,nw_dst=10.0.0.4,action=buffer:3 > ovs-ofctl add-flow s1 >

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-07-01 Thread Ben Pfaff
Thanks! On Wed, Jul 01, 2020 at 11:37:19AM -0400, Trishan de Lanerolle wrote: > Hi Ben, > Emily is chasing this down with Cassandra. > Trishan > > > On Wed, Jul 1, 2020 at 11:32 AM Ben Pfaff wrote: > > > Are you able to log into this LF_OpenvSwitch account?

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-07-01 Thread Ben Pfaff
there has been some turnover in Linux Foundation event management, but if Cassandra is still there then I guess I should have been talking to her the whole time! On Tue, Jun 30, 2020 at 07:59:46AM -0700, Ben Pfaff wrote: > That's fine. Please ask them. > > I'm furious with SlideShare. T

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-06-30 Thread Ben Pfaff
On Mon, Jun 29, 2020 at 10:58:41PM -0400, Emily Ruf wrote: > For the case response: The email address The email address would be either > openvswi...@linuxfoundation.org or > eve...@openvswitch.org . As far as I know,

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-06-30 Thread Ben Pfaff
mail address The email address would be either > >> openvswi...@linuxfoundation.org <mailto:openvswi...@linuxfoundation.org> > >> or eve...@openvswitch.org <mailto:eve...@openvswitch.org>. > >> > >> > >> Emily Ruf, CMP > >> Event Manag

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-06-29 Thread Ben Pfaff
are - but > Archive.org will provide hosting so long as the licence is permissive > copyleft. > > LCA (Linux Conf Australasia) uses archive.org along with popular platforms > (i.e Youtube) to provide archival of slides and videos. > > -Joel > > On Tue, 30 Jun 2

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-06-29 Thread Ben Pfaff
ave access to the account, then maybe you can find out more. On Fri, Jun 26, 2020 at 01:06:30PM -0700, Ben Pfaff wrote: > OK! That's a good start. Thanks! > > On Fri, Jun 26, 2020 at 03:57:20PM -0400, Emily Ruf wrote: > > Hi Ben, > > > > Before we head into the weekend, I wan

[ovs-discuss] copyright infringement claim against "Trouble-shooting the Data Plane in OVS"

2020-06-29 Thread Ben Pfaff
Hi Jan and Rohith. LinkedIn took down all of the slides from the Open vSwitch 2017 Conference because someone alleged copyright infringement against your slides. Does this make any sense to you? I don't have a copy of the slides (because they were on SlideShare only). Can you pass them along?

Re: [ovs-discuss] OVSDB Error:Type mismatch for member 'uuid-name

2020-06-26 Thread Ben Pfaff
On Fri, Jun 26, 2020 at 06:10:09PM -0400, Vasu Dasari wrote: > Hi, > > I am seeing a strange error. Can someone see if this ia bug or I am using > this wrong? > > The following transaction is successful > > root@ovs1:~# ovsdb-client transact ' > [ > "Open_vSwitch", > { > "op": "insert",

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-06-26 Thread Ben Pfaff
we need to take to reinstate the account. > > I’ll update you once I have more details to share. > > Emily Ruf, CMP > Event Manager > The Linux Foundation > > M: 512-745-1456 > E: e...@linuxfoundation.org > > > > > On Jun 24, 2020, at 9:10 PM, Be

Re: [ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-06-24 Thread Ben Pfaff
456 > E: e...@linuxfoundation.org > > > > > On Jun 24, 2020, at 5:29 PM, Ben Pfaff wrote: > > > > Hi Emily. I think that you represent Linux Foundation regarding event > > planning; at least, I see that I've had email conversations with you > > b

[ovs-discuss] Linux Foundation slideshare - OVS 2017

2020-06-24 Thread Ben Pfaff
Hi Emily. I think that you represent Linux Foundation regarding event planning; at least, I see that I've had email conversations with you before in this respect. In 2017 the Open vSwitch project contracted with Linux Foundation to produce the Open vSwitch conference. As part of that, LF posted

Re: [ovs-discuss] #ovscon week of Dec. 7

2020-06-23 Thread Ben Pfaff
d, some that might ring a bell are the following: > IEEE Bigdata > IEEE Cloudcom > IEEE HPCC > > I hope this help. > > Cheers, > Levi > > > > On Tue, 2020-06-23 at 11:35 -0700, Ben Pfaff wrote: > > We're talking about holding the Open vSwitch and

[ovs-discuss] #ovscon week of Dec. 7

2020-06-23 Thread Ben Pfaff
We're talking about holding the Open vSwitch and OVN conference the week of Dec. 7. Does anyone know of a reason that's a bad week (such as other conferences that attendees are also likely to want to attend)? Thanks, Ben. ___ discuss mailing list

[ovs-discuss] OVN mailing lists via Gandi?

2020-06-23 Thread Ben Pfaff
The question came up in the Red Hat/VMware call this morning of whether Gandi has built-in support for mailing lists. (I don't have a list of everyone in the meeting so I'm just sending this To: everyone I could think of off-hand.) If so, then it would make sense to use them for OVN mailing

Re: [ovs-discuss] Storing xlate_ctx CTX [solved]

2020-06-19 Thread Ben Pfaff
ose hope though and I can’t really. > Thanks for the suggestions, I’ll keep working on it and update if I manage to > come up with something > > From: Ben Pfaff<mailto:b...@ovn.org> > Sent: Thursday, June 18, 2020 00:29 > To: Luca Mancini<mailto:luca.manc...@outlook.com> &

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
t I still have the problem of sending the packets stored inside the > buffered packet (once extracted) to “normal”? > > > From: Ben Pfaff<mailto:b...@ovn.org> > Sent: Wednesday, June 17, 2020 23:54 > To: Luca Mancini<mailto:luca.manc...@outlook.com> > Cc: ovs-discuss@ope

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
you mean passing "normal” to the set of actions before buffering > the packet? > > > From: Ben Pfaff<mailto:b...@ovn.org> > Sent: Wednesday, June 17, 2020 23:17 > To: Luca Mancini<mailto:luca.manc...@outlook.com> > Cc: ovs-discuss@openvswitch.org<mailto

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
ing through the switch’s > available ports and flooding the single packets, but this is very ugly let > alone inefficient in bigger topologies. > > > From: Ben Pfaff<mailto:b...@ovn.org> > Sent: Wednesday, June 17, 2020 22:45 > To: Luca Mancini<mailto:luca.manc...@outlook.

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
d like to send the single packets received by a switch (after > storing them) to the NORMAL logical port, or even just resubmit them to the > flow tables so they can match another flow, and all the functions that do > these things necess struct xlate_ctx. > > Thanks! > >

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
On Wed, Jun 17, 2020 at 03:13:27PM +, Luca Mancini wrote: > Are there ways in OVS store a struct xlate_ctx *ctx so that I can use > it even after another packet is received by the switch? No. ___ discuss mailing list disc...@openvswitch.org

Re: [ovs-discuss] Error messages in ovsdb-server log

2020-06-11 Thread Ben Pfaff
On Thu, Jun 11, 2020 at 05:27:01PM -0400, Vasu Dasari wrote: > 19665ac0-ba46-4bcf-83b6-ce5b93c23987 > Manager "tcp:172.26.0.2:6653" > Bridge "br0" > Controller "tcp:172.26.0.2:6653" > fail_mode: secure > Port "br0" > Interface "br0" >

Re: [ovs-discuss] options for OVN mailing lists, with a survey

2020-06-10 Thread Ben Pfaff
On Wed, Jun 10, 2020 at 12:18:07PM -0700, Han Zhou wrote: > I think it is acceptable, if anyone can subscribe. Yes, of course. ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

[ovs-discuss] options for OVN mailing lists, with a survey

2020-06-10 Thread Ben Pfaff
Hi! TL;DR: please answer the simple question at the end of the email. Since Open vSwitch and OVN are now separate projects, it would be a good idea to separate their mailing lists as well. This is easier said than done for at least two reasons: * Mailing lists are troublesome to manage

Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread Ben Pfaff
on a controller to be honest, however, do you not think > its doable at all in OVS? > > Cheers, > > Luca > > From: Ben Pfaff<mailto:b...@ovn.org> > Sent: Friday, June 5, 2020 21:32 > To: Luca Mancini<mailto:luca.manc...@outlook.com> > Cc: Gregory Rose<

Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread Ben Pfaff
On Fri, Jun 05, 2020 at 05:56:54PM +, Luca Mancini wrote: > Basically, I’m implementing a custom action which is meant to buffer > an x amount of dp_packets that match a certain flow, and then send a > new packet directly from the switch, containing the buffer of packets, > as its payload. At

Re: [ovs-discuss] Vlan transparency in OVN

2020-06-02 Thread Ben Pfaff
On Tue, Jun 02, 2020 at 01:25:05PM +0200, Slawek Kaplonski wrote: > Hi, > > I work in OpenStack Neutron mostly. We have there extension called > "vlan_transparent". See [1] for details. > Basically it allows to send traffic with vlan tags directly to the VMs. > > Recently I was testing if that

Re: [ovs-discuss] [TC] Request for changes to netlink message population for OVS-TC Flower Offload

2020-05-29 Thread Ben Pfaff
This seems like something for Simon to look at. On Fri, May 29, 2020 at 04:56:11PM +0530, K Chandra wrote: > OVS-TC offload sends only fields that are not completely masked out to the > TC kernel module. Some of the hardware we work with requires all fields > extracted from the packet along with

Re: [ovs-discuss] flow match reg0=1 is not working

2020-05-27 Thread Ben Pfaff
On Wed, May 27, 2020 at 08:55:20PM +, Miroslav Kubiczek wrote: > Datapath actions: >

Re: [ovs-discuss] flow match reg0=1 is not working

2020-05-27 Thread Ben Pfaff
On Wed, May 27, 2020 at 11:24:24AM +0200, Miroslav Kubiczek wrote: > I'd like to configure flows to use different table based on packet size. I > have configured the flows like this: > > #ovs-ofctl dump-flows br0 > ... > cookie=0x0, table=0, priority=2 >

Re: [ovs-discuss] [OVN] Questions on the processes and code from a prospective contributor

2020-05-22 Thread Ben Pfaff
On Fri, May 22, 2020 at 07:17:14PM +0100, Gabriele Cerami wrote: > Thanks for the quick answer > > On 22 May, Ben Pfaff wrote: > > It's been discussed a couple of times, but with no strong > > conclusion. The biggest issue with email is that mailing lists are h

Re: [ovs-discuss] [OVN] Questions on the processes and code from a prospective contributor

2020-05-22 Thread Ben Pfaff
On Fri, May 22, 2020 at 04:23:41PM +0100, Gabriele Cerami wrote: > 1) Code review is done on email. I suppose that may there be a bot that > interprets the tags added to commit messages and automates some tasks, > and maybe being independent from any organization is the main drive for > this, but

Re: [ovs-discuss] OVERLAPPING DP_PACKETS ctx->xin->payload

2020-05-21 Thread Ben Pfaff
oad until it reaches “\n” is > the best solution I could come up with, but obviously this presents a mistake > since it will cut packets that have a newline string in them. To continue > developing my buffering action I need the full correct packet, do you see any > other solution? > &g

Re: [ovs-discuss] It doesn't work when Packet-Out to a Group and in_port=Controller, where the type of group is "select".

2020-05-21 Thread Ben Pfaff
On Thu, May 21, 2020 at 10:50:21PM +0800, 陳奕任 wrote: > Hello, > > > What you did that make the problem appear. > I use Ryu as the OpenFlow controller. > I try to use Packet-Out with Actions=ActionGroup(1) and in_port=Controller, > where the type of group 1 is "select". > There is only

Re: [ovs-discuss] error parsing actions "reg0 = 0; handle_dhcpv6_reply; ": Syntax error at `handle_dhcpv6_reply' expecting action

2020-05-21 Thread Ben Pfaff
On Thu, May 21, 2020 at 11:53:52AM +0100, Brendan Doyle wrote: > Hi Folks, > > > Sorry if this has already been flagged, or is a non issue, but I'm seeing > lots of these > error messages in ovn-controller.log: > > 2020-05-21T10:48:23.937Z|00080|lflow|WARN|Dropped 1 log messages in last 758 >

Re: [ovs-discuss] OVERLAPPING DP_PACKETS ctx->xin->payload

2020-05-21 Thread Ben Pfaff
On Thu, May 21, 2020 at 01:28:37PM +, Luca Mancini wrote: > Hi, > I found out while debugging my new action that ovs overlaps incoming packet > payloads and I haven’t found a fix for this. I can’t tell if it’s an OVS bug > or if I’m doing something wrong. > > Basically once do_xlate_actions

Re: [ovs-discuss] Automation

2020-05-20 Thread Ben Pfaff
about doing that in a programmatic > perspective? My goal is to abstract some of the OvS configuration away from > my users. > > -Original Message- > From: Ben Pfaff > Sent: Wednesday, May 20, 2020 12:33 PM > To: Heim, Dennis > Cc: ovs-discuss > Subject: Re: [ovs-

Re: [ovs-discuss] packet size

2020-05-20 Thread Ben Pfaff
On Wed, May 20, 2020 at 02:10:02PM +, Miroslav Kubiczek wrote: > Is it possible to setup flow to perform different action if UDP packet size > has certain value? There's the check_pkt_larger action. See ovs-actions(7). ___ discuss mailing list

Re: [ovs-discuss] Automation

2020-05-20 Thread Ben Pfaff
On Wed, May 20, 2020 at 01:25:17AM +, Heim, Dennis wrote: > I am running OvS ontop of Centos. What automation/provisioning > mechanisms are available with OvS? I need to configure VXLAN, VLANs, > etc. OVS was invented for automation. You can use OVSDB and OpenFlow to configure it.

Re: [ovs-discuss] flows matching specified bytes in udp payload

2020-05-20 Thread Ben Pfaff
On Tue, May 19, 2020 at 07:35:15PM +0200, michal.bella...@gmail.com wrote: > Hi, > > while I'm doing a research around docs and code of OVS, is there, > please, any way how > I can instruct OVS to process UDP traffic with logic > like "udp[0]=='\x05' && udp[3]=='\x10'" > and forward via a table ?

Re: [ovs-discuss] OVS custom action

2020-04-28 Thread Ben Pfaff
On Sat, Apr 25, 2020 at 08:29:24AM +, Luca Mancini wrote: > Hi Ben, > Firstly thank you for the swift response, > In order to get a better understanding of what I was doing (I’ve starting > working with openvswitch a week ago) I tried defining an action called > OFPAT_RAW_BUFFER (that did

Re: [ovs-discuss] OVS custom action

2020-04-24 Thread Ben Pfaff
On Fri, Apr 24, 2020 at 02:50:43PM +, Luca Mancini wrote: > I am trying to implement a new openflow action on an openvswitch, that upon > request by the controller buffers a given packet. > > So assume a topology like H1—s1--s2—H2 where h1 sends packets to h2, the > controller would specify

Re: [ovs-discuss] [ovn]OVN weekly meeting logs

2020-03-27 Thread Ben Pfaff
On Fri, Mar 27, 2020 at 02:23:13PM +0530, Numan Siddique wrote: > You can find yesterday's OVN weekly meeting logs here - > http://eavesdrop.openstack.org/meetings/ovn_community_development_discussion/2020/ovn_community_development_discussion.2020-03-26-17.13.log.txt Thanks for passing that

Re: [ovs-discuss] Monitor Switch to Controller Traffic

2020-03-23 Thread Ben Pfaff
On Mon, Mar 23, 2020 at 08:40:55PM -0700, Brian Perry wrote: > Environment 1 Results: > When running Wireshark on the loopback interface and the br0 interface I > was unable to find any OpenFlow messages when using flow table commands > like: > ovs-ofctl dump-flows br0 > > Looking through various

Re: [ovs-discuss] [OVN] Logging IRC meetings

2020-03-20 Thread Ben Pfaff
On Fri, Mar 20, 2020 at 06:07:29PM +0100, Daniel Alvarez Sanchez wrote: > Hi folks, > > 17:58:31--> | openstack (~openstack@openstack/openstack) has joined > #openvswitch > > We have the bot now ready to log the meetings :)!!! > Ideally this should be just for OVN meetings. Please, refer

Re: [ovs-discuss] ovs-vswitchd is dropping packets injected by controller during upcall

2020-03-19 Thread Ben Pfaff
On Fri, Mar 13, 2020 at 04:14:33PM +0530, Numan Siddique wrote: > Hi Ben, > > Its regarding the issue I mentioned in yesterday's meeting. > > What's the issue: > --- > - ovs-vswitchd is dropping packet during upcall - if the packet was > generated by ovn-controller (or any

Re: [ovs-discuss] How to implement nat elegantly on 2.5.x

2020-03-19 Thread Ben Pfaff
On Sat, Mar 14, 2020 at 11:57:09AM +0800, a* wrote: > The most recent release from the LTS series: 2.5.9, but it does not support > ct action. > Which version do I need to upgrade to and that version is stable and will be > maintained in the future? OVS does not have a newer LTS release.

Re: [ovs-discuss] [OVN] VPN IPsec and Wireguard

2020-03-19 Thread Ben Pfaff
On Thu, Mar 19, 2020 at 08:34:10AM +, Engelmann Florian wrote: > are there any plans to support any VPN technology with OVN like IPsec > or Wireguard? OVN supports IPsec. ___ discuss mailing list disc...@openvswitch.org

Re: [ovs-discuss] VXLAN support for OVN

2020-03-13 Thread Ben Pfaff
Hi! I'm adding Leonid Grossman to this thread because I believe that his team at nVidia has an internal fork of OVN that supports VXLAN. I've discussed the tradeoffs that you mentioned below about splitting up bits with him, too. On Mon, Mar 09, 2020 at 09:22:24PM -0400, Ihar Hrachyshka wrote: >

Re: [ovs-discuss] How to implement nat elegantly on 2.5.x

2020-03-13 Thread Ben Pfaff
On Fri, Mar 13, 2020 at 03:48:50PM +0800, a* wrote: > Is there any good way to implement nat in ovs 2.5.x? > I thought of the following two options, but I don't think it is the most > ideal solution. > 1. iptables + ovs bridge ( Performance loss ) > 2. All the flows that were normally

Re: [ovs-discuss] A Drop rule with less priority is served before a normal rule with higher priority

2020-03-10 Thread Ben Pfaff
On Tue, Mar 10, 2020 at 09:49:02PM +0100, Oliver Dzombic wrote: > Hi folks, > > why does this drop rule, with lower priority, is served before the > normal rule ? > > > cookie=0x0, duration=1309.733s, table=0, n_packets=792, n_bytes=34414, > priority=1000,dl_src=16:ec:3d:6e:f4:b9 actions=drop

Re: [ovs-discuss] How to know lifetime of each matched flow?

2020-03-07 Thread Ben Pfaff
of each flow with just the total number of > bytes and packets in the output of dump-flows? If you want to install a pair of flow entries for each connection, you can do that. It doesn't scale well to large numbers of connections because of the burden of installing all the flows. > Ben Pfaff 于20

Re: [ovs-discuss] [OVN] Logging IRC meetings

2020-03-06 Thread Ben Pfaff
On Fri, Mar 06, 2020 at 04:09:41PM +0100, Daniel Alvarez Sanchez wrote: > In OpenStack we use Meetbot [0] to log the IRC meetings and it'll generate > the minutes afterwards that we can send after the meeting to the ML index > them in the website (coming up!). > > @Ben, as founder of the

Re: [ovs-discuss] How to know lifetime of each matched flow?

2020-03-06 Thread Ben Pfaff
On Fri, Mar 06, 2020 at 08:27:38PM +0800, Su Jinzhao wrote: > I noticed that for each flow entry or meter, there are n_bytes, n_pkts, > duration field with the output of dump-flows or meter-stats command. I know > that the duration field for a flow entry is the time since it installed in > the

Re: [ovs-discuss] [OVN] Multiple localnet ports on a single Logical Switch

2020-03-06 Thread Ben Pfaff
On Fri, Mar 06, 2020 at 02:36:00PM +0100, Daniel Alvarez Sanchez wrote: > Thanks a lot for your answer, Ben. > > On Thu, Mar 5, 2020 at 9:21 PM Ben Pfaff wrote: > > > On Wed, Mar 04, 2020 at 04:01:22PM +0100, Daniel Alvarez Sanchez wrote: > > > As a possible al

Re: [ovs-discuss] [OVN] Multiple localnet ports on a single Logical Switch

2020-03-05 Thread Ben Pfaff
On Wed, Mar 04, 2020 at 04:01:22PM +0100, Daniel Alvarez Sanchez wrote: > As a possible alternative, we could support multiple localnet ports on the > same Logical Switch. In the first place, we can assume that on a particular > hypervisor, we're not going to have ports bound to multiple segments

Re: [ovs-discuss] OVN: Delay in handling unixctl commands in ovsdb-server

2020-02-13 Thread Ben Pfaff
On Wed, Feb 12, 2020 at 11:27:18PM +0530, Numan Siddique wrote: > Hi Ben/All, > > In an OVN deployment - with OVN dbs deployed as active/standby using > pacemaker, we are seeing delays in response to unixctl command - > ovsdb-server/sync-status. > > Pacemaker periodically calls the OVN pacemaker

Re: [ovs-discuss] ovs-monitor-ipsec does not start

2020-02-07 Thread Ben Pfaff
On Fri, Feb 07, 2020 at 10:09:05PM +, Bockhorst, Lucas Benedikt wrote: > I was using the debian packages. But I found there were some build > errors in 2.13. I reloaded version 2.11 and ran the commands > again. With version 2.11 all works fine. So, I guess there are some > bugs on 2.13 still.

Re: [ovs-discuss] ovs-monitor-ipsec does not start

2020-02-07 Thread Ben Pfaff
On Fri, Feb 07, 2020 at 07:03:34AM +, Bockhorst, Lucas Benedikt wrote: > >> I'm trying to use the GRE tunnel in OVS with IPsec. > >> After following the documentation with version 2.13.90 IPsec should work > >> with GRE. > >> However, if I try to use > >> > >> "ovs-appctl -t ovs-monitor-ipsec

Re: [ovs-discuss] ovs-monitor-ipsec does not start

2020-02-06 Thread Ben Pfaff
On Wed, Feb 05, 2020 at 12:14:23PM +, Bockhorst, Lucas Benedikt wrote: > I'm trying to use the GRE tunnel in OVS with IPsec. > After following the documentation with version 2.13.90 IPsec should work with > GRE. > However, if I try to use > > "ovs-appctl -t ovs-monitor-ipsec tunnel/show" >

Re: [ovs-discuss] Question about ovs-ofctl otp-print action

2020-02-06 Thread Ben Pfaff
On Thu, Feb 06, 2020 at 06:14:43PM +0800, txfh2007 via discuss wrote: > Hi all: > Here is a question about ofp-print command. I have found after running > the same ovs-ofctl ofp-print command for multiple times, the > output would be strange. like below(dl_vlan has been changed), Could

Re: [ovs-discuss] Disable EMC/Microflow Cache in OVS Kernel Datapath

2020-01-31 Thread Ben Pfaff
On Fri, Jan 24, 2020 at 12:38:57PM +0800, Vipul Ujawane wrote: > I am running OVS with kernel data path, and I was wondering whether it is > possible to switch the EMC/Microflow cache off (as it is possible with DPDK > data path). I was testing the performance of OVS and I tried one installed >

Re: [ovs-discuss] Update data-type of a column in OVN-SB

2020-01-23 Thread Ben Pfaff
On Wed, Jan 22, 2020 at 01:36:43AM +, Dhathri Purohith wrote: > We have a requirement to update the datatype of a column in > OVN-SB. However, this is not straight-forward. I don't think you're actually changing the data type of a column. Your description does not include any schema change

Re: [ovs-discuss] OVN charter

2020-01-21 Thread Ben Pfaff
he OVS Charter, > and it's not obvious to me what it is. > > We should probably have the OVS and OVN TSCs each vote on the OVN charter. > > --Justin > > > > On Jan 16, 2020, at 4:18 PM, Ben Pfaff wrote: > > > > There was some question in the OVN

Re: [ovs-discuss] Open vSwitch with Xen Server?

2020-01-09 Thread Ben Pfaff
e that a go initially and see how the two pieces of software > interact. There seems to be very little up-to-date, authoritative and > accurate information online about on how these different pieces of software > work together. > > > > From: Ben

Re: [ovs-discuss] Megaflow Inspection

2020-01-07 Thread Ben Pfaff
Well, those particular fields are always present in the megaflow, see xlate_wc_init(): /* Some fields we consider to always be examined. */ WC_MASK_FIELD(ctx->wc, packet_type); WC_MASK_FIELD(ctx->wc, in_port); WC_MASK_FIELD(ctx->wc, dl_type); if (is_ip_any(>xin->flow)) {

Re: [ovs-discuss] Megaflow Inspection

2020-01-07 Thread Ben Pfaff
On Tue, Jan 07, 2020 at 10:44:57PM +0200, Matan Rosenberg wrote: > Acutally, I do think I have a megaflow (or other caching) issue. > > We use OVS for L2 packet forwarding; that is, given a packet, we don't need > OVS to look at other protocols beyond the Ethernet layer. > Additionally, we use

Re: [ovs-discuss] Using OVS as a stateful firewall

2020-01-06 Thread Ben Pfaff
On Sat, Jan 04, 2020 at 03:40:32PM -0500, Noah Everett wrote: > I'm trying to use OVS as a stateful firewall for all the VMs connected to a > OVS bridge. I'm trying to use the conntrack feature to achieve this based > off examples I've put together, but have yet to make it work fully. > > My end

Re: [ovs-discuss] Match fields in PACKET_IN message

2020-01-02 Thread Ben Pfaff
On Mon, Dec 30, 2019 at 12:26:46PM +, �� ��ȫ wrote: > I notice that there are not any other 'match fields' in the PACKET_IN message > except IN_PORT. > > For example, > table=0,priority=0,icmp actions=controller > > I expected IP_PROTO=icmp match field in the PACKET_IN message but IP_PROTO

Re: [ovs-discuss] Megaflow Inspection

2019-12-18 Thread Ben Pfaff
On Wed, Dec 18, 2019 at 04:26:09PM +0200, Matan Rosenberg wrote: > Hey, > I'm using ovs for L2 tunneling (across lots of endpoints and several ovs > nodes), and experiencing some unexpected performance issues (can't get more > that a couple thousand packets/s on rather beefy servers). > > I've

Re: [ovs-discuss] [External] Re: About the hash of the group

2019-12-16 Thread Ben Pfaff
_id, actions=resubmit(, 75)” > > > > Thanks. > > > > > 在 2019年12月17日,05:32,Ben Pfaff 写道: > > > > On Mon, Dec 16, 2019 at 06:49:47PM +0800, 贾乘 wrote: > >> I have one question about the hash of the group. From the doc, > >> > >> >

Re: [ovs-discuss] SSL Technical Documentation

2019-12-13 Thread Ben Pfaff
On Fri, Dec 13, 2019 at 03:00:34PM +, Ali Akbar Mohammadi wrote: > I am Ali Akbar Mohammadi from University of Innopolis. I have the plan > to work on your project. I ask for your technical documentation about > SSL connection maintained by OVS. I would appreciate if you provide me > technical

Re: [ovs-discuss] Metadata 0 in flow struct

2019-12-04 Thread Ben Pfaff
On Mon, Dec 02, 2019 at 04:41:34PM -0800, Nick wrote: > I'm trying to export metadata as an extra field for IPFIX export and I've > added the logic to the `ofproto-dpif-ipfix.c` file but the `flow->metadata` > value that I'm setting is always zero. I set metadata in table 0 with >

Re: [ovs-discuss] OVSDB Managers vs. ovsdb-server

2019-11-29 Thread Ben Pfaff
On Fri, Nov 29, 2019 at 11:54:13AM +0200, Matan Rosenberg wrote: > I'm tying to understand what ovsdb managers actually do. > > Say that I have two OVS hosts, each with its own ovs-vswitchd and > ovsdb-server. > Both OVS hosts are logically related, and I want to control them from a > single,

Re: [ovs-discuss] OVS virtual devices and network namespaces

2019-11-26 Thread Ben Pfaff
On Tue, Nov 26, 2019 at 09:23:58AM +0100, Maksym Planeta wrote: > I want to configure OVS to communicate between containers. I configure OVS > and see it creating some additional interfaces, like gre, or system. But > when I create a container with an isolated network namespace these devices > are

Re: [ovs-discuss] ip_frag=yes doesn't seem to work while tracing

2019-11-22 Thread Ben Pfaff
On Fri, Nov 22, 2019 at 10:39:08AM -0500, Nicolas Bouliane via discuss wrote: > Hello folks, > > I'm trying to figure out why I can't specify `ip_frag=yes` here > > # ovs-appctl ofproto/trace br0 > icmp,in_port=5,metadata=0x0,dl_src=22:33:44:12:34:56,dl >

Re: [ovs-discuss] [ovs-dev] [bug-report] Check Python IDL reconnects to leader unit case failed on arm64

2019-11-21 Thread Ben Pfaff
On Thu, Nov 21, 2019 at 07:54:09AM +, Lance Yang (Arm Technology China) wrote: > Hi, > I encountered an issue when I was running testsuite on Arm. > The system I tested on was an arm server running Ubuntu 18.04.3 LTS > (GNU/Linux 4.15.0-65-generic aarch64). > After I downloaded the

Re: [ovs-discuss] Re: Re:Re: [HELP] Question about icmp pkt marked Invalid by userspace conntrack

2019-11-21 Thread Ben Pfaff
On Thu, Nov 21, 2019 at 05:02:54PM -0800, Ben Pfaff wrote: > On Mon, Nov 11, 2019 at 03:58:14PM +0800, txfh2007 wrote: > > Hi Darrell: > > > > I have tried to manual set flow table and meter action, to arrange > > meter action at the end of the flow pipe

Re: [ovs-discuss] Re: Re:Re: [HELP] Question about icmp pkt marked Invalid by userspace conntrack

2019-11-21 Thread Ben Pfaff
On Mon, Nov 11, 2019 at 03:58:14PM +0800, txfh2007 wrote: > Hi Darrell: > > I have tried to manual set flow table and meter action, to arrange meter > action at the end of the flow pipeline(just before the output action), and > delete conntrack related actions. But the iperf result is also

Re: [ovs-discuss] Reg error when submitting patch.

2019-11-21 Thread Ben Pfaff
nk you Ben, i will do that. I just followed the instructions > provided in the documentation. > Thanks > Krishna > > On Thu, Nov 21, 2019 at 4:39 PM Ben Pfaff wrote: > > > > On Thu, Nov 21, 2019 at 11:46:40AM -0800, Krishna Kolakaluri wrote: > > > Hi All, > >

Re: [ovs-discuss] Reg error when submitting patch.

2019-11-21 Thread Ben Pfaff
On Thu, Nov 21, 2019 at 11:46:40AM -0800, Krishna Kolakaluri wrote: > Hi All, > I submitted two patches to ovs-dev and I get an error saying > git-am "fatal: patch fragment without header at line 6". Can somebody > help me what is wrong here. > > I used git format-patch as described in

Re: [ovs-discuss] Custom template fields with IPFIX

2019-11-21 Thread Ben Pfaff
is require? I was > thinking of implementing this as we need it for a project but I'm unsure > how much time it would take. Please let me know your thoughts on this, > thank you. > > On Wed, Nov 20, 2019, 3:30 PM Ben Pfaff wrote: > > > On Tue, Nov 12, 2019 at 10:55:02A

Re: [ovs-discuss] regarding trunc feature changes for OVS_ACTION_ATTR_USERSPACE

2019-11-20 Thread Ben Pfaff
On Tue, Nov 12, 2019 at 01:36:09PM +0530, bindiya Kurle wrote: > Hi , > i am not getting reason,why highlighted code is added for > OVS_ACTION_ATTR_USERSPACE. > What purpose it serves. > This code got added as part of feature "ofp-actions: Add truncate > action. The patch adds a new action to

Re: [ovs-discuss] Custom template fields with IPFIX

2019-11-20 Thread Ben Pfaff
On Tue, Nov 12, 2019 at 10:55:02AM -0800, Nick wrote: > I'm trying to setup custom IPFIX export field that include a custom > metadata field loaded from the ovs flow register. I have successfully setup > ipfix sampling with a flow sample action but I can't get a custom field to > be exported.

Re: [ovs-discuss] skipping output to input port

2019-11-20 Thread Ben Pfaff
On Tue, Nov 12, 2019 at 04:27:19PM -0500, Nicolas Bouliane via discuss wrote: > Sometimes, icmpv6 neighbor advertisement packets are being sent out of the > hypervisor without their VLAN tag. It seems to only happens when the icmpv6 > is sent to a multicast address. That doesn't happen to every

Re: [ovs-discuss] Stack implication of OVS group action

2019-11-20 Thread Ben Pfaff
On Tue, Nov 19, 2019 at 01:05:23PM -0800, Han Zhou wrote: > In the ovs-actions man page it is mentioned that: > >Sometimes saving and restoring the packet and metadata can be > undesirable. In these situations, workarounds are possible. For example, > consider a pipeline design in

Re: [ovs-discuss] ./boot.sh is not working for me

2019-11-20 Thread Ben Pfaff
On Wed, Nov 20, 2019 at 02:06:38PM +, Pele, Liat (Nokia - IL/Kfar Sava) wrote: > Hi, > My name is Liat Pele. I am a developer in Nokia IL > I am trying to test a POC with OVS and would like to change some of its code. > > I did git clone : > git clone https://github.com/openvswitch/ovs.git

<    1   2   3   4   5   6   7   8   9   10   >