Re: [ovs-discuss] vlan id inequality matching

2018-01-24 Thread Ben Pfaff
On Wed, Jan 24, 2018 at 01:54:32PM -0500, John Lester wrote: > What would be the way to express in a flow: match all vlans except vlan > 405. Would it be vlan_vid=0/405 or perhaps another way? That approach won't work. The simplest way is to use two flows: one with a high priority that matches

Re: [ovs-discuss] Lost in translation! OFP to DPDK datapath OVS actions?

2018-01-24 Thread Ben Pfaff
fragmentation header, then appending > the header and readjusting the L4 offset. In this case, does it make sense > to immediately emit ODP action via "nl_msg_put_u16(ctx->odp_actions, > OVS_ACTION_ATTR_PUSH_EXTH, ofpact_get_PUSH_EXTH(a)->arg);" in > ofproto-dpif-xlate? > >

Re: [ovs-discuss] OVS delete port by itself

2018-01-23 Thread Ben Pfaff
On Tue, Jan 23, 2018 at 10:41:21AM +0800, netsurfed wrote: > Hi all, > > > When I created a virtual machine using libvirt, with virtualport type was > openvswitch, and virtual machine creation failed. The Domain XML file the > section like this: > > > I looked at the system log and it

Re: [ovs-discuss] Windows test: 1077. ofproto-dpif.at:1663: testing ofproto-dpif - controller action without megaflows

2018-01-22 Thread Ben Pfaff
Certainly these are odd results showing that on Windows an extra packet passes through the rate limiter. Do you have any leads on a possible solution? Does timing work somehow different on Windows? On Sun, Jan 14, 2018 at 05:11:00PM +, Alin Serdean wrote: > ofproto-dpif > > 1077.

Re: [ovs-discuss] Lost in translation! OFP to DPDK datapath OVS actions?

2018-01-22 Thread Ben Pfaff
es the > actuator know what OVS actions to actuate? > 3) Can we say that do_xlate_actions() is currently being used outside the > purpose that its name implies, because all it does is to set the fields of > the struct flow to those set in ofpact struct? > > Thanks > > 2018-01-

Re: [ovs-discuss] vPort state

2018-01-22 Thread Ben Pfaff
On Thu, Jan 18, 2018 at 11:37:57AM +, Nitin Katiyar wrote: > Can someone help in understanding the reason for not allowing the > vport state to DOWN. Presently, if we try to bring down tunnel ports > (or vPorts) using "ovs-ofctl mod-port" command then OVS rejects it as > "not supported". I

Re: [ovs-discuss] Linking of OFPROTO and NETDEV libraries to OVS

2018-01-22 Thread Ben Pfaff
On Mon, Jan 22, 2018 at 07:06:59AM +0530, Aravind Prasad wrote: > Hi Ben, > > > I don't understand the question. These are always linked together. > > I want to write a new ofproto provider and netdev provider and have them as > dynamic libraries. The requirement is to have the implementation

Re: [ovs-discuss] Regarding adding flows on a remote switch using ovs-ofctl

2018-01-21 Thread Ben Pfaff
the switch should have an > additional port listening for openflow connections using ptcp (in addition > to the port listening to controller connections)? > > I guess this should be a ovs-vsctl command on the lines of > > ovs-vsctl --db=tcp:: > > Is that right? >

Re: [ovs-discuss] Regarding adding flows on a remote switch using ovs-ofctl

2018-01-21 Thread Ben Pfaff
On Sun, Jan 21, 2018 at 02:17:56PM -0600, Ashish Kashinath wrote: > Hi everyone, we were trying to add flows to a switch remotely via tcp. But > are not able to do so. The command we used is: > > *ak7@ubuntu:~/Repositories/qos_synthesis/src/experiments$ ovs-ofctl > add-flow tcp:192.168.1.101

Re: [ovs-discuss] Linking of OFPROTO and NETDEV libraries to OVS

2018-01-19 Thread Ben Pfaff
On Fri, Jan 19, 2018 at 10:15:46AM +0530, Aravind Prasad wrote: > Is there a way to link OFPROTO and NETDEV libraries directly to OVS binary > without recompiling the OVS codebase. Like, downloading the OVS debian > binary directly and link the ofproto and netdev dynamic libraries to it. I don't

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-18 Thread Ben Pfaff
y fine), but yes, being able to set those > 64 bytes will be quite useful with say with an extra "payload=0xC0FEFE" > argument on ofproto/trace. > > Brad > > On 18 January 2018 at 07:17, Ben Pfaff <b...@ovn.org> wrote: > > > OK, sounds good. > > &

Re: [ovs-discuss] OVS port name differ from interface name

2018-01-18 Thread Ben Pfaff
real existing interface? > > > __ > > > On 15 January 2018 at 20:19, Ben Pfaff <b...@ovn.org> wrote: > > > On Mon, Jan 15, 2018 at 09:50:52AM -0800, Fred Licht wrote: > > >Is it possible to have an OVS port ‘name’ differ from the i

Re: [ovs-discuss] DB operations in a OVSDB request and Batched requests.

