Re: [ovs-dev] [PATCH v5] datapath-windows: Add support for UDP and ICMP to Conntrack Module

2016-06-13 Thread Alin Serdean
Hi Sai, Thanks for incorporating the comments so far. It looks good but we need to treat corner cases like no valid resource allocations and NULL checks for parameter. A few small nits inlined. Thanks, Alin. <---cut> > ctx->key.src.port = flowKey->ipKey.l4.tpSrc; >

Re: [ovs-dev] [PATCH monitor_cond V7 00/10] Conditional monitor implementation

2016-06-13 Thread Liran Schour
Hui Kang/Watson/IBM wrote on 13/06/2016 07:58:41 PM: > "dev" wrote on 06/13/2016 07:19:25 AM: > > > From: Liran Schour > > To: b...@ovn.org > > Cc: d...@openvswitch.com > > Date: 06/13/2016 08:29 AM > > Subject: [ovs-dev] [PATCH monitor_cond V7

Re: [ovs-dev] [PATCH] datapath-windows: use ip proto for tunnel port lookup

2016-06-13 Thread Alin Serdean
Please disregard this review I it was intended for the V2 (https://patchwork.ozlabs.org/patch/629912/) Thanks, Alin. > -Mesaj original- > De la: dev [mailto:dev-boun...@openvswitch.org] În numele Alin Serdean > Trimis: Tuesday, June 14, 2016 7:01 AM > Către: Nithin Raju

Re: [ovs-dev] [PATCH v2] datapath-windows: use ip proto for tunnel port lookup

2016-06-13 Thread Alin Serdean
Hi Nithin, Thanks for the patch. Beside a few small nits regarding whitespace and extra comments, please see considerations to GRE tunnels in inlined comments. Alin. > -if (tunnelVport) { > +break; > +case OVS_VPORT_TYPE_VXLAN: >

[ovs-dev] [RFC PATCH 02/14] Add NSH fields for Openvswitch flow key

2016-06-13 Thread Johnson Li
Openvswitch could use the fields of Network Serivce Header(NSH) as key to steer traffic to the Virtual Network Functions(VNF). Signed-off-by: Johnson Li diff --git a/datapath/flow.c b/datapath/flow.c index c97c9c9..fd09cec 100644 --- a/datapath/flow.c +++ b/datapath/flow.c

Re: [ovs-dev] [PATCH v2] netdev-dpdk: Remove vhost send retries when no packets have been sent.

2016-06-13 Thread Ilya Maximets
Looks good to me. Acked-by: Ilya Maximets On 11.06.2016 02:08, Daniele Di Proietto wrote: > Thanks for the patch, it looks good to me. > > If everybody agrees (Ilya?) I can push this to master. > > Thanks, > > Daniele > > 2016-06-10 9:49 GMT-07:00 Kevin Traynor

[ovs-dev] How To Start Make $950 daily Online?

2016-06-13 Thread Johnathon Oneil
Hey, You are successfully selected for Auto Trader System.. In Case, If you don’t know what "Auto trader" is.. It’s an online trading software.. Allowing the users to Make up to $10,000/Day.. (NO Experience Required) Please Get Your Free Access Now: http://printsandijital.com/Fc0nSg

[ovs-dev] [PATCH V4] Function tracer to trace all function calls

2016-06-13 Thread nghosh
In some circumstances, we might need to figure out where in code, the CPU time is being spent most, so as to pinpoint the bottleneck and thereby resolve it with proper changes. Using '-finstrument-functions' flag, that can be achieved, and this patch exactly does that. There is a python file

Re: [ovs-dev] [PATCH] datapath-windows: use ip proto for tunnel port lookup

2016-06-13 Thread Alin Serdean
Hi Nithin, Thanks for the patch. Beside a few small nits regarding whitespace and extra comments, please see considerations to GRE tunnels in inlined comments. Alin. > -if (tunnelVport) { > +break; > +case OVS_VPORT_TYPE_VXLAN: >

[ovs-dev] [PATCH v2] ipfix: Bug fix for not sending template packets on 32-bit OS

2016-06-13 Thread Benli Ye
'last_template_set_time' in truct dpif_ipfix_exporter is declared as time_t and time_t is long int type. If we initialize 'last_template_set_time' as TIME_MIN, whose value is -2147483648 on 32-bit OS and -2^63 on 64-bit OS. There will be a problem on 32-bit OS when comparing

Re: [ovs-dev] [PATCH v4] Add configurable OpenFlow port name.

2016-06-13 Thread Xiao Liang
On Mon, Jun 6, 2016 at 9:35 AM, Ben Pfaff wrote: > On Sun, Jun 05, 2016 at 12:57:02AM +0800, Xiao Liang wrote: >> On Sat, Jun 4, 2016 at 1:15 AM, Ben Pfaff wrote: >> > On Tue, May 24, 2016 at 03:07:23PM +0800, Xiao Liang wrote: >> >> Add new column "ofname" in

Re: [ovs-dev] [PATCH v2 2/2] netdev-dpdk: Support user-defined socket attribs

2016-06-13 Thread Ansis Atteka
On 13 June 2016 at 14:36, Aaron Conole wrote: > Daniele Di Proietto writes: > > > On 10/06/2016 10:51, "Aaron Conole" wrote: > > > >>Aaron Conole writes: > >> > >>> Christian Ehrhardt

Re: [ovs-dev] [PATCH v2] datapath-windows: Sample action support.

2016-06-13 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean > -Mesaj original- > De la: dev [mailto:dev-boun...@openvswitch.org] În numele Sorin Vinturis > Trimis: Wednesday, June 1, 2016 6:50 PM > Către: dev@openvswitch.org > Subiect: [ovs-dev] [PATCH v2] datapath-windows: Sample

Re: [ovs-dev] [PATCH 00/10] datapath: NAT backports

2016-06-13 Thread Jesse Gross
On Thu, Jun 9, 2016 at 3:45 PM, Jarno Rajahalme wrote: > This series adds the conntrack NAT integration upstreamed in Linux 4.6 > to the OVS tree kernel module. Main code is the same as upstream, > backports are provided for Linux kernels 3.10 - 4.3. Code compiles on > the latest

Re: [ovs-dev] [PATCH v2] datapath-windows: Sample action support.

2016-06-13 Thread Nithin Raju
Acked-by: Nithin Raju -Original Message- From: dev on behalf of Sorin Vinturis Date: Wednesday, June 1, 2016 at 8:50 AM To: "dev@openvswitch.org" Subject: [ovs-dev] [PATCH v2]

Re: [ovs-dev] [PATCH v3] datapath-windows: Add GRE checksum

2016-06-13 Thread Nithin Raju
>> >>-Mesaj original- >> De la: Nithin Raju [mailto:nit...@vmware.com] >> Trimis: Wednesday, June 8, 2016 10:10 PM >> Către: Alin Serdean ; >> dev@openvswitch.org >> Subiect: Re: [ovs-dev] [PATCH v3] datapath-windows: Add GRE checksum >> >> >> >+/*

Re: [ovs-dev] [PATCH 4/5] datapath-windows: Add support for Conntrack IPCTNL_MSG_CT_DELETE cmd in Datapath.c

2016-06-13 Thread Sairam Venugopal
I missed out () in: if (!IS_NFNL_CMD(usrParamsCtx->ovsMsg->nlMsg.nlmsgType) && (usrParamsCtx->ovsMsg->genlMsg.cmd == OVS_CTRL_CMD_EVENT_NOTIFY || usrParamsCtx->ovsMsg->genlMsg.cmd == OVS_CTRL_CMD_READ_NOTIFY)) I have addressed this in an updated version. I will

[ovs-dev] [PATCH 4/5] datapath-windows: Add support for Conntrack IPCTNL_MSG_CT_DELETE cmd in Datapath.c

2016-06-13 Thread Sairam Venugopal
Create new NETLINK_CMD and NETLINK_FAMILY to assist in flushing conntrack entries. Modify Datapath.c to now support netfilter-netlink messages apart from the existing netfilter-generic messages. Also hookup the command handler to execute the OvsCtFlush in Conntrack.c Signed-off-by: Sairam

[ovs-dev] [PATCH 1/5] Windows: Add netfilter-conntrack header files to Include folder

2016-06-13 Thread Sairam Venugopal
Include netfilter-conntrack header files in user-space. This will be used by Windows userspace for adding debugging support in Conntrack. Some of these files are intentionally left blank and will be updated once relevant support is added in Windows datapath. Signed-off-by: Sairam Venugopal

[ovs-dev] [PATCH 2/5] datapath-windows: Add support for Netfilter netlink message

2016-06-13 Thread Sairam Venugopal
Introduce NF_GEN_MSG_HDR similar to GENL_MSG_HDR that will be used for communicating via netfilter-netlink channel. This will be used by userspace to retrieve and modify Conntrack data in Windows. Signed-off-by: Sairam Venugopal --- datapath-windows/ovsext/Netlink/Netlink.c

[ovs-dev] [PATCH 3/5] datapath-windows: Add support for flushing conntrack entries

2016-06-13 Thread Sairam Venugopal
Flush out all conntrack entries or those that match a given zone. Since the conntrack module is internal to OVS in Windows, this functionality needs to be added in. Signed-off-by: Sairam Venugopal --- datapath-windows/ovsext/Conntrack.c | 75

[ovs-dev] [PATCH 5/5] Windows: Add conntrack-flush support in userspace

2016-06-13 Thread Sairam Venugopal
Modify dpif-netlink.c and netlink-conntrack.c to send down flush command to Windows datapath. Include netlink-conntrack.c and netlink-conntrack.h in automake.mk for Windows binaries. Windows currently supports only NETLINK_GENERIC port. In order to support the NETLINK_NETFILTER messages, the port

[ovs-dev] [PATCH 0/5] Windows: Add support for conntrack-flush command

2016-06-13 Thread Sairam Venugopal
Conntrack module is part of OVS datapath on Windows and lacks support netlink support. The following patches adds support in Windows datapath for accepting netfilter-netlink messages from userspace and executing the command. The current version adds support for flushing conntrack entries by

Re: [ovs-dev] [PATCH 1/3] ofproto-dpif-upcall: Translate input port as part of upcall translation.

2016-06-13 Thread Daniele Di Proietto
2016-06-13 13:47 GMT-07:00 Jesse Gross : > On Mon, Jun 13, 2016 at 1:16 PM, Daniele Di Proietto > wrote: > > > > 2016-06-09 17:46 GMT-07:00 Jesse Gross : > >> > >> When we generate wildcards for upcalled flows, the flows and therefore > >>

[ovs-dev] [PATCH v2] ofp-util: Fix parsing of parenthesized values within key-value pairs.

2016-06-13 Thread Ben Pfaff
Reported-by: james hopper Reported-at: http://openvswitch.org/pipermail/discuss/2016-June/021662.html Signed-off-by: Ben Pfaff --- v1->v2: Fold in Andy Zhou's coding style suggestions. AUTHORS | 1 + lib/ofp-util.c| 111

Re: [ovs-dev] [PATCH] ofp-util: Fix parsing of parenthesized values within key-value pairs.

2016-06-13 Thread Ben Pfaff
On Mon, Jun 13, 2016 at 12:47:02PM -0700, Andy Zhou wrote: > On Sun, Jun 12, 2016 at 5:43 PM, Ben Pfaff wrote: > > > Reported-by: james hopper > > Reported-at: > > http://openvswitch.org/pipermail/discuss/2016-June/021662.html > > Signed-off-by: Ben Pfaff

Re: [ovs-dev] [PATCH v6] ipfix: add support for exporting ipfix statistics

2016-06-13 Thread Ben Pfaff
On Mon, Jun 13, 2016 at 11:57:13AM +0800, Benli Ye wrote: > It is meaningful for user to check the stats of IPFIX. > Using IPFIX stats, user can know how much flows the system > can support. It is also can be used for performance check > of IPFIX. Thanks, applied.

Re: [ovs-dev] [PATCH] ovs-vsctl: Support identifying Flow_Sample_Collector_Set records by id.

2016-06-13 Thread Ben Pfaff
On Fri, Jun 10, 2016 at 09:00:21PM -0700, Andy Zhou wrote: > On Fri, Jun 10, 2016 at 3:19 PM, Ben Pfaff wrote: > > > This allows commands like > > ovs-vsctl list Flow_Sample_Collector_Set 123 > > if there's a record with id 123. It's not perfect, since there can be > > more

Re: [ovs-dev] [PATCH] Change acinclude to support 4.6 kernels

2016-06-13 Thread pravin shelar
On Sun, Jun 12, 2016 at 4:49 AM, Ryan Moats wrote: > Jesse Gross wrote on 06/09/2016 02:49:38 PM: > >> From: Jesse Gross >> To: Ryan Moats/Omaha/IBM@IBMUS >> Cc: ovs dev >> Date: 06/09/2016 02:50 PM >> Subject: Re:

Re: [ovs-dev] Group with select type

2016-06-13 Thread Ben Pfaff
You'd have to add such a field, as I said. On Mon, Jun 13, 2016 at 04:50:54PM -0400, Junguk Cho wrote: > Hi. > > Thank you for reply. > > I looked for a document. However, I cannot find how to set ICMP seq number > and then selecting on the least-significant bit. > > Would you please give an

Re: [ovs-dev] [PATCH v2 2/2] netdev-dpdk: Support user-defined socket attribs

2016-06-13 Thread Aaron Conole
Daniele Di Proietto writes: > On 10/06/2016 10:51, "Aaron Conole" wrote: > >>Aaron Conole writes: >> >>> Christian Ehrhardt writes: >>> On Tue, May 24, 2016 at 4:10 PM, Aaron Conole

Re: [ovs-dev] [PATCH] netlink-notifier: Support multiple groups.

2016-06-13 Thread Jarno Rajahalme
Thanks for the review Pravin! I fixed this before merging just a minute ago. Jarno > On Jun 7, 2016, at 4:54 PM, pravin shelar wrote: > > On Thu, May 26, 2016 at 4:29 PM, Jarno Rajahalme > wrote: >> A netlink notifier ('nln') already

Re: [ovs-dev] [PATCH] netlink-notifier: Support multiple groups.

2016-06-13 Thread Jarno Rajahalme
Thanks for the review! Applied to master with changes indicated, with one response below, Jarno > On Jun 2, 2016, at 7:19 AM, Thadeu Lima de Souza Cascardo > wrote: > > On Thu, May 26, 2016 at 04:29:28PM -0700, Jarno Rajahalme wrote: >> A netlink notifier ('nln')

Re: [ovs-dev] [PATCH v4 04/17] conntrack: New userspace connection tracker.

2016-06-13 Thread Joe Stringer
On 10 June 2016 at 15:47, Daniele Di Proietto wrote: > This commit adds the conntrack module. > > It is a connection tracker that resides entirely in userspace. Its > primary user will be the dpif-netdev datapath. > > The module main goal is to provide

Re: [ovs-dev] Group with select type

2016-06-13 Thread Junguk Cho
Hi. Thank you for reply. I looked for a document. However, I cannot find how to set ICMP seq number and then selecting on the least-significant bit. Would you please give an example or forward me to an reference. Thanks. Junguk 2016-06-13 12:43 GMT-04:00 Ben Pfaff : > On Mon,

Re: [ovs-dev] [PATCH 1/3] ofproto-dpif-upcall: Translate input port as part of upcall translation.

2016-06-13 Thread Jesse Gross
On Mon, Jun 13, 2016 at 1:16 PM, Daniele Di Proietto wrote: > > 2016-06-09 17:46 GMT-07:00 Jesse Gross : >> >> When we generate wildcards for upcalled flows, the flows and therefore >> the wildcards, are in OpenFlow format. These are mostly the same but >>

[ovs-dev] [PATCH v6] datapath-windows: Add Geneve support

2016-06-13 Thread Yin Lin
Signed-off-by: Yin Lin --- datapath-windows/automake.mk | 2 + datapath-windows/ovsext/Actions.c | 74 ++- datapath-windows/ovsext/Debug.h| 1 + datapath-windows/ovsext/DpInternal.h | 29 ++- datapath-windows/ovsext/Flow.c | 173

[ovs-dev] [PATCH v6] datapath-windows: Add Geneve support

2016-06-13 Thread Yin Lin
Signed-off-by: Yin Lin --- datapath-windows/automake.mk | 2 + datapath-windows/ovsext/Actions.c | 74 ++- datapath-windows/ovsext/Debug.h| 1 + datapath-windows/ovsext/DpInternal.h | 29 ++- datapath-windows/ovsext/Flow.c | 173

Re: [ovs-dev] cannot find v4 of DNAT changes in mailing list

2016-06-13 Thread Guru Shetty
Hello Flavio, It does exist in the archives: http://openvswitch.org/pipermail/dev/2016-June/072565.html Probably ended up in your spam folder? Thanks, Guru On 13 June 2016 at 13:12, Flaviof wrote: > Hi Guru, > > For some odd reason the v4 of your changes in patchwork [v4]

Re: [ovs-dev] [PATCH 1/3] ofproto-dpif-upcall: Translate input port as part of upcall translation.

2016-06-13 Thread Daniele Di Proietto
2016-06-09 17:46 GMT-07:00 Jesse Gross : > When we generate wildcards for upcalled flows, the flows and therefore > the wildcards, are in OpenFlow format. These are mostly the same but > one exception is the input port. We work around this problem by simply > performing an exact

Re: [ovs-dev] [PATCH 2/3] odp-util: Remove odp_in_port from struct odp_flow_key_parms.

2016-06-13 Thread Daniele Di Proietto
Acked-by: Daniele Di Proietto Thanks 2016-06-09 17:46 GMT-07:00 Jesse Gross : > When calling odp_flow_key_from_flow (or _mask), the in_port included > as part of the flow is ignored and must be explicitly passed as a > separate parameter. This is

Re: [ovs-dev] [PATCH 3/3] dpif-netdev: Print installed flows in dpif format.

2016-06-13 Thread Daniele Di Proietto
Looks good to me, thanks. Acked-by: Daniele Di Proietto 2016-06-09 17:46 GMT-07:00 Jesse Gross : > When debug logging is enabled, dpif-netdev can print each flow as it is > installed, which it currently does using OpenFlow match formatting. > Compared

[ovs-dev] cannot find v4 of DNAT changes in mailing list

2016-06-13 Thread Flaviof
Hi Guru, For some odd reason the v4 of your changes in patchwork [v4] does not seem to be visible via the mailing list. Is that because you submitted it via GitHub?!? Thanks, -- flaviof [v4]: https://patchwork.ozlabs.org/patch/633069/ ___ dev mailing

Re: [ovs-dev] [PATCH] ofp-util: Fix parsing of parenthesized values within key-value pairs.

2016-06-13 Thread Andy Zhou
On Sun, Jun 12, 2016 at 5:43 PM, Ben Pfaff wrote: > Reported-by: james hopper > Reported-at: > http://openvswitch.org/pipermail/discuss/2016-June/021662.html > Signed-off-by: Ben Pfaff > --- > AUTHORS | 1 + > lib/ofp-util.c

[ovs-dev] Quote

2016-06-13 Thread Sehrab
Good Day, I was directed by one of your customer to buy from you. Please I want to know if you can ship to Spain before i order Regards, Sehreb Logistics, KASHISH EXPORTS S.A.S Tel: +32 88459891-3 ___ dev mailing list dev@openvswitch.org

Re: [ovs-dev] [PATCH v1] ipfix: Bug fix for not sending template packets on 32-bit OS

2016-06-13 Thread Ben Pfaff
On Sat, Jun 11, 2016 at 09:55:39AM +0800, Benli Ye wrote: > 'last_template_set_time' in truct dpif_ipfix_exporter is declared > as time_t and time_t is long int type. If we initialize > 'last_template_set_time' as TIME_MIN, whose value is -2147483648 > on 32-bit OS and -2^63 on 64-bit OS. There

Re: [ovs-dev] [PATCH v3] ipfix: support tunnel information for Flow IPFIX

2016-06-13 Thread Ben Pfaff
Hi Daniel. As I understand it, the goal is to translate these OpenFlow actions: sample(sampling_port=1), sample(sampling_port=2), 1, 2 into these datapath actions: set(tunnel(...)), sample(...), 1, set(tunnel(...)), sample(...), 7471 (For readability, I'm adding line breaks and

Re: [ovs-dev] [PATCH] ovn-architecture.7.xml: Fix ovn-controller behavior in VIF life cycle

2016-06-13 Thread Ben Pfaff
On Mon, Jun 13, 2016 at 12:43:26PM -0400, Hui Kang wrote: > Signed-off-by: Hui Kang Applied, thanks! ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH monitor_cond V7 00/10] Conditional monitor implementation

2016-06-13 Thread Hui Kang
"dev" wrote on 06/13/2016 07:19:25 AM: > From: Liran Schour > To: b...@ovn.org > Cc: d...@openvswitch.com > Date: 06/13/2016 08:29 AM > Subject: [ovs-dev] [PATCH monitor_cond V7 00/10] Conditional monitor > implementation > Sent by: "dev"

[ovs-dev] [PATCH] ovn-architecture.7.xml: Fix ovn-controller behavior in VIF life cycle

2016-06-13 Thread Hui Kang
Signed-off-by: Hui Kang --- ovn/ovn-architecture.7.xml | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ovn/ovn-architecture.7.xml b/ovn/ovn-architecture.7.xml index f8a348b..72786bc 100644 --- a/ovn/ovn-architecture.7.xml +++

Re: [ovs-dev] Group with select type

2016-06-13 Thread Ben Pfaff
On Mon, Jun 13, 2016 at 11:54:11AM -0400, Junguk Cho wrote: > I would like to test group with select type for round-robin way. > > I basically followed this page ( > http://openvswitch.org/pipermail/discuss/2014-August/014785.html). > For example, there are one client and three servers. > If I

[ovs-dev] Can 1,000+ members be wrong?

2016-06-13 Thread Fran
Hey, I Noticed you didn’t got “Google Trader System” You are really missing the opportunity of Making 6 Figure Per Month You no longer need to work 9 to 5 After Getting it.. ( I promise) Get it Now == http://bricapar.com/Ph8ebO ___ dev mailing list

Re: [ovs-dev] [PATCH] vtep: add per-tunnel tunnel key support in vtep-ctl and ovs-vtep. related to commit c2cd1902

2016-06-13 Thread Darrell Ball
I was not able to apply this patch - can you fix this Also, can you make sure the OVN vtep GW test passes (using make check) with the patch submitted 2043: ovn.at:1029ovn -- vtep: 3 HVs, 1 VIFs/HV, 1 GW, 1 LS vtep The changes to vtep.xml are hard to follow; also I am not sure they

[ovs-dev] Subject: [ovsdb-idl 1/1] Fix issues detected in Partial Map Update feature

2016-06-13 Thread Lutz, Arnoldo
Hi. We found some issues affecting Partial Map Update feature included in master branch. This patch fixes a memory leak due to lack of freeing datum allocated in the process of requesting a change to a map. It also fix an error produced when NDEBUG flag is not set that causes an assertion when

[ovs-dev] Group with select type

2016-06-13 Thread Junguk Cho
Hi, I would like to test group with select type for round-robin way. I basically followed this page ( http://openvswitch.org/pipermail/discuss/2014-August/014785.html). For example, there are one client and three servers. If I ping from one client to three servers with Virtual IP address, it

Re: [ovs-dev] [PATCH] utilities/ovs-docker: Add support for specifying vlan tag on add-port cal

2016-06-13 Thread Guru Shetty
On 11 June 2016 at 05:28, Brian Turek wrote: > Signed-off-by: Brian Turek > Thank you for your contribution. How did you send this patch? I couldn't apply it on my local tree using 'git am'. Sending it via 'git send-email' usually gets it right.

Re: [ovs-dev] [PATCH v1] ipfix: Bug fix for not sending template packets on 32-bit OS

2016-06-13 Thread William Tu
Acked-by: William Tu I think it fixes the issue, although the root cause is that we are 1) Comparing signed int (last_template_set_time) and unsigned int (export_time_sec). From the C99, the operand with signed integer type is converted to the type of the operand with

[ovs-dev] [PATCH monitor_cond V7 01/10] ovsdb: create column index mapping between ovsdb row to monitor row

2016-06-13 Thread Liran Schour
Columns indexing is different in ovsdb_row then in ovsdb_monitor_row. We need mapping between the 2 for condition evaluation. signed-off-by: Liran Schour --- ovsdb/jsonrpc-server.c | 26 ++-- ovsdb/monitor.c| 65

[ovs-dev] [PATCH monitor_cond V7 05/10] ovsdb: enable jsonrpc-server to service "monitor_cond_change" request

2016-06-13 Thread Liran Schour
ovsdb-server now accepts "monitor_cond_change" request. After conditions change we compose update notification according to the current state of the database without using a change list before sending reply to the monitor_cond_change request. Sees ovsdb-server (1) man page for details of

[ovs-dev] [PATCH monitor_cond V7 03/10] ovsdb: allow unmonitored columns in condition evaluation

2016-06-13 Thread Liran Schour
This commit allows to add unmonitored columns to a monitored table due to condition update. It will be used to evaluate conditions on unmonitored columns. Update notification includes only monitored columns. Due to the limited number of columns, we do not remove unused unmonitored columns on

[ovs-dev] [PATCH monitor_cond V7 02/10] ovsdb: add conditions utilities to support monitor_cond

2016-06-13 Thread Liran Schour
Change ovsdb_condition to be a 3-element json array or a boolean value (see ovsdb-server man page). Conditions utilities will be used later for conditional monitoring. Signed-off-by: Liran Schour --- ovsdb/condition.c| 188

[ovs-dev] [PATCH monitor_cond V7 07/10] lib: add to ovsdb-idl monitor_id

2016-06-13 Thread Liran Schour
IDL uses now a uuid to specify a monitoring session that is being sent to the server on "monitor_cond" request. This uuid will be used to issue ongoing "monitor_cond_change" requests for this monitoring session. Signed-off-by: Liran Schour --- lib/ovsdb-idl.c | 17

[ovs-dev] [PATCH monitor_cond V7 08/10] python: move Python idl to work with monitor_cond

2016-06-13 Thread Liran Schour
Python idl works now with "monitor_cond" method. Add test for backward compatibility with old "monitor" method. Signed-off-by: Liran Schour --- python/ovs/db/data.py | 16 - python/ovs/db/idl.py | 172 --

[ovs-dev] [PATCH monitor_cond V7 00/10] Conditional monitor implementation

2016-06-13 Thread Liran Schour
This patch series implements conditional monitoring by introducing an OVSDB RFC extension with 2 new JSON-RPC methods: "monitor_cond" and "monitor_cond_change". Specification of this extension is defined in the ovsdb-server (1) man page. Monitor2 is now merged into monitor_cond. A monitor_cond

[ovs-dev] [PATCH monitor_cond V7 09/10] lib: add monitor_cond_change API to C IDL lib

2016-06-13 Thread Liran Schour
Add to IDL API that allows the user to add and remove clauses on a table's condition iteratively. IDL maintain tables condition and send monitor_cond_change to the server upon condition change. Add tests for conditional monitoring to IDL. Signed-off-by: Liran Schour ---

Re: [ovs-dev] [PATCH] VxLAN-gpe implementation

2016-06-13 Thread Yang, Yi
On Mon, Jun 13, 2016 at 10:59:36AM +0200, Jiri Benc wrote: > On Sun, 12 Jun 2016 20:53:23 +0800, Yang, Yi wrote: > > On Mon, Jun 06, 2016 at 02:22:58PM -0700, Jesse Gross wrote: > > > However, the changes to vport-vxlan.c are modifying compatibility code > > > that shouldn't be extended further.

Re: [ovs-dev] [PATCH net-next] NSH(Network Service Header) implementation

2016-06-13 Thread Yang, Yi
On Mon, Jun 13, 2016 at 12:11:14PM +0200, Jiri Benc wrote: > On Sun, 12 Jun 2016 15:53:50 +0800, Yang, Yi wrote: > > Will use net device after those patches are merged into net-next, It > > seems current net device implementation in net-next doesn't include it, > > The current kernel should have

[ovs-dev] [PATCH monitor_cond V7 04/10] ovsdb: generate update notifications for monitor_cond session

2016-06-13 Thread Liran Schour
Hold session's conditions in ovsdb_monitor_session_condition. Pass it to ovsdb_monitor for generating "update2" notifications. Add functions that can generate "update2" notification for a "monitor_cond" session. JSON cache is enabled only for session's with true condition only. "monitor_cond" and

[ovs-dev] [PATCH monitor_cond V7 09/10] lib: add monitor_cond_change API to C IDL lib

2016-06-13 Thread Liran Schour
Add to IDL API that allows the user to add and remove clauses on a table's condition iteratively. IDL maintain tables condition and send monitor_cond_change to the server upon condition change. Add tests for conditional monitoring to IDL. Signed-off-by: Liran Schour ---

[ovs-dev] [PATCH monitor_cond V7 07/10] lib: add to ovsdb-idl monitor_id

2016-06-13 Thread Liran Schour
IDL uses now a uuid to specify a monitoring session that is being sent to the server on "monitor_cond" request. This uuid will be used to issue ongoing "monitor_cond_change" requests for this monitoring session. Signed-off-by: Liran Schour --- lib/ovsdb-idl.c | 17

[ovs-dev] [PATCH monitor_cond V7 05/10] ovsdb: enable jsonrpc-server to service "monitor_cond_change" request

2016-06-13 Thread Liran Schour
ovsdb-server now accepts "monitor_cond_change" request. After conditions change we compose update notification according to the current state of the database without using a change list before sending reply to the monitor_cond_change request. Sees ovsdb-server (1) man page for details of

[ovs-dev] [PATCH monitor_cond V7 08/10] python: move Python idl to work with monitor_cond

2016-06-13 Thread Liran Schour
Python idl works now with "monitor_cond" method. Add test for backward compatibility with old "monitor" method. Signed-off-by: Liran Schour --- python/ovs/db/data.py | 16 - python/ovs/db/idl.py | 172 --

[ovs-dev] [PATCH monitor_cond V7 01/10] ovsdb: create column index mapping between ovsdb row to monitor row

2016-06-13 Thread Liran Schour
Columns indexing is different in ovsdb_row then in ovsdb_monitor_row. We need mapping between the 2 for condition evaluation. signed-off-by: Liran Schour --- ovsdb/jsonrpc-server.c | 26 ++-- ovsdb/monitor.c| 65

[ovs-dev] [PATCH monitor_cond V7 06/10] ovsdb-client: support monitor-cond method

2016-06-13 Thread Liran Schour
Add monitor_cond method to ovsdb-client. Enable testing of monitor_cond_change via unixctl command.Add unit tests for monitor_cond and monitor_cond_change. See ovsdb-client(1) man page for details. Replace monitor2 with monitor_cond. Signed-off-by: Liran Schour --- NEWS

[ovs-dev] [PATCH monitor_cond V7 10/10] RFC OVN: Quick implementation of conditional monitoring

2016-06-13 Thread Liran Schour
Conditional monitor of: Port_Binding, Logical_Flow, Multicast_Group MAC_Binding tables. As a result ovn-controller will be notified only about records belongs to a datapath that is being served by this hypervisor. Hack: Ideally, logical datapath ID should be retrieved from Port_Binding table and

[ovs-dev] [PATCH monitor_cond V7 02/10] ovsdb: add conditions utilities to support monitor_cond

2016-06-13 Thread Liran Schour
Change ovsdb_condition to be a 3-element json array or a boolean value (see ovsdb-server man page). Conditions utilities will be used later for conditional monitoring. Signed-off-by: Liran Schour --- ovsdb/condition.c| 188

[ovs-dev] [PATCH monitor_cond V7 00/10] Conditional monitor implementation

2016-06-13 Thread Liran Schour
This patch series implements conditional monitoring by introducing an OVSDB RFC extension with 2 new JSON-RPC methods: "monitor_cond" and "monitor_cond_change". Specification of this extension is defined in the ovsdb-server (1) man page. Monitor2 is now merged into monitor_cond. A monitor_cond

[ovs-dev] [PATCH monitor_cond V7 03/10] ovsdb: allow unmonitored columns in condition evaluation

2016-06-13 Thread Liran Schour
This commit allows to add unmonitored columns to a monitored table due to condition update. It will be used to evaluate conditions on unmonitored columns. Update notification includes only monitored columns. Due to the limited number of columns, we do not remove unused unmonitored columns on

[ovs-dev] [PATCH monitor_cond V7 04/10] ovsdb: generate update notifications for monitor_cond session

2016-06-13 Thread Liran Schour
Hold session's conditions in ovsdb_monitor_session_condition. Pass it to ovsdb_monitor for generating "update2" notifications. Add functions that can generate "update2" notification for a "monitor_cond" session. JSON cache is enabled only for session's with true condition only. "monitor_cond" and

[ovs-dev] [PATCH monitor_cond V7 10/10] RFC OVN: Quick implementation of conditional monitoring

2016-06-13 Thread Liran Schour
Conditional monitor of: Port_Binding, Logical_Flow, Multicast_Group MAC_Binding tables. As a result ovn-controller will be notified only about records belongs to a datapath that is being served by this hypervisor. Hack: Ideally, logical datapath ID should be retrieved from Port_Binding table and

[ovs-dev] [PATCH monitor_cond V7 06/10] ovsdb-client: support monitor-cond method

2016-06-13 Thread Liran Schour
Add monitor_cond method to ovsdb-client. Enable testing of monitor_cond_change via unixctl command.Add unit tests for monitor_cond and monitor_cond_change. See ovsdb-client(1) man page for details. Replace monitor2 with monitor_cond. Signed-off-by: Liran Schour --- NEWS

Re: [ovs-dev] [PATCH net-next] NSH(Network Service Header) implementation

2016-06-13 Thread Jiri Benc
On Sun, 12 Jun 2016 15:53:50 +0800, Yang, Yi wrote: > Will use net device after those patches are merged into net-next, It > seems current net device implementation in net-next doesn't include it, The current kernel should have everything that's needed for VXLAN-GPE support. > do you mean this

[ovs-dev] [PATCH v2 1/1] netdev-dpdk: NUMA Aware vHost User

2016-06-13 Thread Ciara Loftus
This commit allows for vHost User memory from QEMU, DPDK and OVS, as well as the servicing PMD, to all come from the same socket. The socket id of a vhost-user port used to be set to that of the master lcore. Now it is possible to update the socket id if it is detected (during VM boot) that the

[ovs-dev] Delivery reports about your e-mail

2016-06-13 Thread MAILER-DAEMON
The original message was received at Mon, 13 Jun 2016 15:17:24 +0530 from 222.69.112.179 - The following addresses had permanent fatal errors - - Transcript of the session follows - ... while talking to 15.122.254.121: >>> DATA <<< 400

[ovs-dev] cooperation with an international company

2016-06-13 Thread dev
Hello! We are looking for employees working remotely. My name is Jannie, am the personnel manager of a large International company. Most of the work you can do from home, that is, at a distance. Salary is $2500-$5000. If you are interested in this offer, please visit Our Site Best

Re: [ovs-dev] [PATCH] VxLAN-gpe implementation

2016-06-13 Thread Jiri Benc
On Sun, 12 Jun 2016 20:53:23 +0800, Yang, Yi wrote: > On Mon, Jun 06, 2016 at 02:22:58PM -0700, Jesse Gross wrote: > > However, the changes to vport-vxlan.c are modifying compatibility code > > that shouldn't be extended further. Instead, just use the existing > > VXLAN netlink interfaces that

[ovs-dev] [PATCH v3 3/3] DSCP marking on packets egressing VIF interface

2016-06-13 Thread bschanmu
ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/controller/lflow.c | 2 +- ovn/northd/ovn-northd.c | 4 ovn/ovn-nb.xml | 5 + ovn/ovn-sb.xml | 5 + 4 files changed, 15 insertions(+), 1 deletion(-) diff --git

[ovs-dev] [PATCH v3 2/3] Check and allocate free qdisc queue id for ports with qos parameters

2016-06-13 Thread bschanmu
ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is stored in the options field of Port_binding

[ovs-dev] [PATCH v3 1/3] New qos type linux-noop

2016-06-13 Thread bschanmu
Linux ``No operation'' qos type is used to inform the vswitch that the traffic control for the port is managed externally. Any configuration values set for this type will have no effect. This patch provides a solution suggested in this mail -

[ovs-dev] [PATCH v3 0/3] QOS updates with DSCP support

2016-06-13 Thread bschanmu
v2 -> v3 changes: - Added a new qos type 'linux-noop' - Set queues on all physical interfaces used for tunnelling - Some minor styling fixes Following are done through this series 1. Changed the old approach of policing the packets. It is now shaped with queues. Changed the

[ovs-dev] Message could not be delivered

2016-06-13 Thread The Post Office
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 4/4] ovn-northd: Add logical flows to support native DHCP

2016-06-13 Thread Numan Siddique
On Thu, Jun 9, 2016 at 11:08 AM, Ben Pfaff wrote: > From: Numan Siddique > > OVN implements a native DHCP support which caters to the common > use case of providing an IP address to a booting instance by > providing stateless replies to DHCP requests based on