sync ryu.services.protocols.ovsdb.client.Idl code with ovs lib
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'
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
committed by
FUJITA Tomonori
parent
6d4b094dc3
commit
9ccec7bb5a
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user