2018-01-17 Thread Ben Pfaff
On Sun, Jan 14, 2018 at 01:41:36PM -0800, Anil Jangam wrote: > Hi, > > The "transact" method of OVSDB protocol mandates the sequential processing > of the transaction. It is specificed in section 4.1.3 as follows. > >The database server executes each of the specified operations in > the

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-17 Thread Ben Pfaff
test suite to using ofproto/trace to generate packets (instead > of scapy) for throwing at test scenarios because it's considerably more > lightweight and we are already using openvswitch as the core of our test > suite. > > Brad > > On 9 January 2018 at 05:51, Ben Pfaff &

Re: [ovs-discuss] clustered OVSDB in 2.9 or 2.10?

2018-01-17 Thread Ben Pfaff
On Mon, Jan 15, 2018 at 08:46:50AM -0500, Russell Bryant wrote: > On Mon, Jan 15, 2018 at 2:30 AM, Numan Siddique <nusid...@redhat.com> wrote: > > > > > > On Fri, Jan 12, 2018 at 1:28 AM, Ben Pfaff <b...@ovn.org> wrote: > >> > >> I posted the pa

Re: [ovs-discuss] OVS port name differ from interface name

2018-01-15 Thread Ben Pfaff
On Mon, Jan 15, 2018 at 09:50:52AM -0800, Fred Licht wrote: >Is it possible to have an OVS port ‘name’ differ from the interface name? > > Bridge ovs-ha-sw > Port ovs-ha-sw > Interface ovs-ha-sw > type: internal > Port "bond1" >

Re: [ovs-discuss] Lost in translation! OFP to DPDK datapath OVS actions?

2018-01-12 Thread Ben Pfaff
On Fri, Jan 12, 2018 at 11:39:44AM +0100, Alan Kayahan wrote: > Hello, > > Per my understanding from /ovs-discuss/2015-May/037313.html, > ofproto-dpif-xlate translates OFP actions into Netlink format, which is > useful for datapath actions implemented in the kernel module. Does that > hold for

[ovs-discuss] clustered OVSDB in 2.9 or 2.10?

2018-01-11 Thread Ben Pfaff
I posted the patches to add clustering support to OVSDB at the end of last year so that it was technically qualified to make it into OVS 2.9. At least in OVS 2.9, it will be marked "experimental", since it's a major change that might need work to be suitable for production (we simply don't know

Re: [ovs-discuss] how to add an interface to exists bonding port?

