The ovs library has changed its implementation of the idl.Idl class. The
CTOR in ryu.services.protocols.ovsdb.client.Idl updated to be compatible
with the current version.
Patch fix the problem:
if table.cond_changed:
AttributeError: 'TableSchema' object has no attribute 'cond_changed'
---
ryu/services/protocols/ovsdb/client.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ryu/services/protocols/ovsdb/client.py
b/ryu/services/protocols/ovsdb/client.py
index 0f62f86..d0ec5b0 100644
--- a/ryu/services/protocols/ovsdb/client.py
+++ b/ryu/services/protocols/ovsdb/client.py
@@ -215,6 +215,8 @@ class Idl(idl.Idl):
self._monitor_request_id = None
self._last_seqno = None
self.change_seqno = 0
+ self.uuid = uuid.uuid1()
+ self.state = self.IDL_S_INITIAL
# Database locking.
self.lock_name = None # Name of lock we need, None if
none.
@@ -233,6 +235,8 @@ class Idl(idl.Idl):
table.need_table = False
table.rows = {}
table.idl = self
+ table.condition = []
+ table.cond_changed = False
@property
def events(self):
--
2.7.4
*Yury Kulazhenkov*
*[email protected] <[email protected]>*
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel