[ovs-dev] [PATCH] ovn-tutorial: fix a typo

2016-01-16 Thread William Tu
switch_in_pre_acl -> switch_out_pre_acl Signed-off-by: William Tu --- tutorial/OVN-Tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/OVN-Tutorial.md b/tutorial/OVN-Tutorial.md index 2e6a08d..1188faa 100644 --- a/tutorial/OVN-Tutorial.md +++ b/tutorial/OVN-T

[ovs-dev] OVS PatchWork Update

2016-01-16 Thread Ubuntu
30+ Day Old Patches === ID State Date Name -- - 548008 New2015-11-24 11:19:01 [ovs-dev,v4,2/4] ovn: New flows for DHCP tranffic 548010 New2015-11-24 11:19:02 [ovs-dev,v4,3/4] ovn: Process dhcp packet-ins and

[ovs-dev] [PATCH monitor_cond V2 05/12] lib: replace monitor2 with monitor_cond

2016-01-16 Thread Liran Schour
Replace monitor2 with monitor_cond with empty condition. Signed-off-by: Liran Schour --- lib/ovsdb-idl.c| 28 ++-- ovsdb/jsonrpc-server.c | 14 +++--- ovsdb/jsonrpc-server.h | 2 +- ovsdb/ovsdb-client.c | 27 ++- ovsdb/ovsdb-serv

[ovs-dev] [PATCH monitor_cond V2 11/12] python: move Python idl to work with monitor_cond

2016-01-16 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 | 12 python/ovs/db/idl.py | 167 ++ tests/ovsdb-idl.at| 97 ++

[ovs-dev] [PATCH monitor_cond V2 04/12] ovsdb-client: support monitor-cond

2016-01-16 Thread Liran Schour
Add monitor_cond method to ovsdb-client. Add unit tests. See ovsdb-client(1) man page for details. Signed-off-by: Liran Schour --- NEWS| 3 +- ovsdb/ovsdb-client.1.in | 37 +- ovsdb/ovsdb-client.c| 74 ++-- tests/ovsdb-monitor.at | 178 +++

[ovs-dev] [PATCH monitor_cond V2 10/12] lib: add monitor_cond_update to idl session

2016-01-16 Thread Liran Schour
Implement function for changing condition in an idl session. Signed-off-by: Liran Schour --- lib/ovsdb-idl-provider.h | 33 lib/ovsdb-idl.c | 399 ++- lib/ovsdb-idl.h | 13 ++ 3 files changed, 444 insertions(+), 1 deletion(-)

[ovs-dev] [PATCH monitor_cond V2 08/12] lib: add to ovsdb-idl monitor_id

2016-01-16 Thread Liran Schour
That will be used later to issue "monitor_cond_change" commands. Signed-off-by: Liran Schour --- lib/ovsdb-idl.c | 19 ++- lib/ovsdb-idl.h | 1 + 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index 18d4b8b..1b8731e 100644 --- a

[ovs-dev] [PATCH monitor_cond V2 07/12] ovsdb: enable jsonrpc-server to service "monitor_cond_update" request

2016-01-16 Thread Liran Schour
ovsdb-server now accepts "monitor_cond_update" request. On conditions update we record all rows of table in a new changes list - OVSDB_MONITOR_ALL that are being indexed by the transaction-id at the moment of record. JSON cache is being used only for empty condition monitor sessions. Sees ovsdb-ser

[ovs-dev] [PATCH monitor_cond V2 09/12] ovsdb: look for monitor id on all jsonrpc monitor sessions

2016-01-16 Thread Liran Schour
That will be used later to issue "monitor_cond_change" command. Signed-off-by: Liran Schour --- ovsdb/jsonrpc-server.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c index 3d898bb..c5aad17 100644 --- a/ovsdb/

[ovs-dev] [PATCH monitor_cond V2 12/12] tests: add testing for idl conditional monitoring

2016-01-16 Thread Liran Schour
Testsing ovsdb-idl with condition change by "monitor_cond_update" method. Signed-off-by: Liran Schour --- tests/ovsdb-idl.at | 74 + tests/test-ovsdb.c | 52 - tests/test-ovsdb.py | 24 + 3

[ovs-dev] [PATCH monitor_cond V2 00/12] Implement conditional monitoring

2016-01-16 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_update". Specification of this extension is defined in the ovsdb-server (1) man page. Monitor2 is now merged into monitor_cond. A monitor_cond sess

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

2016-01-16 Thread Liran Schour
now is a 3-element json array or a boolean value, see ovsdb-server(1) man page. This functions will be used for conditional monitoring sessions. Signed-off-by: Liran Schour --- ovsdb/condition.c| 270 +-- ovsdb/condition.h| 28 -

[ovs-dev] [PATCH monitor_cond V2 03/12] ovsdb: generate update notifications for monitor_cond session

2016-01-16 Thread Liran Schour
Hold session's conditions in ovsdb_monitor_session_conditon. Pass it to ovsdb_monitor for generating "update2" notifications. Add functions that can generate "update2" notification for a "monitor_cond" session. json_cache for will be enabled only for session's with empty condition. "monitor_cond" a

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

2016-01-16 Thread Liran Schour
Indexing is different between ovsdb_row to ovsdb_monitor_row. To be able to evaluate conditions on ovsdb_monitor_row we need this mapping. signed-off-by: Liran Schour --- ovsdb/monitor.c | 17 + 1 file changed, 17 insertions(+) diff --git a/ovsdb/monitor.c b/ovsdb/monitor.c inde

[ovs-dev] [PATCH monitor_cond V2 06/12] ovsdb: add API for changing monitor session's conditions

2016-01-16 Thread Liran Schour
That will be used to by jsonrpc-server for monitor_cond_change method See ovsdb-server (1) man page. Signed-off-by: Liran Schour --- ovsdb/monitor.c | 52 +++- ovsdb/monitor.h | 7 +++ 2 files changed, 58 insertions(+), 1 deletion(-) diff --g