2018-01-09 Thread Ben Pfaff
On Tue, Jan 09, 2018 at 02:59:33PM +0800, cokabug wrote: > I have a bonding port : bond0 that contain two interface : eth0 eth1, > now i want to add eth2 to bond0 without network interrupt, how can i do > this, > i try the command : > ovs-vsctl --may-exist add-bond br-f2b0711

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-08 Thread Ben Pfaff
[dropping OP, who probably doesn't care] On Sat, Jan 06, 2018 at 12:07:09PM +1300, Brad Cowie wrote: > What happened is that in faucet 1.6.12 we added a bunch of new packet > handling sanity checks to help improve security of faucet's packet > handling. Packets made by ofproto/trace -generate

Re: [ovs-discuss] Any timeline on PISCES in the mainline OVS?

2018-01-04 Thread Ben Pfaff
On Wed, Jan 03, 2018 at 08:54:25PM +0100, Alan Kayahan wrote: > I read about PISCES and watched its presentation. The presenter mentioned > that the PISCES is expected to be in the mainline OVS. Is there any news > regarding that, or regarding any kind of P4 integration? It's a goal of mine for

Re: [ovs-discuss] ovn-controller consuming lots of CPU

2017-12-20 Thread Ben Pfaff
On Tue, Dec 12, 2017 at 01:26:33PM -0800, Kevin Lin wrote: > Hi again, > > We’re trying to scale up our OVN deployment and we’re seeing some worrying > log messages. > The topology is 32 containers connected to another 32 containers on 10 > different ports. This is running on 17 machines (one

Re: [ovs-discuss] How to find GRE Tunnel ID in OVS ?

2017-12-15 Thread Ben Pfaff
ed to set the tunnel id to the actual id of the GRE tunnel present in > the topology. That's I need to know a way to extract the tunnel id and set > that value in the flow indicated earlier. > > -regards > > > On Dec 14, 2017 5:27 PM, "Ben Pfaff" <b...@ovn.o

Re: [ovs-discuss] Is it normal that userspace datapath(without dpdk) have a pool perfermance ?

2017-12-15 Thread Ben Pfaff
On Fri, Dec 15, 2017 at 02:27:18PM +, Nacht Z wrote: > I have install ovs in a server and try to test it’s > performance. I found that user space datapath(without dpdk) have > a poor performance (6MB/s). The kernel datapath works much > better(110M/s). I feel puzzle about

Re: [ovs-discuss] How to find GRE Tunnel ID in OVS ?

2017-12-14 Thread Ben Pfaff
low ovsprx1 > table=0,in_port=4,dl_dst=52:54:00:78:59:82,dl_type=0x0800,nw_dst=10.0.35.12,actions=mod_dl_dst:52:54:00:6c:11:95, > set_tunnel:0x0,goto_table:10 > > So, I need to know the tunnel id to set it. > Appreciate your help. > > On Thu, Dec 14, 2017 at 5:06 PM, Ben Pfaff &

Re: [ovs-discuss] How to find GRE Tunnel ID in OVS ?

2017-12-14 Thread Ben Pfaff
On Thu, Dec 14, 2017 at 04:54:48PM -0500, Vasu S wrote: > Does any one know any command to find out the GRE tunnel id in OVS. > I need this to configure flows on OF , but don't know how to extract the > tunnel id. OVS calls this the tun_id field. See ovs-fields(7).

Re: [ovs-discuss] Cannot install meter

2017-12-14 Thread Ben Pfaff
On Thu, Dec 14, 2017 at 04:23:58PM +0100, Cédric MORIN wrote: > Hi, > > thank you for your reply. > > Actually I didn't need to use dpdk, I just had to set datapath to netdev - as > you said. > > However I'm facing another problem now. > > I tried to setup a drop meter with the following

Re: [ovs-discuss] Issue with OVS Patch port

2017-12-13 Thread Ben Pfaff
On Wed, Dec 13, 2017 at 09:24:49PM -0500, Vasu S wrote: > I'm trying to connect two OVS bridges via patch ports, however, as soon as > I add the ports as type=patch, they disappear from the ifconfig and I'm > unable to check any traffic hits on either of the patch interfaces. Patch ports aren't

Re: [ovs-discuss] OVS 2.8.1 changes the rates of data packets!

2017-12-08 Thread Ben Pfaff
reless interfaces to the bridge, the > problem shows up. So, it seems OVS (at least) is a part of the problem. > > On Fri, Dec 8, 2017 at 5:55 PM, Ben Pfaff <b...@ovn.org> wrote: > > > On December 8, 2017 5:53:44 PM PST, Dawood Sajjadi <s.d.sajj...@gmail.com> > > wro

Re: [ovs-discuss] OVS 2.8.1 changes the rates of data packets!

2017-12-08 Thread Ben Pfaff
On December 8, 2017 5:53:44 PM PST, Dawood Sajjadi wrote: >I created a bridge using OVS 2.8.1 in Ubuntu 14.04. The bridge contains >4 >physical ports including one ethernet and three wireless ports. The >ethernet port is connected to a laptop that generated dummy traffic

Re: [ovs-discuss] Failed assertion in ovs-vswitchd when running OVN

2017-12-08 Thread Ben Pfaff
Dec 7, 2017, at 3:54 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > On Thu, Dec 07, 2017 at 02:44:36PM -0800, Kevin Lin wrote: > >> Hi Ben, > >> > >> I’ve included the traces for an ARP request, and a ping. ovs-vswitchd also > >> logs er

Re: [ovs-discuss] Failed assertion in ovs-vswitchd when running OVN

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 02:44:36PM -0800, Kevin Lin wrote: > Hi Ben, > > I’ve included the traces for an ARP request, and a ping. ovs-vswitchd also > logs errors for the return traffic, but I didn’t include that as it seems > redundant. > > root@ip-172-31-2-45:/# ovs-appctl ofproto/trace

Re: [ovs-discuss] (no subject)

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 11:39:23AM +0530, shivani dommeti wrote: > I am using OVS version 2.8.2 > I have a problem when executing "insert-buckets".I created a group of > type select and when i try to insert a bucket using "insert-bucket" > command supported by OpenFlow1.5 the group type gets

Re: [ovs-discuss] Failed assertion in ovs-vswitchd when running OVN

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 09:26:14AM -0800, Kevin Lin wrote: > Hi, > > I work on Kelda (kelda.io ) with Ethan Jackson. We run a > containerized, distributed version of OVN. The master branch of > openvswitch/ovs (commit 07754b23ee5027508d64804d445e617b017cc2d1) fails with > the

Re: [ovs-discuss] OVSDB connection keep-alive vs. echo RPC

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 01:59:45PM -0500, Matt Layher via discuss wrote: > But that leads me to another question: does ovsdb-server send echo RPCs to > its clients at all?  If so, I can implement something to reply in my receive > loop.  If not, I won't bother. Yes, it does (unless configured not

Re: [ovs-discuss] OVSDB connection keep-alive vs. echo RPC

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 12:24:51PM -0500, Matt Layher via discuss wrote: > I'm working on implementing an OVSDB client in Go > (https://godoc.org/github.com/digitalocean/go-openvswitch/ovsdb) and > recently implemented the Echo RPC. > > https://tools.ietf.org/html/rfc7047#section-4.1.11 > >

Re: [ovs-discuss] ovs_assert(classifier_is_empty(>cls)) failed when restart openvswitch service.

2017-12-06 Thread Ben Pfaff
On Wed, Dec 06, 2017 at 08:28:30PM +, Zhanghaibo (Euler) wrote: > Hello all, > > I run into abort issue when restart openvswitch service, the coredump file > shows that ovs_assert() failed in function oftable_destroy()/ofproto.c. > > The problem is pretty hard to reproduce, Do you have any

Re: [ovs-discuss] Discrepancy between ofproto/trace output and dpctl dump-flows output

2017-12-06 Thread Ben Pfaff
OK. In the meantime, you can add "eth()" to the flows you're tracing to get the expected results. On Wed, Dec 06, 2017 at 07:02:42PM +, Amar Padmanabhan wrote: > Thanks Ben for taking a look, > Regards, > - Amar > > On 12/6/17, 10:17 AM, "Ben Pfaff" &l

Re: [ovs-discuss] [Potential Spoof] Discrepancy between ofproto/trace output and dpctl dump-flows output

2017-12-06 Thread Ben Pfaff
sday, December 5, 2017 at 9:59 PM > To: "ovs-discuss@openvswitch.org" <ovs-discuss@openvswitch.org>, Ben Pfaff > <b...@ovn.org> > Cc: Jacky Tian <xjt...@fb.com> > Subject: [Potential Spoof] [ovs-discuss] Discrepancy between ofproto/trace > output an

Re: [ovs-discuss] L2 messages with proprietary ethertype dropped

2017-12-06 Thread Ben Pfaff
On Tue, Dec 05, 2017 at 07:24:10PM -0500, Raghavendra Hegde wrote: > I am using a 3rd party application that runs on two VMs and uses L2 > messages for health checking between the VMs. The L2 messages use a > proprietary ethertype (0x8e9f) for messaging. I see the L2 message going > out of the VM.

Re: [ovs-discuss] Programming flows to bond port

2017-12-04 Thread Ben Pfaff
On Mon, Dec 04, 2017 at 07:42:06PM +0530, Pradeep K.S wrote: > I have a created bond interface, with multiple slaves. I want to program > flows > such that packets arriving on port X -> should be directed to bond port > But the > problem is bond port doesn't have ofportid, how to program such a

Re: [ovs-discuss] OVS Patch Ports

2017-12-01 Thread Ben Pfaff
On Fri, Dec 01, 2017 at 11:57:22AM -0500, Fouad Hallal wrote: > I have tested OVS patch ports functionality in a simple 3 bridges network > by using Mininet custom topology. I configured macro flows by cross > connecting the different bridge ports. Packets passed between the > different bridges

Re: [ovs-discuss] clarification on sflow documentation

2017-11-30 Thread Ben Pfaff
On Wed, Nov 29, 2017 at 05:45:11PM -0800, Shivaram Mysore wrote: > Hello, > I am referring to http://docs.openvswitch.org/en/latest/howto/sflow/ > > $ ovs-vsctl -- --id=@sflow create sflow agent=${AGENT_IP} \ > target="${COLLECTOR_IP}:${COLLECTOR_PORT}" header=${HEADER_BYTES} \ >

Re: [ovs-discuss] Tx/Rx count not increasing OVS-DPDK

2017-11-29 Thread Ben Pfaff
On Wed, Nov 29, 2017 at 10:57:12AM +0530, abhishek jain wrote: > I'm having 2 VMs running with ovs-dpdk as a networking agent on > openstack compute node. > When I'm checking the external connectivity of the VMs by pinging to > the external world,the Tx/Rx count of the VMs is not increasing. > >

Re: [ovs-discuss] [ovs-dev] How to set QoS for VM egress traffic on tunnel mode

2017-11-28 Thread Ben Pfaff
On Wed, Nov 22, 2017 at 09:50:54AM +, 王志克 wrote: > Hi All, > > I want to set QoS with guide from below link “egress traffic shaping”, but do > not know how for tunnel mode. > http://docs.openvswitch.org/en/latest/faq/qos/ > > My scenario: > > I have several VM ports, and several VxLan

Re: [ovs-discuss] Idea of an ovn native "rally"

2017-11-28 Thread Ben Pfaff
On Thu, Nov 23, 2017 at 12:01:33PM +0100, Miguel Angel Ajo Pelayo wrote: > Today during coffee I was discussing with Jakub the idea of having > some sort of "rally" [1] [2] like project to measure the native reponse > of OVN at scale, measuring things like: > > * NB object creation to SB update

Re: [ovs-discuss] 回复: ovs-dpctl problem

2017-11-27 Thread Ben Pfaff
000), packets:0, bytes:0, used:never, actions:3 > > if there is a package from port 2, but it doesn't go to port 3. > why does it not work? > > -- 原始邮件 -- > 发件人: "Aaron Conole";<acon...@redhat.com>; > 发送时间: 2017年11月14日(星期二) 凌晨0:48

Re: [ovs-discuss] DPDK with UIO drivers is broken on Fedora since OVS 2.8.0

2017-11-27 Thread Ben Pfaff
On Tue, Nov 21, 2017 at 12:08:51PM -0200, Marcos Felipe Schwarz wrote: > Hi, > > The current solution for running OVS with non-root user in Fedora makes it > not possible to support UIO drivers [1]. > Setting the user to root:root via /etc/sysconfig/openvswitch should be a > solution, but it is

Re: [ovs-discuss] ovs 2.8 with ocata devstack environment

2017-11-27 Thread Ben Pfaff
On Mon, Nov 27, 2017 at 09:43:19AM +0530, Sailas Babu wrote: > I am trying to spawn VMs using ocata devstack with ovs 2.8 version. > wanted to check few specific ( mpls o gre) patches that are only available > in ovs 2.8 . > > ocata inherently using 2.6 version , which i stopped manaully and

Re: [ovs-discuss] What is a l2 pkt microflow

2017-11-21 Thread Ben Pfaff
cause L2 flow keys consist >only of L2 header, while for other flow the keys are l2+l3 headers. i >thought that there is only a single microflow table so classification >takes O(1). >--Sara > > >On Mon, Nov 20, 2017 at 7:38 PM, Ben Pfaff <b...@ovn.org> wrote: >> On

Re: [ovs-discuss] OpenFlow “select” group

2017-11-20 Thread Ben Pfaff
No. On Mon, Nov 20, 2017 at 11:41:26AM -0600, Prabhu wrote: > Just curios to know, does Group selection method support weighted round > robin selection method ? > > > On 11/20/2017 11:37 AM, Ben Pfaff wrote: > >On Thu, Nov 16, 2017 at 04:41:07PM -0500, Ronaldo Rese

Re: [ovs-discuss] What is a l2 pkt microflow

2017-11-20 Thread Ben Pfaff
On Thu, Nov 16, 2017 at 07:46:05PM +0200, Sara Gittlin wrote: > I understand that microflow kernel cache entries consist of full set of > header keys. > What about a l2 pkt e.g cfm pkt. What are the hash keys for cfm pkt in the > single microflow table? Just the Ethernet header.

Re: [ovs-discuss] OpenFlow “select” group

2017-11-20 Thread Ben Pfaff
On Thu, Nov 16, 2017 at 04:41:07PM -0500, Ronaldo Resende wrote: > I know that Open vSwitch 2.4 and later + OpenFlow 1.4, by default, hashes > some headers fields to choose a bucket in a select group. > > What if I want to change the way this is being done? What would be the > right approach to

Re: [ovs-discuss] in_port=local never matches for flows

2017-11-20 Thread Ben Pfaff
On Fri, Nov 17, 2017 at 02:16:55PM +, Jan De Landtsheer wrote: > Hello again, > > I'm trying to define a conntrack flow that allows connections from linux > namespace1 to a test namespace, and block everything from the test > namespace to the host > > for that I create a bridge, add a port,

Re: [ovs-discuss] Source Code - Multiple Controllers Round Robin Load Balancing

2017-11-19 Thread Ben Pfaff
It seems to me like a bad idea, in general, to use round robin load balancing to send packets to controllers because that is likely to reorder packets. I think that it would probably be a better idea to balance packets across controllers on a flow-by-flow basis. I think that you could use an

Re: [ovs-discuss] Help adding ports in ovs-sandbox

2017-11-14 Thread Ben Pfaff
ovs-vswitchd running in the sandbox doesn't interact with the system at all, so ports you create there won't appear when you run system utilities. On Tue, Nov 14, 2017 at 07:29:16PM +, Omar Ramadan wrote: > Hello, > > > I am using the ovs-sandbox to run ovs-vswitchd in gdb and am having

Re: [ovs-discuss] Can't add a row into a table with ovsdb-client

2017-11-14 Thread Ben Pfaff
On Tue, Nov 14, 2017 at 02:40:22PM -0500, Scott Reeve wrote: > Tried a whole bunch of things but none seem to work. > There is one db: "hardware_vtep" > One of the tables is Ucast_Macs_Local: > > > "Ucast_Macs_Local": { > "columns": { > "MAC": { > "type": "string"}, >

Re: [ovs-discuss] Multiple Goto on Single Flow Statement

2017-11-14 Thread Ben Pfaff
On Tue, Nov 14, 2017 at 07:14:13PM +, Michael Williams wrote: > Under OvS 2.4.1 when we issue the following command; > > sudo ovs-ofctl -O OpenFlow13 add-flow s1 > table=0,in_port=2,actions=goto_table:1,goto_table:2 > > > we get this message; > > ovs-ofctl: instruction goto_table may be

Re: [ovs-discuss] jsonrpc

2017-11-13 Thread Ben Pfaff
le": "Port"}, > {"op":"insert","row":{"ports":["named-uuid","port3d"],"name":"s1"},"table":"Bridge"}, > > {"op":"mutate","table":"Open_vSwitc

Re: [ovs-discuss] jsonrpc

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 06:47:05PM -0300, Edison Albuquerque wrote: > Sorry if this has been asked before. > There's few examples on how to use jsonrpc to insert an interface, for > example. > For us, newbies, examples are extremely valuable, more than a thousand > words. > If some kind soul has

Re: [ovs-discuss] Regarding queue size for each queue configured on openvswitch by using SDN (RYU) controller

2017-11-13 Thread Ben Pfaff
> Awaiting for your response. > > Regards, > Ankur > > On Sat, Oct 21, 2017 at 2:25 PM, Ben Pfaff <b...@ovn.org> wrote: > > > On Fri, Oct 20, 2017 at 10:37:27PM -0700, ANKUR SHETH wrote: > > > I am currently working on the queue control and bandwidth

Re: [ovs-discuss] OVS queues and precedence

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 08:13:57PM +0100, Łukasz Rząsik wrote: > 2017-10-25 0:05 GMT+02:00 Ben Pfaff <b...@ovn.org>: > > > On Wed, Oct 18, 2017 at 09:17:53AM +0200, Jannis Ohms wrote: > > > Hi > > > > > > > > > I used the following command t

Re: [ovs-discuss] Error communicating with sb database

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 12:38:27PM +0100, Sverker Abrahamsson wrote: > Since an update of ovn/openvswitch the slave switches can't connect to the > master database. In the ovsdb-server-sb.log I get messages like the below: > > 2017-11-13T09:59:35.080Z|00210|stream_ssl|WARN|SSL_accept:

Re: [ovs-discuss] ovs-dpctl problem

2017-11-12 Thread Ben Pfaff
On Fri, Nov 10, 2017 at 07:44:23PM +0800, 焦利涛 wrote: > Hi : > I have a problem that when i use the ovs-dpctl to add a flow into > datapath, it occurs "ovs-dpctl: parsing flow key (Invalid argument)" > > example: > root@jlt:~# ovs-dpctl add-flow system@myDP >

Re: [ovs-discuss] hardware offloading in ovs-2.8

2017-11-07 Thread Ben Pfaff
On Tue, Nov 07, 2017 at 03:49:06PM +0800, 王嵘 wrote: > Hi, > I'm using ovs-dpdk(ovs2.8/dpdk17.05.2), and I want to use the offload > feature. But I dont know how to enable it? > As is represented in the release note 2.8: > >- Addexperimental support for hardware offloading > * HW

Re: [ovs-discuss] group entries are not deleted after del-controller command

2017-11-06 Thread Ben Pfaff
On Fri, Nov 03, 2017 at 02:37:02PM +, Periyasamy Palanisamy wrote: > I have OVS 2.6.1 configured with bridge br-int in fail_mod set to 'secure'. > > There are flows and groups configured by controller in the switch for a VM > attached to it. > > > > After running 'ovs-vsctl del-controller

Re: [ovs-discuss] nd_target is not working at IPv6

2017-11-03 Thread Ben Pfaff
On Fri, Nov 03, 2017 at 04:18:25PM +0200, Andrey Ziltsov wrote: > Hallo!!! > > We have a problem with flow field "nd_target" at IPv6. > > For example. > > We have two VM with virtual interfaces vnet0 and vnet1. > > At the bridge set fail_mode to "secure": > > *# ovs-vsctl list br

Re: [ovs-discuss] IPsec offloading

2017-11-02 Thread Ben Pfaff
On Thu, Nov 02, 2017 at 03:40:16PM +, Stokes, Ian wrote: > > Does the OVS support HW IPsec offload ? can OVS configure the NIC/Network > > adapter to ipsec a specific flow ? > > Hi Avi, this feature isn't available in OVS currently from what I'm aware of. Is there some reason that OVS would

Re: [ovs-discuss] misc.packet_dump issue.

2017-11-02 Thread Ben Pfaff
I don't think this is an OVS problem. You should probably ask about it on a POX or mininet mailing list. On Thu, Nov 02, 2017 at 01:28:28PM +, Lewis Koh via discuss wrote: > Reference to Using POX components to create a software defined networking > application -> Start POX > > | > | > |

Re: [ovs-discuss] Unable to run miniedit

2017-11-02 Thread Ben Pfaff
I don't think this is an OVS problem. You should probably ask about it on a mininet mailing list. On Thu, Nov 02, 2017 at 12:57:20PM +, Lewis Koh via discuss wrote: > I tried to run a topology using miniedit and encountered the following > messages. I had tried sudo mn -c and also sudo

Re: [ovs-discuss] OpenvSwitch Website

2017-11-01 Thread Ben Pfaff
On Wed, Nov 01, 2017 at 01:46:34PM +, Michael Williams wrote: > Is there a problem with the http://openvswitch.org/ website? I noticed > that it became unreachable last night and its still appears to be > down. I think its linode got shut down. I don't know why. Maybe it crashed. You can

Re: [ovs-discuss] Default Openflow Ports

2017-10-26 Thread Ben Pfaff
On Thu, Oct 26, 2017 at 12:08:48AM +, Tommy Romano wrote: > We’re trying to manually set the openflow port numbers for our OVS > bridge ports. What port numbers should we avoid setting? I thought it > was 1-16k and 65534-65535 that are allocated by OVS, but wanted to > confirm. I don't really

Re: [ovs-discuss] [ovs-dev] [OVN] OVN doesn't work using OVS 2.8.1 on Centos 7.3 using conntrack

2017-10-25 Thread Ben Pfaff
On Wed, Oct 25, 2017 at 06:50:29PM +0530, Numan Siddique wrote: > On Wed, Oct 25, 2017 at 3:09 PM, Daniel Alvarez Sanchez <dalva...@redhat.com > > wrote: > > > > > > > On Tue, Oct 24, 2017 at 11:35 PM, Ben Pfaff <b...@ovn.org> wrote: > > > >&g

Re: [ovs-discuss] About the 'clone' action

2017-10-25 Thread Ben Pfaff
On Wed, Oct 25, 2017 at 06:07:41PM +0800, Hui Xiang wrote: > I think I am finally catching a bit with the concept of 'clone' action > after reviewing below patches in order, so the for OVN case, the new > 'clone' action aims to drop most of the OVS patch port, and after add new > ct_clear action,

Re: [ovs-discuss] OVS Flow insert

2017-10-25 Thread Ben Pfaff
On Wed, Oct 25, 2017 at 05:13:03PM +0300, Sara Gittlin wrote: > Can someone refer to the code where a new flow is inserted to > openflow tables in the OVS, as a consequence action of a received > message from a controller? handle_flow_mod() in ofproto.c

Re: [ovs-discuss] OVS queues and precedence

2017-10-24 Thread Ben Pfaff
On Wed, Oct 18, 2017 at 09:17:53AM +0200, Jannis Ohms wrote: > Hi > > > I used the following command to create 4 queues > > ovs-vsctl -- set port s7-eth2 qos=@newqos -- --id=@newqos create qos > type=linux-htb other-config:max-rate=1000 queues:1=@newQ queues:2=@newQ2 > queues:3=@newQ3 --

Re: [ovs-discuss] [ovs-dev] [OVN] OVN doesn't work using OVS 2.8.1 on Centos 7.3 using conntrack

2017-10-24 Thread Ben Pfaff
On Tue, Oct 24, 2017 at 02:27:59PM -0700, Ben Pfaff wrote: > On Tue, Oct 24, 2017 at 11:07:58PM +0200, Daniel Alvarez Sanchez wrote: > > Hi guys, > > > > Great job Numan! > > As we discussed over IRC, the patch below may make more sense. > > It essentially set

Re: [ovs-discuss] [ovs-dev] [OVN] OVN doesn't work using OVS 2.8.1 on Centos 7.3 using conntrack

2017-10-24 Thread Ben Pfaff
On Tue, Oct 24, 2017 at 11:07:58PM +0200, Daniel Alvarez Sanchez wrote: > Hi guys, > > Great job Numan! > As we discussed over IRC, the patch below may make more sense. > It essentially sets the dl_type so that when packet comes from the > controller, it matches > a valid type and

Re: [ovs-discuss] [ovs-dev] [OVN] OVN doesn't work using OVS 2.8.1 on Centos 7.3 using conntrack

2017-10-24 Thread Ben Pfaff
On Tue, Oct 24, 2017 at 09:04:22PM +0530, Numan Siddique wrote: > We did some more investigation. This issue is seen only when OVN native > dhcp is used and with kernel datapath which doesn't support > OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4. The reason for this failure is because > ovs-vswitchd

Re: [ovs-discuss] ovs-vswitch Huge number of netlink file descriptors open

2017-10-23 Thread Ben Pfaff
k_socket|ERR|connect(0): Argument list > too long > 2017-10-21T03:56:10.518Z|422669|netlink_socket|ERR|connect(0): Argument list > too long > 2017-10-21T03:56:10.520Z|422670|netlink_socket|ERR|connect(0): Argument list > too long > 2017-10-21T03:56:10.523Z|422671|netlink_sock

Re: [ovs-discuss] About the 'clone' action

2017-10-23 Thread Ben Pfaff
On Mon, Oct 23, 2017 at 04:28:53PM +0800, Hui Xiang wrote: > I am trying to understand clone action deeply and checking the patch > related with 'clone'[1], where said "The clone action provides an action > envelope to enclose an action list." and "The clone action is very similar > with the

Re: [ovs-discuss] Regarding queue size for each queue configured on openvswitch by using SDN (RYU) controller

2017-10-21 Thread Ben Pfaff
On Fri, Oct 20, 2017 at 10:37:27PM -0700, ANKUR SHETH wrote: > I am currently working on the queue control and bandwidth control for > openvswitches using the SDN controller. > > I am able to configure the multiple queues with required max and min > bandwidth rates) for the egress port , but I

Re: [ovs-discuss] Rate limit based on IP

2017-10-20 Thread Ben Pfaff
On Fri, Oct 20, 2017 at 04:58:06PM +0800, BALL SUN wrote: > I understood that OVS has rate shaping based on port, is there any way > to perform rate shaping on IP level? You can use the flow table to assign packets to queues based on destination IP, then assign different queues different rates

Re: [ovs-discuss] ovs-vswitch Huge number of netlink file descriptors open

2017-10-20 Thread Ben Pfaff
On Fri, Oct 20, 2017 at 06:56:26PM +0800, quan_hp...@heetian.com wrote: > Hi All, > I searched a mail list like my problem. > https://mail.openvswitch.org/pipermail/ovs-discuss/2017-March/043817.html > > $sudo lsof -p $(pidof ovs-vswitchd) | wc -l > 115536 > $cat /proc/$(cat

Re: [ovs-discuss] Cannot install meter

2017-10-16 Thread Ben Pfaff
On Mon, Oct 16, 2017 at 12:17:30PM +0200, Cédric MORIN wrote: > I have a question regarding meters in OVS, I hope this is the correct mailing > list to ask it. > > According to the FAQ "Since version 2.0, Open vSwitch has OpenFlow protocol > support for OpenFlow meters. Currently, only the

Re: [ovs-discuss] Fwd: Send some information from openvswitch to floodlight controller

2017-10-13 Thread Ben Pfaff
On Fri, Oct 13, 2017 at 11:17:28AM +0530, Tanmay Jain wrote: > Is there any way to generate a packet and add some information to it by > writing a script at openvswitch and send it to floodlight controller. And > after receiving that packet at controller how to use that information. You can set

Re: [ovs-discuss] OVS bridge on boot in Debian

2017-10-13 Thread Ben Pfaff
A lot of this comes down to how OVS is an infrastructure layer. Like GCC or another compiler, it generally has to have a program to run before it is very useful. The documentation for using it in particular scenarios generally belongs in the systems (controllers, etc.) that layer on top of it to

Re: [ovs-discuss] OVS bridge on boot in Debian

2017-10-13 Thread Ben Pfaff
Usually "ovs-vsctl set-controller" is the best way to configure a set of controllers. But maybe you are asking about how to configure a set of controllers from /etc/network/interfaces. If so, Guru may have advice (and maybe we should document it). On Thu, Oct 12, 2017 at 11:54:54PM +, Omar

Re: [ovs-discuss] Does it work if netdev datapath connect system datapath through patch ports

2017-10-13 Thread Ben Pfaff
On Fri, Oct 13, 2017 at 06:04:16PM +0800, Hui Xiang wrote: > Is the patch port output logistic within function apply_nested_clone_actions > ? Sorry, I have not totally understood the whole picture on how a packet > through > the datapath flow on the case that goes from netdev datapath patch port_B

Re: [ovs-discuss] Does it work if netdev datapath connect system datapath through patch ports

2017-10-12 Thread Ben Pfaff
On Thu, Oct 12, 2017 at 05:22:14PM +0800, Hui Xiang wrote: >Seems it works with the same datapath type during the discussion in [1] > by finally done a flow of leaving two kernel netdev port communicate > together. > >But in my case I have a setup with two bridges has different datapath >

Re: [ovs-discuss] IGMP Snooping on OVS 2.7.0

2017-10-09 Thread Ben Pfaff
On Mon, Oct 09, 2017 at 04:08:24PM -0600, Sterdnot Shaken wrote: > Just curious why, with igmp snooping enabled on the OVS bridge, I am still > getting multicast traffic on other VM's (that shouldn't be getting it) on > the same vlan? > > Here's how I'm enabling IGMP Snooping: > > > *ovs-vsctl

Re: [ovs-discuss] Apply some packet manipulation actions on outgoing port traffic

2017-10-09 Thread Ben Pfaff
jm > > > On Mon, Oct 9, 2017 at 11:14 PM, Ben Pfaff <b...@ovn.org> wrote: > > > GRE and tunnels are implemented in terms of ports, so if you send a > > packet received on a GRE port to a non-tunnel port, it strips the > > header. > > > > On Mon,

Re: [ovs-discuss] OVSK flow keeps minimal rate

2017-10-09 Thread Ben Pfaff
On Mon, Oct 09, 2017 at 11:25:05PM +0200, Mita Cokic wrote: > I was executing following test case - on 30Mbps link limited OVSK instance > data was pushed as two TCP flows: > - Flow A: 200Kbps > - Flow B: 300Mbps > > I have observed that Flow A bandwidth drops for around 10% but still manages >

Re: [ovs-discuss] Apply some packet manipulation actions on outgoing port traffic

2017-10-09 Thread Ben Pfaff
viding capabilities to match on GTP-C/GTP-U packets). > maybe dumb question, but any pointer on how to remove GRE header (or VXLAN > for that matter) when switching packet from IN port to OUT port and switch > out only internal packet/payload ? > thanks, > jm > > > On Mon, Oct

