Re: [ovs-discuss] Selinux error openvswitch

2016-11-02 Thread Joe Stringer
On 2 November 2016 at 10:09, Ben Pfaff wrote: > On Wed, Nov 02, 2016 at 10:02:27AM -0300, Rony C.T. wrote: >> [root@cloud openvswitch-2.6.0]# rpmbuild -bb rhel/openvswitch.spec >> error: Failed build dependencies: >> selinux-policy-devel is needed by openvswitch-2.6.0-1.x86_64 >> >> >> HELP :(

Re: [ovs-discuss] VXLAN offload not work on openvswitch 2.6.0 + 3.10.45

2016-10-25 Thread Joe Stringer
On 24 October 2016 at 19:39, 张东亚 wrote: > Hi List, > > We have now testing openvswitch 2.6.0 on kernel 3.10.45, however we noticed > there is performance drop than openvswitch 2.5.0 on the same kernel, which > iperf can only have a 2G bandwidth for a pair of 10G links. > > After check the code, it

Re: [ovs-discuss] Time a packet spends in the switch

2016-10-20 Thread Joe Stringer
r doing all the >>> modification, i compile, install and load the module. send some traffic >>> between couple of hosts then see all the log like kernel, dmesg, syslog etc, >>> if nothing works i restore to previous state and restart the process (I'm >>> try

Re: [ovs-discuss] Time a packet spends in the switch

2016-10-19 Thread Joe Stringer
Are you sure that you loaded your newly compiled kernel module? (insmod build_dir/datapath/linux/openvswitch.ko) On 19 October 2016 at 09:40, Danish Sattar wrote: > I've tried in datapath.c, bridge.c, learning-switch.c and flow-table.c but > nothing works. > For kernel module i'm using printk() t

Re: [ovs-discuss] Help to remove openvswitch and reinstall it.

2016-10-14 Thread Joe Stringer
On 14 October 2016 at 08:59, Gaurav Goyal wrote: > I want to remove openvswitch from my platform and reinstall it with correct > configuration. > > Have removed all the packages. but i could still see > > ovs-system: flags=4098 mtu 1500 > ether ea:a6:8d:26:10:7e txqueuelen 0 (Ethernet)

Re: [ovs-discuss] OVS Installation error

2016-09-29 Thread Joe Stringer
On 29 September 2016 at 14:51, Ben Pfaff wrote: > Please don't drop the mailing list. > > This is some kind of problem with your kernel configuration. It's not > OVS-specific, you'd have the same problem installing any other kernel > module. > > I don't know how to help, perhaps someone else can

Re: [ovs-discuss] OVS 2.6.90 & ODL Beryllium

2016-09-28 Thread Joe Stringer
On 28 September 2016 at 06:42, Richard Renwick wrote: > Hi all, > Over the last few days I have been experimenting with NAT in OVS. I > have successfully set up the flows I need using ovs-vsctl but now I want to > do it using the northbound interface of ODL (Beryllium). However, I am

Re: [ovs-discuss] ovs 2.5.0 - Check-System-Userspace Fails

2016-09-27 Thread Joe Stringer
On 24 September 2016 at 09:34, Advith Nagappa wrote: > Hello, > > I have installed ovs 2.5.0 on Ubuntu 14.04(Kernel 4.2.0-27-generic) > Virtualbox on a Windows Host. ( I was able to produce the issue for ovs > 2.3.3 and 2.4.0) > > On running 'make check-system-userspace' , all test cases fail. > >

Re: [ovs-discuss] ovs-vsctl: Error detected while setting up 'gtp0'

2016-09-12 Thread Joe Stringer
On 12 September 2016 at 01:02, Ashish Kurian wrote: > Dear Team, > > I am trying to add a gtp-u implementation to ovs. I applied a patch that was > available with me and gave the following ovs-vsctl command. > > sudo ovs-vsctl add-port br0 gtp0 -- set interface gtp0 type=gtp > options:remote_ip=19

Re: [ovs-discuss] datapath's flow

2016-08-25 Thread Joe Stringer
On 24 August 2016 at 15:13, Amrane Ait Zeouay wrote: > Can you give me a git link for adding a new field in datapath please I don't understand, you said you already added it to sw_key. If you want to know how to add a new field to the datapath, I suggest going into the git logs for an existing f

Re: [ovs-discuss] datapath's flow

2016-08-24 Thread Joe Stringer
On 24 August 2016 at 00:20, Amrane Ait Zeouay wrote: > Hi, > > I want to know which function in datapath that receive the flow from > userspace, and how it cast it to the flow key in datapath, also which > function send the flow in userspace to the datapath ? because i have a field > in struct flo

Re: [ovs-discuss] handler threads

2016-08-16 Thread Joe Stringer
Hi Sugesh, On 11 August 2016 at 08:31, Chandran, Sugesh wrote: > Hi, > I am looking at the data-path flow insertion in OVS. Specifically the upcall > handling in handler threads. According to my understanding, for every new > packet-in, the handler threads process the upcall and insert the > c

Re: [ovs-discuss] Revalidator

2016-08-10 Thread Joe Stringer
On 10 August 2016 at 09:49, Ben Pfaff wrote: > On Wed, Aug 10, 2016 at 11:59:27AM +0200, Amrane Ait Zeouay wrote: >> I'm working on OvS 2.5.0, and I want to know the interest of using >> revalidator, what I know it revalidates the flow in dathapath or something >> like that, > > Yes. > >> and i wa

Re: [ovs-discuss] does ovs 2.5.0 support openflow 1.5?

2016-07-01 Thread Joe Stringer
On 1 July 2016 at 11:23, Big Strong wrote: > I checked the release notes at http://openvswitch.org/releases/NEWS-2.5.0. > And it seems that openflow 1.5 is supported since ovs 2.4.0. But after > install ovs 2.5.0, I checked the version and find it only supports openflow > 1.4, is there any problem

Re: [ovs-discuss] xterm not working

2016-06-28 Thread Joe Stringer
On 26 June 2016 at 15:45, Syed Faraz Ali wrote: > Hello Support, > > I'm using mn --version 2.1.0. My setup is such that I've to run the mininet > command from a remote machine. > > However, I'm unable to run xterm command on mininet. I'm not getting any > output after running the xterm command. >

Re: [ovs-discuss] Error while using ct commands in conntrack+ovs

2016-06-09 Thread Joe Stringer
Are you using the userspace datapath for "mybridge"? Are you using the OVS kernel module from the OVS source or the upstream module that comes with your v4.3.0 kernel? Is your v4.3.0 kernel configured with support for connection tracking, ie CONFIG_NF_CONNTRACK? At the top of your ovs-vswitchd.l

Re: [ovs-discuss] Kernel version- Insmod error

2016-05-23 Thread Joe Stringer
On 23 May 2016 at 08:13, Rajasekaran, Monica wrote: > Hi, > > > > I have been working on my OVS for the past few months and now all of a > sudden when I made some changes and tried to compile, I am not able to. > > > > The following is the scenario: > > > > ./boot.sh > > ./configure --with-linux=/

Re: [ovs-discuss] OVS with NAT Configuration

2016-05-03 Thread Joe Stringer
On 3 May 2016 at 03:21, Sheroo Pratap wrote: > Hi All, > >I trying to do NAT configuration in OVS 2.5.0. I am not getting any > proper documentation for OVS NAT configuration. > > Any help would be highly appreciated, any example will be very help full. OVS 2.5.0 does not support NAT nativel

Re: [ovs-discuss] NAT in OVS

2016-04-29 Thread Joe Stringer
On 28 April 2016 at 15:06, Justin Pettit wrote: > >> On Apr 28, 2016, at 3:21 PM, Joe Stringer wrote: >> >> On 26 April 2016 at 23:35, Prathap T wrote: >>> Hi OvS-Team: >>> >>> Does ovs-2.5 support NAT functionality? From the release notes I only

Re: [ovs-discuss] Support of openvswitch on linux 4.4.0 kernel version

2016-04-28 Thread Joe Stringer
On 28 April 2016 at 09:55, Elluru, Krishna Mohan wrote: > HI All, > I tried compiling openvswitch 2.5.0 in linux 4.4.0 kernel version. I > am getting error message saying kernel version is unsupported. I tried > removing the compilation check, still it is failing(actually looping). > Up

Re: [ovs-discuss] NAT in OVS

2016-04-28 Thread Joe Stringer
On 26 April 2016 at 23:35, Prathap T wrote: > Hi OvS-Team: > > Does ovs-2.5 support NAT functionality? From the release notes I only see > description related to CT. >If NAT support exists, is it dependent on Linux kernel versions or any > kernel patches? No, OVS-2.5 does not support NAT. M

Re: [ovs-discuss] Encap mask attribute is set for non-VLAN frame

2016-04-25 Thread Joe Stringer
On 24 April 2016 at 23:08, wrote: > Hi, dear all: > I 'm using ovs2.5.0, and i find netlink is continuous logging the logs > below, can anyone tell me why? > > [670780.815805] openvswitch: netlink: Encap mask attribute is set for > non-VLAN frame. > [670780.824328] openvswitch: netlink: Encap mas

Re: [ovs-discuss] OVS Polling Timer

2016-04-20 Thread Joe Stringer
explain this? > > Adil > > On Wed, Apr 20, 2016 at 11:16 PM, Joe Stringer wrote: >> >> On 19 April 2016 at 12:56, Adil Ahmad wrote: >> > Hi, >> > >> > I am trying to decrease the time that OVS takes to update its >> > packet/byte &

Re: [ovs-discuss] OVS Polling Timer

2016-04-20 Thread Joe Stringer
On 19 April 2016 at 12:56, Adil Ahmad wrote: > Hi, > > I am trying to decrease the time that OVS takes to update its packet/byte > counters. I was previously told that the line 898 of ofproto-dpif-upcall.c > which is part of function udpif_validator is used to set the timer. The line > is as follo

Re: [ovs-discuss] Error compiling kernel module for OVS 2.5.0

2016-04-13 Thread Joe Stringer
On 13 April 2016 at 13:53, Luca Prete wrote: > Hello everyone, > > I'm trying to install the latest version of OVS (2.5.0) > > I'm getting some errors when trying to install the kernel module, either > when compiling from src or when I create and then install the deb > (specifically in this last c

Re: [ovs-discuss] Implicit causes of rx packet drops

2016-04-13 Thread Joe Stringer
On 13 April 2016 at 08:33, Damiaan Twelker wrote: > Hi, > > I have set up a bridge with 3 physical ports (vlan_mode=access). The > following rules are active in order to redirect data sent from 10.0.0.1 > destined for 10.0.0.2 to 10.0.0.3: > > cookie=0x0, duration=2725.863s, table=0, n_packets=

Re: [ovs-discuss] NAT Action Support in openvswitch

2016-04-05 Thread Joe Stringer
On 5 April 2016 at 03:46, Aswin S wrote: > Hi, > > I was exploring the NAT action support added in OVS. I compiled the master > and installed the OVS(2.5.9). But when I add bridge I could see the info > does not support ct_state_nat in the log > > > 2016-04-05T20:16:08.625Z|00012|ofproto_dpif|INFO

Re: [ovs-discuss] Conntrack module is not building with OVS 2.5

2016-02-07 Thread Joe Stringer
We can see packets are going > to connection tracking functions but haven't found any command to check the > tracked packets info or table. > > This will be helpful if you can send tracking commands. > > Regards, > Sourabh Bansal > On 5 Feb 2016 03:13, "Joe Str

Re: [ovs-discuss] metadata_mask value

2016-02-05 Thread Joe Stringer
On 5 February 2016 at 06:11, David Gabriel wrote: > Dears > > I am writing a controller application and I want to set the metadata filed. > But I am wondering which value shall I set the metadata_mask ? For each bit in the metadata field that you want to modify, you should set that bit in the mas

Re: [ovs-discuss] Tracing packets using ofproto/trace after integration with Conntrack-OVN

2016-02-05 Thread Joe Stringer
On 5 February 2016 at 00:06, Piyush R Srivastava1 wrote: > What i want to send out in the flow is a match for +new,-inv,-est,+trk > > I doubt that ct_tate="new|trk" is same as ct_state=+new,-est,-inv,+trk or is > it the same? It is the same. What you are providing to ofproto/trace is a flow key:

Re: [ovs-discuss] can't build rpm : rhel/openvswitch-kmod-rhel6.spec

2016-02-04 Thread Joe Stringer
On 3 February 2016 at 07:28, Alexandre Callet wrote: > Hi, > > > I am actualy trying to rpmbuild the ovs kmod rhel6 but can't do it . > > did someone already had this problem ? > > > /usr/bin/make -C /usr/src/kernels/3.10.0-327.4.5.el7.x86_64 > M=/root/rpmbuild/BUILD/openvswitch-2.4.90/_default/da

Re: [ovs-discuss] Conntrack module is not building with OVS 2.5

2016-02-04 Thread Joe Stringer
On 27 January 2016 at 22:47, Sourabh Bansal wrote: > Hi OVS Folk, > > I am trying to build ovs 2.5. It's building successfully but not the > conntrack relating files which are present in datapath directory. So in this > way I am not able to see ct (Connection Tracking ) commands. > > Please help m

Re: [ovs-discuss] 回复: small traffic but high CPU load for ovs-vswitchd

2016-02-04 Thread Joe Stringer
Was there anything in kernel or OVS logs? Comparing 'ovs-appctl coverage/show' for the 10% CPU hosts and 100% CPU hosts might give some hint. 'perf' might give some hint. On 29 January 2016 at 16:05, Henry <342619...@qq.com> wrote: > does any one can give me some hint? > > ---原始邮件--- > 发件人: "Hen

Re: [ovs-discuss] Tracing packets using ofproto/trace after integration with Conntrack-OVN

2016-02-04 Thread Joe Stringer
On 4 February 2016 at 10:58, Piyush R Srivastava1 wrote: > Hi Ben, > > Thanks for the reply. My problem still remains unsolved- > > I did as you suggested- > > [root@rhel7-devstack-ovn-154 ~]# ovs-appctl ofproto/trace br-int > ip,in_port=2,dl_src=fa:16:3e:67:8e:03,dl_dst=fa:16:3e:b6:14:52,nw_prot

Re: [ovs-discuss] ConnTracker: any Performance figures?

2016-01-19 Thread Joe Stringer
On 18 January 2016 at 02:40, Fischetti, Antonio wrote: > Hi All, > I'm having a look at the ConnTracker implementation, especially the > one in user-space. > Are there any performance figures for OVS and/or OVS-DPDK with this > feature? Or any test results? I did some comparative-type testing bet

Re: [ovs-discuss] Polling Frequency

2016-01-19 Thread Joe Stringer
Thanks, > Haleema > > On Wed, Dec 23, 2015 at 3:57 AM, Joe Stringer wrote: >> >> On 22 December 2015 at 04:31, Haleema Sadia Mahmood >> wrote: >> > Hi, >> > >> > I wanted to enquire that what is the polling frequency of the open &g

Re: [ovs-discuss] Polling Frequency

2015-12-22 Thread Joe Stringer
On 22 December 2015 at 04:31, Haleema Sadia Mahmood wrote: > Hi, > > I wanted to enquire that what is the polling frequency of the open vswitch > for fetching the flow stats? Can you specify in the code where it is doing it? Roughly 1-2x per second: https://github.com/openvswitch/ovs/blob/master

Re: [ovs-discuss] Assertions/crashes in lib/cmap.* on conntrack branch

2015-12-16 Thread Joe Stringer
r taking so long to get back to this. > > On Nov 23, 2015, at 6:54 PM, Joe Stringer wrote: > > On 20 November 2015 at 10:05, Keith Holleman > wrote: > > > Follow-up email here has the backtrace for the second method of > reproduction. In this case the bridge is not deleted,

Re: [ovs-discuss] Problems in OVS kernel debugging with printk() and dump_stack()

2015-12-15 Thread Joe Stringer
On 14 December 2015 at 20:34, Allan Lue wrote: > Hi, > > I have been trying to debug OVS kernel module with printk and stack_dump(). > Although Wireshark detects the tap > interface (vnet0) receives ICMP packets I was never able to use printk or > dump_stack() to trace the execution > path. Ultima

Re: [ovs-discuss] Assertions/crashes in lib/cmap.* on conntrack branch

2015-11-23 Thread Joe Stringer
On 20 November 2015 at 10:05, Keith Holleman wrote: > > Follow-up email here has the backtrace for the second method of > reproduction. In this case the bridge is not deleted, it was using the loop > logic of effectively these commands: Thanks a lot for the report! Would you be able to apply

Re: [ovs-discuss] meter table creation failed

2015-11-19 Thread Joe Stringer
On 19 November 2015 at 01:36, 林冬艺 wrote: > > When meter table created OFPMMFC_OUT_METERS reported errors. I checked the > manual, found OFPMMFC_OUT_OF_METERS = 10, / * No more meters available. * > /.We hope to get answers. > OVS doesn't support meters. __

Re: [ovs-discuss] Does openvswitch in FreeBSD 10.1 work in Kernel space or only in userspace?

2015-11-16 Thread Joe Stringer
by step how ovs works in > the userspace datapath and in particular on FreeBSD? > Thanks! > > Inviato da Yahoo Mail su Android > <https://overview.mail.yahoo.com/mobile/?.src=Android> > ------ > *Da*:"Joe Stringer" > *Data*:lun, 16 nov,

Re: [ovs-discuss] Does openvswitch in FreeBSD 10.1 work in Kernel space or only in userspace?

2015-11-16 Thread Joe Stringer
On 16 November 2015 at 09:23, Hassan Samii wrote: > Hi, > I've installed openvswitch 2.3.2 using the ports on FreeBSD 10.1 RELEASE. > But, it's not working properly and i keep reading contradicting things. So > i'd like to get this cleared out: > In a FreeBSD 10.1 Realease operating system, does o

Re: [ovs-discuss] openvswich freebsd 10.1 release configuration error

2015-11-12 Thread Joe Stringer
chema" and it doesn't find anything. > I think there's supposed to be a folder called openvswitch which should have > the db settings and all but apparently it doesnt exist. > > > > Il Giovedì 12 Novembre 2015 19:43, Joe Stringer ha > scritto: > > > On

Re: [ovs-discuss] build OpenvSwitch.deb package failed

2015-11-12 Thread Joe Stringer
On 8 November 2015 at 05:04, 俊 赵 wrote: > Hi all, I have some questions to ask. > > First, I am trying to build OpenvSwitch 2.3.2 .deb package in raspberry with > 500MB ram and Debian based Raspberry OS. > > But it failed when testing. > 820: ofproto-dpif - exponential resubmit chain FAILED > (o

Re: [ovs-discuss] openvswich freebsd 10.1 release configuration error

2015-11-12 Thread Joe Stringer
On 12 November 2015 at 01:45, Hassan Samii wrote: > Hi everyone, Firstly i'd like to thank everyone for the amazing work that > your doing. > > To my problem. > I installed Open vSwitch on a FreeBSD 10.1 Release (which resides on a > virtual machine working on Virtualbox). I used the Freshports to

Re: [ovs-discuss] Getting errors when testsuite is run

2015-11-05 Thread Joe Stringer
On 5 November 2015 at 00:22, Kursat Kobya wrote: > Hi All, > > I am trying to understand whether everything is established > correctly or not. When I try to follow instructions in > https://github.com/01org/dpdk-ovs/blob/development/docs/02_Using_Intel_DPDK_vSwitch.md > the ovs-dpdk c

Re: [ovs-discuss] OVS: not able to add conntack flow rules

2015-10-28 Thread Joe Stringer
=ct(table=1) > > but the flow below is not accepted by OVS and returns bad field error: > > table=1,in_port=2,ct_state=+trk,ct_label=1,tcp,action=1 > > Thanks, > Ravi > > -Original Message- > From: Joe Stringer [mailto:joestrin...@nicira.com] > Sent: Mon

Re: [ovs-discuss] Datapath flow eviction rate for 2.x

2015-10-26 Thread Joe Stringer
On 26 October 2015 at 08:32, Andrey Korolyov wrote: > Hi, > > As far as I can see, the default 200k limit for in-datapath rules > working not exactly as suggested, because dpctl shows far lower number > of the active flows and with max-idle for 2.5h: > > system@ovs-system: > lookups: hit:1

Re: [ovs-discuss] OVS: not able to add conntack flow rules

2015-10-26 Thread Joe Stringer
On 25 October 2015 at 21:45, Kenchappa, Ravindra wrote: > Hi, > > I have downloaded and installed OVS 2.4.90 > (https://github.com/justinpettit/ovs/tree/conntrack) and trying to add > conntrack flows via ovs-ofctl. I am able to add few sample flows and I am > getting errors when tried to added the

Re: [ovs-discuss] Is conntrack support working?

2015-10-22 Thread Joe Stringer
On 22 October 2015 at 17:21, Seth Robertson wrote: > > I see openvswitch conntrack support in the source code (master branch) > and discussed in various presentations, but any simple test I attempt > fails utterly as do the test cases in the openvswitch code. > > I specifically just installed Fedo

Re: [ovs-discuss] [ovn] vswitchd seg fault

2015-10-20 Thread Joe Stringer
On 17 October 2015 at 12:46, Murali R wrote: > On Fri, Oct 16, 2015 at 7:45 PM, Ben Pfaff wrote: >> >> On Fri, Oct 16, 2015 at 06:51:41PM -0700, Murali R wrote: >> > This is a neutron/ovn setup. I was just doing regular query >> > commands following some forced set command. And now it is not >> >

Re: [ovs-discuss] Ovs-conntrack code query

2015-10-09 Thread Joe Stringer
in branch and/or kernel distributions? > > Thank, > John > > On Thu, Oct 8, 2015 at 6:59 PM, Joe Stringer wrote: >> >> On 8 October 2015 at 08:25, John Hurley wrote: >> > Hi, >> > >> > Recently I have been looking at the ovs-conntrack branch. >>

Re: [ovs-discuss] Ovs-conntrack code query

2015-10-08 Thread Joe Stringer
On 8 October 2015 at 08:25, John Hurley wrote: > Hi, > > Recently I have been looking at the ovs-conntrack branch. > I am interested in the use of netfilter conntrack templates within the > kernel for storing rule information that can then be linked to the packet > skb and in turn used when passed

Re: [ovs-discuss] [PATCH] Fix A bug about ofp-msgs.h.

2015-09-29 Thread Joe Stringer
Thanks for the patch, I applied it to master. It is easy for patches to be missed if they are sent to bugs@ or discuss@. Usually development (including patches) are sent to d...@openvswitch.org, so please use that list in future :-) On 28 September 2015 at 21:44, Minoru TAKAHASHI wrote: > Hi, >

Re: [ovs-discuss] conntrack marks in ovs not showing up

2015-09-17 Thread Joe Stringer
On 15 September 2015 at 23:54, Ben Warren wrote: > Hi, > > I’m working off Justin Pettit’s ‘conntrack’ tree @ > https://github.com/justinpettit/ovs/tree/conntrack, and can’t seem to get > marks to work. > > Here’s an example of a flow (FTP server) > > === > ovs-ofctl add-flow br0 > "table=3,coo

Re: [ovs-discuss] Connect two ovs in different vm's that are in different machines

2015-09-11 Thread Joe Stringer
On 11 September 2015 at 12:12, Pedro Maia wrote: > Hello, > > I’m trying to create a network environment in which i have two Machines each > with 1 VM running openvswitch. > Both machines are connected to the same switch and the VMs are using the same > vlan which is mapped on that switch. > It’

Re: [ovs-discuss] MPLS push - OVS 2.4

2015-09-08 Thread Joe Stringer
Are you using the openvswitch DKMS module that comes with OVS-2.4 or the openvswitch module that comes with Linux-3.11? On 7 September 2015 at 15:36, Seyed Hossein Mortazavi wrote: > Hi, > > I'm running OVS 2.4 on Ubuntu 14.04 with Kernel 3.11. > > I'm trying to add MPLS headers (and then pop the

Re: [ovs-discuss] UserSpace <-> KernelSpace

2015-08-12 Thread Joe Stringer
On 10 August 2015 at 11:16, Dave Waters wrote: > > > On Mon, Aug 10, 2015 at 7:50 PM, Abhishek Verma > wrote: >> >> Hi, >> >> Flow entries in the kernel data plane expire every 5 secs. This means that >> if i get a packet once every 6 secs then that packet will always get routed >> to the user sp

Re: [ovs-discuss] How to install OvS with a specific version number(say 2.1.3)

2015-08-07 Thread Joe Stringer
arlier. But it automatically looks for 3.16. How do I change this line so it > can take 3.11.x instead? I couldn’t locate it. > > Thank you. > > -Original Message- > From: Joe Stringer [mailto:joestrin...@nicira.com] > Sent: Friday, August 07, 2015 12:45 PM > To: Ta

Re: [ovs-discuss] recirculation on custom action.

2015-08-07 Thread Joe Stringer
On 4 August 2015 at 13:45, David Evans wrote: > Hi OVS > > I¹d like to trigger a recirculation based on a packet modifying action. > What¹s the best way to do this? > > > 1. add another custom action? > 2. Add a compose_recirculate_action() in do_xlate_actions() for my custom > action? > 3. Anothe

Re: [ovs-discuss] How to install OvS with a specific version number(say 2.1.3)

2015-08-07 Thread Joe Stringer
On 7 August 2015 at 07:55, Tandulwadkar, Sanket Ravindra (Sanket Ravindra) wrote: > Hi, > > > > I want to install a slightly older version of OvS on my Ubuntu VM. When I > use > > > > apt-get install openvswitch-controller openvswitch-brcompat \ > > openvswitch-switch openvswitch-datapath-source >

Re: [ovs-discuss] packets getting dropped at egress

2015-07-24 Thread Joe Stringer
Have you tried decreasing the MTU of portA such that packets are encapsulated they're <=1500B? On 23 July 2015 at 08:19, Dave Waters wrote: > Its not. But how do i ensure that my packet does not get dropped somewhere > downstream, since i have now increased it beyond the original value? > > On Th

Re: [ovs-discuss] Need help to verify SCTP traffic using openvswitch

2015-07-22 Thread Joe Stringer
What do you mean by verify? You'll need to be more specific on your configuration, what openflow flows you have, etc. Specifically what is the difference between the behaviour you expect and the behaviour you see? On 22 July 2015 at 06:45, soumya kumar wrote: > Hi, > > I want to verify SCTP traf

Re: [ovs-discuss] How to set the best setting to test packet processing performance?

2015-07-16 Thread Joe Stringer
On 16 July 2015 at 13:08, Ben Pfaff wrote: > On Thu, Jul 16, 2015 at 11:22:29AM -0700, Hao Wu wrote: >>Yes, you are right. I find the bottleneck is tcprelay which only >> generates packets at 750Kpps. But even when I add more hosts to send >> packets in parallel, I can't get a higher generatio

Re: [ovs-discuss] ovs-conntrack action ordering?

2015-07-10 Thread Joe Stringer
On 25 June 2015 at 03:23, Joe Stringer wrote: > Good example. I agree that the ovs conntrack support should consider > the ordering this way. Setting conn_mark/conn_label is also relevant > to this, as they are currently done via commit_odp_actions(). So they > cannot be done befo

Re: [ovs-discuss] ovs-conntrack helper functions

2015-07-10 Thread Joe Stringer
On 9 July 2015 at 04:59, John Hurley wrote: > Hi, > > I have a few queries about the use of helper functions in ovs-conntrack. > I've tried multiple tests and cannot get the ftp expected flows to work > correctly. > > As an example, take the following rules: > > ovs-ofctl add-flow br0 "tcp,conn_st

Re: [ovs-discuss] ovs-vswitchd: ovs|15644|odp_util(revalidator_1168)|ERR|mask expected for non-Ethernet II

2015-07-08 Thread Joe Stringer
On 8 July 2015 at 00:26, Hongjin Wei wrote: > > > All, > > In my openstack environment, I used ovs for the network plugin. Everything > works fine. but I nonitce there are lots of record update in > /var/log/message like this: > YB-CH242-02 Jun 9 20:17:51 YB-CH242-02 ovs-vswitchd: > ovs|15643|od

Re: [ovs-discuss] ovs-conntrack action ordering?

2015-06-25 Thread Joe Stringer
ction() to ensure the actions are committed if a > recirculation action occurs outside of conntrack. > > Thanks, > John > > > > > On Thu, Jun 25, 2015 at 10:05 AM, Joe Stringer > wrote: >> >> Hi John, >> >> Thanks for reporting this. It sounds l

Re: [ovs-discuss] ovs-conntrack action ordering?

2015-06-25 Thread Joe Stringer
Hi John, Thanks for reporting this. It sounds like a bug. As an OpenFlow user, It would be surprising for the order of these actions in the action list to be rearranged like you report. For many fields this doesn't matter (eg, if you only write IP then write TCP port), however for conntrack, the o

Re: [ovs-discuss] New test case - it fails

2015-06-10 Thread Joe Stringer
Hi Tony, On 10 June 2015 at 01:50, Tony van der Peet wrote: > * git clone carried out Wednesday 10/Jun/2015 (NZ time) Great, we always develop against the tip of master. > * test case suggested by a failing oftest case > * is this in the correct test file? Yes, this is an appropriate file. I'v

Re: [ovs-discuss] Regd the bug in open flow v switch

2015-05-29 Thread Joe Stringer
This works fine for me. Can you provide more specific reproduction instructions, including expected result, actual result? On 29 May 2015 at 01:48, wrote: > Hi > > > > This is to inform the bug about Destination MAC Address command in open > flow v switch. The syntax of the command is > >

Re: [ovs-discuss] |timeval|WARN|Unreasonably long 2020ms poll interval (365882ms user, 464906ms system)

2015-05-27 Thread Joe Stringer
gt; Port "phy-br-eth1" > Interface "phy-br-eth1" > type: patch > options: {peer="int-br-eth1"} > ovs_version: "2.3.1" > > > eth3 is physical NIC. > The bidge of OVS is created by: > ovs-vsctl add-br br-int &g

Re: [ovs-discuss] |timeval|WARN|Unreasonably long 2020ms poll interval (365882ms user, 464906ms system)

2015-05-26 Thread Joe Stringer
|timeval|WARN|Unreasonably long 2021ms poll > interval (83029ms user, 96728ms system) > 2015-05-18T23:21:51.729Z|00198|timeval|WARN|faults: 841 minor, 0 major > 2015-05-18T23:21:51.729Z|00199|timeval|WARN|disk: 0 reads, 144 writes > 2015-05-18T23:21:51.729Z|00200|timeval|WARN|context swit

Re: [ovs-discuss] |timeval|WARN|Unreasonably long 2020ms poll interval (365882ms user, 464906ms system)

2015-05-22 Thread Joe Stringer
On 19 May 2015 at 03:32, yangwanli wrote: > Hi, > I'm a cloud computing R&D engineer. Use OVS as virtual switch, all virtual > machines and containers communicate with OVS. > I use OVS VLAN. > OpenvSwitch Version 2.3.1 (nothing change) > CentOS 6.6 > In the process of I use, encounter the flowin

Re: [ovs-discuss] Crash in openvswitch 2.0.2

2015-05-08 Thread Joe Stringer
Marco, James, I wonder if this patch fixes the issue: https://github.com/openvswitch/ovs/commit/546953509095cec6fad42663b659171618b765d2 Note that the last three lines within the bad_key_len / bad_mask_len conditional statement are the following: format_generic_odp_key(ma, ds); ds_put_char(ds, '

[ovs-discuss] Potential OVS+OpenStack Kilo issue

2015-04-16 Thread Joe Stringer
I had a lengthy discussion with someone in IRC last night who observed some odd behaviour in OVS-2.3 userspace + module from Linux-3.16. It seems like if OVS >= 2.3 is paired with OVS module from Linux <= 3.16, then only one handler thread will handle traffic even if multiple such threads exist. Th

Re: [ovs-discuss] having trouble while trying to install OVS-2.3.1 in Ubuntu 14.04 LTS 64 bit

2015-04-14 Thread Joe Stringer
s an error like > the one showed in the screenshot attached. > > It seems the file openvswitch-2.3.1 is not present inside /users/peertest/ > > how is this even possible? anywhere wrong in the sequence? > > > > Thanks > > Sanghamitra > > On Fri, Apr 10, 2015

Re: [ovs-discuss] having trouble while trying to install OVS-2.3.1 in Ubuntu 14.04 LTS 64 bit

2015-04-09 Thread Joe Stringer
You built and installed the kernel module, but skipped the userspace utilities. After ./configure ..., you need to 'make' and 'make install'. On 8 April 2015 at 03:29, Sanghamitra De wrote: > Hi, > To install OVS-2.3.1 in Ubuntu 14.04 LTS 64 bit, I used the following > command sequence which wen

Re: [ovs-discuss] Crash in openvswitch 2.0.2

2015-04-03 Thread Joe Stringer
.ch/> > > Marco Kuendig / CEO / Founder > ma...@nuvula.ch / +41 78 751 99 71 > > Marco's Google Hangout > <https://plus.google.com/hangouts/_/nuvula.ch/marco> > > Nuvula AG - Hybrid Clouds > Weierbachstrasse 7b 8193 Eglisau Switzerland > http://www.nuvula.ch >

Re: [ovs-discuss] Crash in openvswitch 2.0.2

2015-03-31 Thread Joe Stringer
5 in main (argc=, argv= out>) at ../vswitchd/ovs-vswitchd.c:119 > (gdb) > > > > [image: Nuvula AG] <http://www.nuvula.ch/> > > Marco Kuendig / CEO / Founder > ma...@nuvula.ch / +41 78 751 99 71 > > Marco's Google Hangout > <https://plus.google.com/hangou

Re: [ovs-discuss] Crash in openvswitch 2.0.2

2015-03-31 Thread Joe Stringer
tware/gdb/bugs/>. > Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbol

Re: [ovs-discuss] Crash in openvswitch 2.0.2

2015-03-31 Thread Joe Stringer
For the 'File format not recognized' problem, you might have better luck with the 'crash' utility. $ crash On 31 March 2015 at 08:16, Marco Kuendig wrote: > Have tried this: > > http://openvswitch.org/pipermail/discuss/2015-February/016582.html > > this is the output, so doesn't seem to be co

Re: [ovs-discuss] ovs-conntrack kernel panic

2015-03-25 Thread Joe Stringer
ating. There are several new tests in tests/kmod-traffic.at; The python script for running those tests requires pyftpdlib. On 24 March 2015 at 23:04, Joe Stringer wrote: > FYI I'm planning to update this branch this week - hopefully tomorrow, > so you might have better luck with that ver

Re: [ovs-discuss] ovs-conntrack kernel panic

2015-03-24 Thread Joe Stringer
FYI I'm planning to update this branch this week - hopefully tomorrow, so you might have better luck with that version. Cheers, Joe On 24 March 2015 at 20:29, Joe Stringer wrote: > Hmm. You might be able to get more information about how the > datapath(incl. conntrack) is identifyi

Re: [ovs-discuss] ovs-conntrack kernel panic

2015-03-24 Thread Joe Stringer
m happening. > > John > > > On Tue, Mar 24, 2015 at 9:56 AM, John Hurley > wrote: >> >> Hi Joe, >> >> Thanks for the response. >> I have ensured the nf_conntrack_ipv4 module is loaded but still cannot get >> the commit to work. >>

Re: [ovs-discuss] ovs-conntrack kernel panic

2015-03-23 Thread Joe Stringer
Hi John, I strongly suspect in this case, conntrack has been unable to identify the connection. There's two parts to this: Perhaps you need to load nf_conntrack_ipv4? if that module is not loaded, then conntrack cannot identify any IP traffic. Separately, to address the crash, the line with the nf

Re: [ovs-discuss] [PATCH] hash: Improve 128-bit hash to 32-bit output.

2015-02-26 Thread Joe Stringer
nd >> some code that can help measure such properties of hashes: >> >> http://burtleburtle.net/bob/hash/index.html >> >> Specifically the "tests" section may offer a good start for measuring the >> characteristics of the hash output with quantitative re

Re: [ovs-discuss] use of datapath/vport in OVS

2015-02-14 Thread Joe Stringer
On 8 February 2015 at 22:44, Sumit Paliwal wrote: > Hello everyone, > > I'm in a little bit confusion here. > I've read that there are 2 dpif implementations in ovs named as dpif-linux > and dpif-netdev. > > I want to know :- > 1. which implementation is used by default in mininet environment and

Re: [ovs-discuss] dpif-netdev usage

2015-01-29 Thread Joe Stringer
On 29 January 2015 at 14:07, Federico Di Domenicantonio wrote: > > So, can ovs-dpctl work with dpif-netdev? No. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] dpif-netdev usage

2015-01-29 Thread Joe Stringer
On 28 January 2015 at 15:38, Federico Di Domenicantonio wrote: > Hello, > > I'm trying to use the userspace-only implementation of Open vSwitch (with > dpif-netdev datapath). I followed the installation instructions provided, > but when I start the daemon I get the following error: > > |1|dpif

Re: [ovs-discuss] 回复: how to add flow using ovs-dpctl?

2015-01-27 Thread Joe Stringer
You don't need to write "actions:". I believe there is also some requirement to include an ethernet or ethertype match. Note that if you're running ovs-vswitchd, you'll probably end up arguing with it about kernel flow management--ie, it will delete your flows. This is the sort of detail that shou

Re: [ovs-discuss] [openvswitch 2.3.1] testsuite: 350 815 817 failed

2015-01-15 Thread Joe Stringer
Hi Simon, Could you provide a little more detail on your environment - specifically, how many cores are available to the VM and is the host under high load? There are some race conditions in the testsuite that are more likely to trigger when there is limited compute resource available. Test 350 (

Re: [ovs-discuss] Resending request for a new API between controller and switch

2015-01-07 Thread Joe Stringer
Woops, missed the sibling thread. Please disregard. On 7 January 2015 at 09:46, Joe Stringer wrote: > Is there something particular that you're trying to achieve which > standard OpenFlow cookies do not provide? > > On 5 January 2015 at 23:24, Ashok Chippa wrote: >>

Re: [ovs-discuss] Resending request for a new API between controller and switch

2015-01-07 Thread Joe Stringer
Is there something particular that you're trying to achieve which standard OpenFlow cookies do not provide? On 5 January 2015 at 23:24, Ashok Chippa wrote: > Hi, > > Could someone please let me know if my request can be accomodated... > > I have asked a few times for this before, but I'll ask aga

Re: [ovs-discuss] Failing ovs tests on big-endian system

2014-12-24 Thread Joe Stringer
On 23 December 2014 at 15:15, Mijo Safradin wrote: > > Hi Joe, > >> >> Would you be able to test the patch below and tell me if it fixes the >> issue on your platform and provide a log if it doesn't? > > > I applied the patch and the test does pass now. Thanks for testing, I'll fix up the build f

[ovs-discuss] [PATCH] hash: Improve 128-bit hash to 32-bit output.

2014-12-22 Thread Joe Stringer
. XXX: Also modify the u64 accessors for ovs_u128 on big_endian systems. XXX: Also don't exit immediately on hash test failure. Signed-off-by: Joe Stringer --- Resend due to GMail wrapping long lines. --- include/openvswitch/types.h |4 lib/dpif-netdev.c |2 +-

Re: [ovs-discuss] Failing ovs tests on big-endian system

2014-12-22 Thread Joe Stringer
468cdd91c3bc21acde1d98250def7d9330204b8e is the first bad commit > commit 468cdd91c3bc21acde1d98250def7d9330204b8e > Author: Joe Stringer > Date: Tue Aug 12 11:12:12 2014 +1200 > > hash: Add 128-bit murmurhash. > > Add the 128-bit murmurhash by Austin Appleby, r150 from: >

Re: [ovs-discuss] Reg pushing two mpls labels

2014-11-20 Thread Joe Stringer
You'll probably find some lines like this in your ovs-vswitchd.log: 2014-11-19T22:19:43.069Z|7|ofproto_dpif|WARN|system@ovs-system: MPLS stack length feature probe failed (Numerical result out of range) 2014-11-19T22:19:43.069Z|8|ofproto_dpif|INFO|system@ovs-system: MPLS label stack length

Re: [ovs-discuss] problem with open vswitch controller

2014-10-06 Thread Joe Stringer
Perhaps it is packaged as openvswitch-testcontroller. Try that instead. On 2 October 2014 15:08, est B.y wrote: > > Hi, > I need to install open vswitch controller on my laptop with ubuntu 14.04 > operating system, I installed open vswitch version 2.3 but controller > doesn't be with the package

  1   2   >