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
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
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
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 ++
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 +++
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(-)
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
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
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/
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
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
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 -
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
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
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
15 matches
Mail list logo