Re: [ovs-discuss] Apply some packet manipulation actions on outgoing port traffic

2017-10-09 Thread Ben Pfaff
d be great if we could remove tunnel headers before > delivering it to the (monitoring) tool on outgoing port. > > thanks, > jm > > On Mon, Oct 9, 2017 at 6:31 PM, Ben Pfaff <b...@ovn.org> wrote: > > > On Sun, Oct 08, 2017 at 11:19:17PM +0200, Juraj Markotic wrote

Re: [ovs-discuss] Internal Ports and Queues

2017-10-09 Thread Ben Pfaff
On Fri, Oct 06, 2017 at 07:24:15PM -0500, Prabhu wrote: > I am evaluating openvswitch for implementing a load balancing based on Queue > length. > > I know OVS can set queue to ports attached to the bridge using linux tc > utility. > > I would like to know whether I can assign queues to Internal

Re: [ovs-discuss] Apply some packet manipulation actions on outgoing port traffic

2017-10-09 Thread Ben Pfaff
On Sun, Oct 08, 2017 at 11:19:17PM +0200, Juraj Markotic wrote: > we would need some functionality on manipulating packets when packet is > exiting outgoing OVS port. > I.e. some actions could be: change/anonymize mac/IPs for src/dst, or remove > some tunnel header (vxlan, gtp, gre), truncate the

Re: [ovs-discuss] ovs-ofctl vs openflow 1.x vs ?

2017-10-09 Thread Ben Pfaff
On Sun, Oct 08, 2017 at 11:09:23PM -0300, Raymond Burkholder wrote: > I've written some openflow controller code to submit openflow line-protocol > based commands. > > In looking at the ovs-fields document, there appears to be OVS functions > available which are not available via openflow

Re: [ovs-discuss] vswitchd is hanging on service start

2017-10-05 Thread Ben Pfaff
On Thu, Oct 05, 2017 at 11:37:09PM +, Omar Ramadan wrote: > vswitchd is blocking when I try starting the service on system boot. Can > someone help me make sense of this message: > > > vagrant@magma-dev:~$ sudo tail -f /var/log/openvswitch/ovs-vswitchd.log >

Re: [ovs-discuss] About side effect of port mirroring

2017-10-04 Thread Ben Pfaff
On Wed, Oct 04, 2017 at 06:54:39PM +0900, Kurokawa Ryota wrote: > Hi > > I will use port mirroring. > I learned how to use port mirroring by looking at the manual. > > I have one question. > > 「As a side effect, port mirroring causes any packets received on output port > to be ignored.」 > >

<    4   5   6   7   8   9   10   11   12   13   >