Re: [ovs-discuss] OVS

2019-03-20 Thread Ben Pfaff
vS and will > update you on that tomorrow. > > - > Keerthana > > On Wed, 20 Mar 2019 21:36 Ben Pfaff, wrote: > > > I'd suggest upgrading. Open vSwitch 2.7.0 is too old. Even within the > > 2.7.x series, the latest version is 2.7.8. It is a waste of our time to >

Re: [ovs-discuss] replace the openvswitch.ko without losing the bridge interface's configuration

2019-03-20 Thread Ben Pfaff
On Wed, Mar 20, 2019 at 07:02:41AM +, pei Jikui wrote: > When I replace the openvswitch.ko with a new modified one, the configuration > on the bridge such as br0 is lost. I need to reconfigure its ip address and > bring it up again manually. > > Is there any alternative that we could replac

Re: [ovs-discuss] OVS

2019-03-20 Thread Ben Pfaff
> 0278e2a3-3c9f-4102-9449-65e3710cb5ad > ovs_version: "2.7.0" > > - > Keerthana > > > On Wed, Mar 20, 2019 at 6:56 AM Ben Pfaff wrote: > > > On Tue, Mar 19, 2019 at 05:19:42PM +0530, Ammu wrote: > > > > > https://stackoverflo

Re: [ovs-discuss] OVS

2019-03-19 Thread Ben Pfaff
On Tue, Mar 19, 2019 at 05:19:42PM +0530, Ammu wrote: > https://stackoverflow.com/questions/55223517/allow-df-not-to-be-set-on-gre-vxlan-tunnels That question reads: I have created a bridge with a tunnel interface(be it either vxlan/gre) and an internal interface. When incoming packets ge

Re: [ovs-discuss] Latest maintenace release not announced or available for download

2019-03-19 Thread Ben Pfaff
asking. I do see them in the relases section in > github. > > BR > Jaime. > > > -Original Message- > From: Ben Pfaff > To: jcaam...@suse.de > Cc: ovs-discuss@openvswitch.org > Subject: Re: [ovs-discuss] Latest maintenace release not announced or > avai

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-18 Thread Ben Pfaff
Did you try compiling with Address Sanitizer yet? It is just as effective as valgrind at finding leaks, but it slows the process much less than valgrind does, so it is less likely to change behavior due to timing issues. On Mon, Mar 18, 2019 at 07:36:06AM +, Fernando Casas Schössow wrote: > A

Re: [ovs-discuss] 回复: a question regarding to tap internal interface

2019-03-18 Thread Ben Pfaff
indicates that the type of interface is internal. That > confuses me much. > >I am thinking that the tap interface is for the name of the interface > instead of the type of the interface? > > Thanks > > > > > > > > > 发送自 Outlook<http

Re: [ovs-discuss] When the controller is disconnected, if you update the port immediately, the ovs will crash.

2019-03-18 Thread Ben Pfaff
There have been fixes in this area. Try the tip of branch-2.10 instead of the 2.10.0 release. On Sun, Mar 17, 2019 at 10:31:40AM +0800, 贾乘 wrote: > It is OVS 2.10 . > > > 在 2019年3月16日,上午7:12,Ben Pfaff 写道: > > > > On Tue, Mar 12, 2019 at 08:34:39PM +080

Re: [ovs-discuss] Latest maintenace release not announced or available for download

2019-03-18 Thread Ben Pfaff
On Mon, Mar 18, 2019 at 12:09:07PM +0100, Jaime Caamaño Ruiz wrote: > Is there any reason why the latest maintenance releases have not been > announced yet and are not available for download at the usual URL > > https://www.openvswitch.org/releases/ What versions are missing?

Re: [ovs-discuss] a question regarding to tap internal interface

2019-03-16 Thread Ben Pfaff
On Sat, Mar 16, 2019 at 11:24:34AM +, pei Jikui wrote: > hi, > > 1) From the openstack documents, we know that for the tenant's dhcp > functionality, the usage is to connect a dhcp netns to the ovs using a tap > interface. > At the same time, the ovs-vsctl show that the tap interface is a ty

Re: [ovs-discuss] Core dumps generated when running ovs tests in parallel

2019-03-15 Thread Ben Pfaff
On Sat, Mar 16, 2019 at 09:56:49AM +0530, Numan Siddique wrote: > On Sat, Mar 16, 2019, 2:28 AM Ben Pfaff wrote: > > > On Sat, Mar 16, 2019 at 12:28:31AM +0530, Numan Siddique wrote: > > > On my Fedora 29 when ever I run all the ovs tests with "-j5", I see few

Re: [ovs-discuss] 答复: ping6 delay shaking with nd_target

2019-03-15 Thread Ben Pfaff
time. A few minutes later, ping6 delay suddenly bigger than 0.3ms, and > after one or two packets, ping6 delay is between 0.05ms and 0.1ms again. The > time interval of ping6 delay suddenly increase has no rules. > > -----邮件原件- > 发件人: Ben Pfaff [mailto:b...@ovn.org] > 发送时间: 2019年

Re: [ovs-discuss] openvswitch-2.11.0 single MPLS_POP

2019-03-15 Thread Ben Pfaff
You should not need to match on both labels to pop a single label. If you use ofproto/trace for this packet (see ovs-vswitchd(8)), what does it say? On Tue, Mar 12, 2019 at 08:34:38AM -0400, Thomas Crowley wrote: > I am attempting to pop the outer MPLS label on a packet that has two MPLS > labels

Re: [ovs-discuss] ping6 delay shaking with nd_target

2019-03-15 Thread Ben Pfaff
What is "delay shaking"? On Tue, Mar 12, 2019 at 12:52:25PM +, sunquanying wrote: > Hello: > > We have a problem of occasionally delay shaking at IPv6 when add the > following flow: > > ovs-ofctl add-flow ply1-1-0 > "table=0,priority=2,in_port=3,icmp6,dl_src=fa:16:3e:01:01:40,icmp_type=13

Re: [ovs-discuss] When the controller is disconnected, if you update the port immediately, the ovs will crash.

2019-03-15 Thread Ben Pfaff
On Tue, Mar 12, 2019 at 08:34:39PM +0800, 贾乘 wrote: > Hi All, > > This is my bridge configuration: > > Bridge br-int > Controller "tcp:127.0.0.1:6653" > is_connected: true > fail_mode: secure > Port br-int > Interface br-int > type:

Re: [ovs-discuss] Core dumps generated when running ovs tests in parallel

2019-03-15 Thread Ben Pfaff
On Sat, Mar 16, 2019 at 12:28:31AM +0530, Numan Siddique wrote: > On my Fedora 29 when ever I run all the ovs tests with "-j5", I see few > core dumps generated for ovsdb-server and python2. There are a couple of tests that intentionally do "kill -SEGV", to test that things work properly in that c

Re: [ovs-discuss] 回复: a question about the interface type change

2019-03-14 Thread Ben Pfaff
Port "ovs0" > Interface "ovs0" > type: system > ovs_version: "2.10.1" > > > > > 发送自 Outlook<http://aka.ms/weboutlook> > > > 发件人: Ben Pfaff > 发送时间: 2019年3月15日 0:46 > 收件人: pei

Re: [ovs-discuss] OVS/OVN troubleshooting: where's my packet?

2019-03-14 Thread Ben Pfaff
On Thu, Mar 14, 2019 at 04:55:56PM +0100, Daniel Alvarez Sanchez wrote: > Hi folks, > > Lately I'm getting the question in the subject line more and more > frequently and facing it myself, especially in the context of > OpenStack. > > The shift to OVN in OpenStack involves a totally different app

Re: [ovs-discuss] a question about the interface type change

2019-03-14 Thread Ben Pfaff
On Thu, Mar 14, 2019 at 03:12:03PM +, pei Jikui wrote: > I have a question regarding to the ovs' interface type. > > For example, we have added an port tap1 into the ovs bridge as the default > type of interface, system as designed. > The command line is " ovs-vsctl add-port br0 tap1" > If we

Re: [ovs-discuss] idle_timeout not working correctly?

2019-03-13 Thread Ben Pfaff
That doesn't make sense to me. OVS doesn't automatically delete flows on any schedule unless they have some kind of timeout. On Wed, Mar 13, 2019 at 06:53:21PM -0700, Ray Li wrote: > Actually learned a rule with idle_timeout=0 and hard_timeout=0, and it's > still getting deleted after exactly 5 m

Re: [ovs-discuss] idle_timeout not working correctly?

2019-03-13 Thread Ben Pfaff
On Wed, Mar 13, 2019 at 04:59:34PM -0700, Ray Li wrote: > Running OVS 2.5.2 > > I used learn() to add a OVS flow with a idle_timeout=300. I continuously > send packets to trigger the learn action, so that the idle_age is always > below 1 or 2 seconds. However when the flow itself reaches 300 secon

Re: [ovs-discuss] OVN: availability zones concept

2019-03-07 Thread Ben Pfaff
On Wed, Mar 06, 2019 at 10:32:29PM -0800, Han Zhou wrote: > On Wed, Mar 6, 2019 at 9:06 AM Ben Pfaff wrote: > > > > On Tue, Mar 05, 2019 at 09:39:37PM -0800, Han Zhou wrote: > > > On Tue, Mar 5, 2019 at 7:24 PM Ben Pfaff wrote: > > > > What's the effec

Re: [ovs-discuss] ipam allows address conflicts?

2019-03-06 Thread Ben Pfaff
dering was being used when adding > > > IP addresses to IPAM, but it appears that host byte ordering is > > > being used consistently when performing the calculations. > > > > > > James, is that the only IPAM-related test failure you are seeing? If > > > so, t

Re: [ovs-discuss] OVN: availability zones concept

2019-03-06 Thread Ben Pfaff
On Tue, Mar 05, 2019 at 09:39:37PM -0800, Han Zhou wrote: > On Tue, Mar 5, 2019 at 7:24 PM Ben Pfaff wrote: > > What's the effective difference between an OVN deployment with 3 zones, > > and a collection of 3 OVN deployments? Is it simply that the 3-zone > > deploy

[ovs-discuss] ipam allows address conflicts?

2019-03-05 Thread Ben Pfaff
[adding some folks who've worked on IPAM lately] On Tue, Mar 05, 2019 at 10:26:58AM +, James Page wrote: > Test 2768 is consistently failing on s390x in Ubuntu development. > > Note that this is the only big-endian architecture we build for so I would > suspect something endian-y as the root

Re: [ovs-discuss] OVN: availability zones concept

2019-03-05 Thread Ben Pfaff
On Thu, Feb 28, 2019 at 06:48:03PM +0100, Daniel Alvarez Sanchez wrote: > Just wanted to throw an idea here about introducing availability zones > (AZ) concept in OVN and get implementation ideas. From a CMS > perspective, it makes sense to be able to implement some sort of > logical division of re

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-05 Thread Ben Pfaff
This is taking more time than I have to invest at the moment, so I'll plan to try again if the next valgrind run doesn't help enough. On Tue, Mar 05, 2019 at 04:15:49PM -0800, Ben Pfaff wrote: > OK, sorry I missed it earlier. > > This explains why the dump-heap scripts don&#

[ovs-discuss] MUSL netpacket/packet.h

2019-03-05 Thread Ben Pfaff
atch so I guess it is > still needed to build on Alpine (I'm adding Stuart Cardall who is the package > maintainer in case he can comment on this). > > Probably is only needed in Alpine, because of musl libc. > > On mié, mar 6, 2019 at 1:17 AM, Ben Pfaff wrote: &

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-05 Thread Ben Pfaff
On Wed, Mar 06, 2019 at 12:13:32AM +, Fernando Casas Schössow wrote: > And besides the ifupdown scripts the only patch it applies seems to be > required by musl libc: > > musl-if_packet.patch > --- openvswitch-2.4.0/lib/netdev-linux.c 2015-08-20 00:33:42.960971996 + > +++ openvswitch-2.4.

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-05 Thread Ben Pfaff
ems to be mostly affecting Alpine because of the compiler > optimizations it uses. > --------end > quote--- > > On mié, mar 6, 2019 at 1:08 AM, Ben Pfaff wrote: > From the core d

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-05 Thread Ben Pfaff
00) blp@sigill:~/nicira/ovs/_build(0)$ Is that correct? On Tue, Mar 05, 2019 at 03:08:59PM -0800, Ben Pfaff wrote: > That is worth a shot. Thank you. > > On Tue, Mar 05, 2019 at 11:06:08PM +, Fernando Casas Schössow wrote: > > Too bad. :( > > > > Should I

Re: [ovs-discuss] [PATCH ] ofproto: Fix for ovs-vswitchd crash on flow-mod with unsupported action

2019-03-05 Thread Ben Pfaff
On Tue, Mar 05, 2019 at 06:15:54PM +0530, parameswaran krishnamurthy wrote: > Problem Description: > The ovs-vswitchd is crashing while invoking flow-mod with upsupported > action(Tested with ovs2.10.1) Thanks for the patch. I simplified it a little and applied it to master, as appended. You imp

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-05 Thread Ben Pfaff
That is worth a shot. Thank you. On Tue, Mar 05, 2019 at 11:06:08PM +, Fernando Casas Schössow wrote: > Too bad. :( > > Should I start over but leave it running for let's say 5-7 days instead? > Maybe 48 hours was not enough. > > On mié, mar 6, 2019 at 12:03 AM, Ben

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-05 Thread Ben Pfaff
On Tue, Mar 05, 2019 at 09:56:30PM +, Fernando Casas Schössow wrote: > Please find attached valgrind log. > It was running for around 48 hours. Hopefully it was enough otherwise let me > know and I can run it again for more time. Thanks for the log. There are several suspicious warnings to l

Re: [ovs-discuss] ovs-vswitchd process huge memory consumption

2019-03-05 Thread Ben Pfaff
s it match anything that appears in the OpenFlow flow table? Are you using the kernel or DPDK datapath? On Tue, Mar 05, 2019 at 08:42:14PM +0400, Oleg Bondarev wrote: > Hi, > > thanks for your help! > > On Tue, Mar 5, 2019 at 7:26 PM Ben Pfaff wrote: > > > You're talki

Re: [ovs-discuss] ovs-vswitchd process huge memory consumption

2019-03-05 Thread Ben Pfaff
OK. That gives me something to investigate. I'll see what I can find out. You're running 64-bit kernel and userspace, x86-64? On Tue, Mar 05, 2019 at 08:42:14PM +0400, Oleg Bondarev wrote: > On Tue, Mar 5, 2019 at 7:26 PM Ben Pfaff wrote: > > > You're talking about

Re: [ovs-discuss] ovs-vswitchd process huge memory consumption

2019-03-05 Thread Ben Pfaff
idn't have a chance to debug the scripts yet, but just in case you > missed my last email with examples of repeatable blocks > and sequences - do you think we still need to analyze further, will the > scripts tell more about the heap? > > Thanks, > Oleg > > On Thu, Feb

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-04 Thread Ben Pfaff
would you suggest I should keep valgrind running? 2-3 days? > > Thanks for looking into this Ben. > > On lun, mar 4, 2019 at 6:22 PM, Ben Pfaff wrote: > Running OVS through valgrind is probably going to be unacceptably slow. If it > works for you, though, then it will probably

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-04 Thread Ben Pfaff
On Sat, Mar 02, 2019 at 09:53:18AM +, Fernando Casas Schössow wrote: > For this reason I'm adding OVS dev mailing list to the thread in case any of > the devs want to have a look at the dump and debug this issue. You've reached them already ;-) > If anyone wants access to the dump, reply to

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-03-04 Thread Ben Pfaff
ter to run OVS through Valgrind and share the log file. > > What do you think? Any specific OVS or valgrind flags I should use? > > > > From: Fernando Casas Schössow > Sent: Saturday, March 2, 2019 10:59 AM > To: Ben Pfaff

Re: [ovs-discuss] ovs-ofctl fails occasionally

2019-03-01 Thread Ben Pfaff
Thanks, I applied this to master and backported it as far as it would go. On Fri, Mar 01, 2019 at 04:45:22AM +, Ken Ajiro wrote: > > Ben, > > > The following stopgap appears to fix the problem on master. I suspect > > it could be easily backported as far as necessary. Does it work for yo

Re: [ovs-discuss] Router not allowing traffic in reverse

2019-02-28 Thread Ben Pfaff
problem. I believe it is working exactly how it is > configured. I believe OpenStack is just configuring OVS, and it has put in a > flow rule or something that is allowing outbound for a network/subnet but not > inbound. I'm asking how to figure out where in OVS it is stopping a

Re: [ovs-discuss] Router not allowing traffic in reverse

2019-02-28 Thread Ben Pfaff
ohn > > > On Feb 28, 2019, at 4:33 PM, Ben Pfaff wrote: > > > >> On Wed, Feb 27, 2019 at 09:26:16PM -0600, John Carew wrote: > >> I have setup OpenStack with OVS. I have a single Hyper-V server running the > >> controller and three CentOS instances(10.0.0.x

Re: [ovs-discuss] Router not allowing traffic in reverse

2019-02-28 Thread Ben Pfaff
On Wed, Feb 27, 2019 at 09:26:16PM -0600, John Carew wrote: > I have setup OpenStack with OVS. I have a single Hyper-V server running the > controller and three CentOS instances(10.0.0.x) on a private subnet. I > created a router in OpenStack with SNAT disabled, as I only want it to route > traffic

Re: [ovs-discuss] Open vSwitch 2.11.0 Available

2019-02-28 Thread Ben Pfaff
The correct URLs look like this: https://www.openvswitch.org/releases/NEWS-2.11.0.txt On Thu, Feb 28, 2019 at 10:15:13AM -0500, Flaviof wrote: > Heh, looks like a 404 indeed. > > For now, if you are looking for the actual content of 2.11.0, try this link: > > https://github.com/openvswitch/ovs/b

Re: [ovs-discuss] ovs-vswitchd process huge memory consumption

2019-02-28 Thread Ben Pfaff
On Tue, Feb 26, 2019 at 01:41:45PM +0400, Oleg Bondarev wrote: > Hi, > > thanks for the scripts, so here's the output for a 24G core dump: > https://pastebin.com/hWa3R9Fx > there's 271 entries of 4MB - does it seem something we should take a closer > look at? I think that this output really just

Re: [ovs-discuss] How to send information from ovs to controller through Openflow

2019-02-27 Thread Ben Pfaff
On Thu, Feb 28, 2019 at 12:49:27AM +0700, Tuyen Dinh wrote: > I'm doing a project that need to modify ovs source code to do some > statistics about the packets (which I can't get that information from flow > tables). After get that statistics , I need to send them to the controller. > As far as I k

Re: [ovs-discuss] ovs-ofctl fails occasionally

2019-02-27 Thread Ben Pfaff
On Wed, Feb 27, 2019 at 12:45:58PM +, Ken Ajiro wrote: > > Hello, > > When I use ovs-ofctl on OVS 2.10.1, it failed occasionally by error: > > ovs-ofctl: br0: failed to connect to socket (Broken pipe) > > This error is possible to be reproduced with: > > # while :; do /opt/ne

Re: [ovs-discuss] ovs-vswitchd process huge memory consumption

2019-02-25 Thread Ben Pfaff
e? In other > words, if I find that the process memory usage grows up to around 500MB but > then becomes steady and is not growing anymore would it make sense to collect > a dump for analysis? > > On lun, feb 25, 2019 at 5:48 PM, Ben Pfaff wrote: > Both configurations should work,

Re: [ovs-discuss] ovs-vswitchd process huge memory consumption

2019-02-25 Thread Ben Pfaff
said is steady for > almost a week so I will keep monitoring it for a couple more weeks just in > case and report back. > > Thanks. > Kind regards, > > Fernando > > On sáb, feb 23, 2019 at 12:23 AM, Ben Pfaff wrote: > It's odd that two people would notice the s

Re: [ovs-discuss] How exactly OVS dispatch the Packet_In messages among different ODL controllers?

2019-02-25 Thread Ben Pfaff
On Mon, Feb 25, 2019 at 05:58:58AM +, JINTING LIN wrote: > Hi everyone, > > I am going to develop a load balancing application with ODL and OVS. But I am > not so sure about how exactly OVS dispatch the Packet_In messages among > different > controllers. > > The OpenFlow Switch Specification

Re: [ovs-discuss] ovs-vswitchd process huge memory consumption

2019-02-22 Thread Ben Pfaff
It's odd that two people would notice the same problem at the same time on old branches. Anyway, I'm attaching the scripts I have. They are rough. The second one invokes the first one as a subprocess; it is probably the one you should use. I might have to walk you through how to use it, or writ

Re: [ovs-discuss] DPDK link state

2019-02-21 Thread Ben Pfaff
On Thu, Feb 21, 2019 at 02:58:16PM +0100, Riccardo Ravaioli wrote: > Let's say I have a basic setup with a Linux virtual machine with one > vhostuser interface, a physical interface in DPDK mode, and an OVS switch > with those two interfaces on it. > Can the VM know when the link on the physical in

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-02-16 Thread Ben Pfaff
#x27;m not really a experienced developer but I will do my best and find my way > to follow your suggestions. > > On sáb, feb 16, 2019 at 11:37 PM, Ben Pfaff wrote: > On Sat, Feb 16, 2019 at 10:00:46PM +, Fernando Casas Schössow wrote: > Indeed OVS is logging memory usage. As yo

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-02-16 Thread Ben Pfaff
On Sat, Feb 16, 2019 at 10:00:46PM +, Fernando Casas Schössow wrote: > Indeed OVS is logging memory usage. As you can see after running for around 4 > months OVS memory usage grows as high as 15GB.: ... > Let me know if any other log information or command output can help to > understand what

Re: [ovs-discuss] ovs-vswitchd memory consumption behavior

2019-02-16 Thread Ben Pfaff
It's not normal. OVS should be logging information about memory usage periodically. What do the logs say about this? On Sat, Feb 16, 2019 at 10:23:55AM +, Fernando Casas Schössow wrote: > Hi, > > I'm running OVS on a Qemu/KVM virtualization host for a while now. The > virtualization host i

Re: [ovs-discuss] How to store the tcp_src or tcp_dst field value in a variable and then print in vlogs?

2019-02-15 Thread Ben Pfaff
rint > this value ? > > Thanks > > On Sat, Feb 16, 2019, 08:43 Ben Pfaff wrote: > > > Then you're going to have to work harder since miniflow_extract() is > > what initializes the L4 header pointer. > > > > On Sat, Feb 16, 2019 at 08:39:08AM +0800, Kri

Re: [ovs-discuss] How to store the tcp_src or tcp_dst field value in a variable and then print in vlogs?

2019-02-15 Thread Ben Pfaff
> > > On Sat, Feb 16, 2019, 03:44 Ben Pfaff wrote: > > > On Fri, Feb 15, 2019 at 03:48:22PM +0800, Krish wrote: > > > Hi > > > > > > I want to store tcp_src, dst port in a variable. > > > This is what I am doing: > > > 1. Retriev

Re: [ovs-discuss] How to store the tcp_src or tcp_dst field value in a variable and then print in vlogs?

2019-02-15 Thread Ben Pfaff
On Fri, Feb 15, 2019 at 03:48:22PM +0800, Krish wrote: > Hi > > I want to store tcp_src, dst port in a variable. > This is what I am doing: > 1. Retrieve packet from dp_packet_batch one by one. > 2. Retrieving field values by extracting packets headers: > > struct ip_header *ip = dp_packet_l3(pac

Re: [ovs-discuss] RSTP in VLAN

2019-02-14 Thread Ben Pfaff
On Wed, Feb 13, 2019 at 08:43:56AM +0100, Matthias May via discuss wrote: > Hi > I've run into the situation where I need to receive/transmit VLAN-tagged RSTP > frames. > > I can not find any information on anyone ever doing that with OVS. > Any pointers on how to do that? > > What I've tried so

Re: [ovs-discuss] how to enable the log of ovn

2019-02-14 Thread Ben Pfaff
On Thu, Feb 14, 2019 at 06:55:15PM +0800, taoyunupt wrote: > Sorry to disturb. I have use ovn with openstasck for a > while time,but i still do not know how to enable the log of ovn. > There are only logging options in the manpage or the help > of ovn-nbctl/o

Re: [ovs-discuss] Can I send a message to the controller whenever apacket arrives on the switch???

2019-02-13 Thread Ben Pfaff
I don't understand the question. On Thu, Feb 14, 2019 at 05:06:22AM +0900, 장예훈 wrote: > I’m so sorry. > Do I have to have the list like the one below?? > > 보낸 사람: Ben Pfaff > 보낸 날짜: 2019년 2월 14일 목요일 오전 5:01 > 받는 사람: 장예훈 > 참조: disc...@openvswitch.org > 제목: Re: [ovs-

Re: [ovs-discuss] Can I send a message to the controller whenever a packet arrives on the switch???

2019-02-13 Thread Ben Pfaff
Please don't drop the list. Yes. Yes. On Thu, Feb 14, 2019 at 04:55:17AM +0900, 장예훈 wrote: > Should I add it to the controller??? > When setting FlowEntry on the controller, do you set two actions?? > > Thank you very much for your answer. > > 2019년 2월 14일 (목) 오

Re: [ovs-discuss] Can I send a message to the controller whenever a packet arrives on the switch???

2019-02-13 Thread Ben Pfaff
On Thu, Feb 14, 2019 at 04:29:21AM +0900, 장예훈 wrote: > I would like to send a message to the controller even if there is a FlowEntry > That matches every time a packet enters the switch. Have the controller put a send-to-controller action in its flow entries. __

Re: [ovs-discuss] Can I create a new OpenFlow message from OVS to the controller???

2019-02-12 Thread Ben Pfaff
On Wed, Feb 13, 2019 at 06:27:43AM +0900, 장예훈 wrote: > I’m really sorry to keep asking you questions. Please help me once…. > > I want to create a new OpenFlow message from OVS and send it to the > controller. > What source code should I modify?? > > Or, I would like to add anew value to the err

Re: [ovs-discuss] Insert flows from file

2019-02-11 Thread Ben Pfaff
On Mon, Feb 11, 2019 at 09:01:44PM +0200, George Papathanail wrote: > Hello, I wondering how can I insert flows on switches with ovs-ofctl > command, > from a bash script file that I wrote. ovs-ofctl add-flows ___ discuss mailing list disc...@openvswitch

Re: [ovs-discuss] intrested in ovs

2019-02-09 Thread Ben Pfaff
For now, I’m in the first step, which is: > > Once the switch receives a packet, the packet header must be extracted to > read the (ip, ports, TCP flags) of the source and destination. > > I’m not sure how to do this using this switch. > > > Best, > > Sura > &

Re: [ovs-discuss] intrested in ovs

2019-02-08 Thread Ben Pfaff
On Fri, Feb 08, 2019 at 07:24:53PM +0300, Sura Takiddin wrote: > Is there a way to extract the ip address, ports and TCP flags from the > header's packet (before sending it to the flow table?) > I'm interested in adding few rules to the switch based on the ip, ports and > TCP flags. Maybe you shou

Re: [ovs-discuss] password in plain text?!

2019-02-01 Thread Ben Pfaff
On Fri, Feb 01, 2019 at 02:49:11PM -0700, Grant Taylor via discuss wrote: > On 02/01/2019 03:44 AM, Riccardo Ravaioli wrote: > > Why is the mailing list memberships reminder sending me my password in > > plain text? That's not too nice... :) > > That is how Mailman operates. (At least the 2.x ver

Re: [ovs-discuss] password in plain text?!

2019-02-01 Thread Ben Pfaff
On Fri, Feb 01, 2019 at 11:44:53AM +0100, Riccardo Ravaioli wrote: > Why is the mailing list memberships reminder sending me my password in > plain text? That's not too nice... :) > > Can that be fixed? It's what mailman always does everywhere I"m aware of. It's really made clear on the subscrip

Re: [ovs-discuss] [ovirt-users] Open_vSwitch no key error after upgrading to 4.2.8

2019-01-29 Thread Ben Pfaff
Each time you invoke it, you should specify the options you want. On Tue, Jan 29, 2019 at 11:32:05AM -0400, Jayme wrote: > I understand that, I'm just not sure which command to run it with to kill > this syslog spamming. > > On Tue, Jan 29, 2019 at 11:28 AM Ben Pfaff wrote:

Re: [ovs-discuss] [ovirt-users] Open_vSwitch no key error after upgrading to 4.2.8

2019-01-29 Thread Ben Pfaff
On Tue, Jan 29, 2019 at 04:32:18PM +0100, Dominik Holler wrote: > On Tue, 29 Jan 2019 11:16:16 -0400 > Jayme wrote: > > > This command on ovirt host gives me: > > > > # ovs-vsctl --verbose=db_ctl_base:syslog:off > > ovs-vsctl: missing command name (use --help for help) > > > > Jayme, sorry for

Re: [ovs-discuss] [ovirt-users] Open_vSwitch no key error after upgrading to 4.2.8

2019-01-29 Thread Ben Pfaff
n, Jan 28, 2019 at 3:35 PM Dominik Holler wrote: > > > On Mon, 28 Jan 2019 10:46:37 -0800 > > Ben Pfaff wrote: > > > > > On Mon, Jan 28, 2019 at 05:37:36PM +0100, Dominik Holler wrote: > > > > Is there a way to disable the error message > > &g

Re: [ovs-discuss] [ovirt-users] Open_vSwitch no key error after upgrading to 4.2.8

2019-01-28 Thread Ben Pfaff
On Mon, Jan 28, 2019 at 05:37:36PM +0100, Dominik Holler wrote: > Is there a way to disable the error message > > ovs|1|db_ctl_base|ERR|no key "xxx" in Open_vSwitch record "." column > external_ids > > in syslog? > ovs-appctl vlog/set seems not to know about db_ctl_base. This message doesn'

Re: [ovs-discuss] OVS 2.10.1 build --with-dpdk 18.11 fails in compiling a structure

2019-01-27 Thread Ben Pfaff
On Sat, Jan 26, 2019 at 07:08:18PM -0500, Debug Netiq One via discuss wrote: > So - what version of OpenVswitch with what version of DPDK please??? Use the version recommended in the documentation for the version of OVS you're using. See Documentation/intro/install/dpdk.rst. _

Re: [ovs-discuss] openvswitch not fault tolerant or contain failover mechanism

2019-01-24 Thread Ben Pfaff
On Fri, Jan 25, 2019 at 02:01:54AM +0300, Amer Hwitat wrote: > Hi, > > I have the following issue: > > [root@localhost neutron]# systemctl status network > ● network.service - LSB: Bring up/down networking >Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled) >Active: a

Re: [ovs-discuss] 答复: Help about "ovs-vsctl add-port" command

2019-01-23 Thread Ben Pfaff
What you're seeing is that it doesn't work, in the same way and for the same reason, in both versions, but the later version reports the error. ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Re: [ovs-discuss] Help about "ovs-vsctl add-port" command

2019-01-23 Thread Ben Pfaff
On Thu, Jan 24, 2019 at 03:10:48AM +, pei Jikui wrote: > 1) When I tried to add a port in ovs-version 2.8.1 via "ovs-vsctl add-port > br0 port1" command, the following error hint occurred. > > "ovs-vsctl: Error detected while setting up 'poas': could not open network > device poas (No such d

Re: [ovs-discuss] Two threads update a switch concurrently

2019-01-18 Thread Ben Pfaff
two threads > concurrently using ovs-ofctl? Did you mean OVS will internally serialize > the update requests from concurrent threads? > > > Thanks, > > Yiyang > > On 1/19/19 12:43 AM, Ben Pfaff wrote: > > On Sat, Jan 19, 2019 at 12:26:33AM -0500, Yiyang Chang w

Re: [ovs-discuss] Two threads update a switch concurrently

2019-01-18 Thread Ben Pfaff
On Sat, Jan 19, 2019 at 12:26:33AM -0500, Yiyang Chang wrote: > I am wondering what will happen if there are two threads updating a > switch concurrently with ovs-ofctl. Is there a switch-level lock in OVS? OVS has a single thread that processes OpenFlow. __

Re: [ovs-discuss] ovs-ofctl dump-flows output numbers base

2019-01-18 Thread Ben Pfaff
On Fri, Jan 18, 2019 at 11:43:05AM -0500, Matteo Olivi wrote: > in OvS 2.5.5. "ovs-ofctl dump-flows " output some numeric flow > fields (e.g. tun_id) are printed as hex numbers. Is there a way to get all > such numbers in decimal notation? No. ___ discus

Re: [ovs-discuss] "ovs-vsctl destroy IPFIX" does not clear the table

2019-01-18 Thread Ben Pfaff
On Fri, Jan 18, 2019 at 03:36:08PM +0800, Rockmen Jack wrote: > I tried on 2.8.0 and 2.10.1, both failed to clear the table but there > is no error printed, the return code was 0 as well. It turns out > "ovs-vsctl clear Bridge br0 ipfix" will do the work, which is a > confusing behavior.(also means

Re: [ovs-discuss] Incorrect packet statistics when mirroring vlans

2019-01-17 Thread Ben Pfaff
__ > From: Shweta Seth (shwseth) > Sent: Wednesday, January 2, 2019 1:15 PM > To: Ben Pfaff > Cc: ovs-discuss@openvswitch.org; Yegappan Lakshmanan (yega); Sabita Jasty > (sjasty) > Subject: Re: [ovs-discuss] Incorrect packet statistics when mirroring vlans > > Thanks

Re: [ovs-discuss] [ovs-dev] a problem the userspace datapath failed to create a new datapath flow for the QinQ packet

2019-01-15 Thread Ben Pfaff
On Mon, Jan 14, 2019 at 12:12:34PM +, wangyunjian wrote: > Hi, > > I found a problem the userspace datapath failed to create a > new datapath flow for the QinQ packet. When getting mask from > nlattrs with the mask include ip,udp,etc, it parsed 802.1Q > header wrongly. > > This patch fixes i

Re: [ovs-discuss] ovs-ofctl transactions syntax

2019-01-15 Thread Ben Pfaff
Please don't drop the list. ovs-ofctl --bundle add-flows SWITCH - < Is there a way to do that without a file, i. e. specifying the flows > inline? > > Il giorno mar 15 gen 2019, 01:10 Ben Pfaff ha scritto: > > > On Mon, Jan 14, 2019 at 09:29:56PM -0500, Matteo Oli

Re: [ovs-discuss] ovs-ofctl transactions syntax

2019-01-14 Thread Ben Pfaff
On Mon, Jan 14, 2019 at 09:29:56PM -0500, Matteo Olivi wrote: > What's the syntax for adding multiple flows to an OvS bridge within a > single transaction? I read the man page of ovs-ofctl but could not > understand how to do that. I also tried to use the same syntax as ovs-vsctl > (separate comman

Re: [ovs-discuss] Way to distinguish different packets rather than parsing a packet?

2019-01-14 Thread Ben Pfaff
return dl_type; > } > > > I don't know where I am going wrong. > I would really appreciate your help on this. > > > Thank You > > > > On Fri, Jan 11, 2019 at 2:42 AM Ben Pfaff wrote: > > > On Thu, Jan 10, 2019 at 02:34:47PM +0800, Krish wrote

Re: [ovs-discuss] [SFC NSH] Update "eth_dst" for original packet after decap nsh encapsulation packet.

2019-01-11 Thread Ben Pfaff
_field:fa:16:3e:05:3a:12->eth_dst,resubmit(,5) > > As I known, after using decap() 2 times, I can get the original packet. So, > I can update eth_dst to it. > > > > > > Vào Th 6, 11 thg 1, 2019 vào lúc 04:32 Ben Pfaff đã viết: > > > On Fri, Jan 11,

Re: [ovs-discuss] [SFC NSH] Update "eth_dst" for original packet after decap nsh encapsulation packet.

2019-01-10 Thread Ben Pfaff
On Fri, Jan 11, 2019 at 04:26:03AM +0900, Hoàng Công Phước wrote: > Hi experts, > > I am trying to update "eth_dst" for original packet after decap nsh > encapsulation packet. Here is my command about it: > > $ sudo ovs-ofctl add-flow br-int "table=10, priority=1, dl_vlan=4, > dl_dst=fa:16:3e:05:

Re: [ovs-discuss] Way to distinguish different packets rather than parsing a packet?

2019-01-10 Thread Ben Pfaff
On Thu, Jan 10, 2019 at 02:34:47PM +0800, Krish wrote: > Is there any other way to distinguish different types of packets/flows when > they enter dp_netdev_input__ and processed further(EMC,fastpath etc)? > > As of now, I have to *flow_extract* the packets using *struct flow flow*: > > if (flow.n

Re: [ovs-discuss] Confusing errors in response to incorrectly formed OFPGroupMod

2019-01-09 Thread Ben Pfaff
On Tue, Jan 08, 2019 at 04:04:37PM +0300, Artem Gromov wrote: > Hi, > OVS sends confusing error message to incorrectly formed OFPGroupMod message > with OFPGC_ADD command and command_bucket_id set. > > This condition (absence of else keyword and body) is probably the main > cause: > https://github

Re: [ovs-discuss] Bitmask

2019-01-09 Thread Ben Pfaff
On Mon, Jan 07, 2019 at 07:45:05PM +0200, George Papathanail wrote: > I have instantiate a topology in Mininet with 2hosts and 3 switches. > I have to encode the output ports of the switches on packet header in order > to reduce the state of the switches. > > For example if the output ports are 3

Re: [ovs-discuss] crash when restart openvswitch with huge vxlan traffic running

2018-12-28 Thread Ben Pfaff
On Fri, Dec 28, 2018 at 10:03:01AM -0800, Gregory Rose wrote: > > On 12/27/2018 1:38 PM, Gregory Rose wrote: > > > >On 12/27/2018 11:40 AM, Ben Pfaff wrote: > >>Greg, this is a kernel issue.  If you have the time, will you take a > >>look at it sometime? >

Re: [ovs-discuss] Incorrect packet statistics when mirroring vlans

2018-12-27 Thread Ben Pfaff
On Thu, Dec 13, 2018 at 09:30:09PM +, Shweta Seth (shwseth) via discuss wrote: > When mirroring packets between two VLANs, we have observed that the OVS > mirror packet transmit statistics as displayed by the "ovs-vsctl list > mirror show tx packets" command is not correct. Thank you for the

Re: [ovs-discuss] crash when restart openvswitch with huge vxlan traffic running

2018-12-27 Thread Ben Pfaff
Greg, this is a kernel issue. If you have the time, will you take a look at it sometime? On Thu, Dec 20, 2018 at 12:42:43PM +, 王志克 wrote: > Hi All, > > I did below test, and found system crash, does anyone knows whether there are > already some fix for it? > > Setup: > CentOS7.4 3.10.0-693

Re: [ovs-discuss] open vswitch / openflow includes for nicira extensions

2018-12-27 Thread Ben Pfaff
On Wed, Dec 19, 2018 at 06:59:05PM -0700, Raymond Burkholder wrote: > I have been using header file definitions found in > https://www.opennetworking.org/wp-content/uploads/2014/10/openflow-switch-v1.4.1.pdf > to build an open flow controller. > > The controller communicates successfully with ope

Re: [ovs-discuss] Cannot Add Meter in OVS 2.10.2

2018-12-27 Thread Ben Pfaff
I don't have DPDK compatible network cards. > > On Thu, Dec 27, 2018, 8:24 PM Ben Pfaff > > On Thu, Dec 27, 2018 at 12:02:50PM +0500, Ramzah Rehman wrote: > > > It is mentioned in FAQ of QoS that "Open vSwitch 2.10 has implemented > > > meters in the Linux kernel

Re: [ovs-discuss] Cannot Add Meter in OVS 2.10.2

2018-12-27 Thread Ben Pfaff
On Thu, Dec 27, 2018 at 12:02:50PM +0500, Ramzah Rehman wrote: > It is mentioned in FAQ of QoS that "Open vSwitch 2.10 has implemented > meters in the Linux kernel datapath " which means we can use meters in > kernel datapath. However, when I try to add meter, I get > OFPMMFC_INVALID_METER error.

Re: [ovs-discuss] Anything wrong with my settings, using two NICs for VPN.

2018-12-25 Thread Ben Pfaff
On Tue, Dec 25, 2018 at 05:37:53PM +0800, luckydog xf wrote: > I'm using OpenVswitch and Openstack to build an instance with two NICs > named eth0 and eth1, both NICs get IP by DHCP of DNSmasq. > > I also build a SoftEther VPN serice, eth0 is as management IP for SSH, > while eth1 as IP a

Re: [ovs-discuss] flow match against an offset in the payload

2018-12-23 Thread Ben Pfaff
On Sun, Dec 23, 2018 at 08:24:07AM +, Avi Cohen (A) wrote: > I need to install a flow to be matched against a field in the UDP payload > in a known offset > Is this possible with OvS ? No. ___ discuss mailing list disc...@openvswitch.org https://

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