Hi Murphy, Finally, I've had a little time to have a look at your ovsdb module. It's absolutely great and the connect_back feature is really convenient. Unfortunately, I felt the DSL didn't ease writing the code for the toy example I created. However, the DSL does help reading it.
Maybe it's not a shortcoming at all, but it's not possible to specify a context to callback functions. I mean I have to use object methods as callbacks if I'd like to access some details of the transaction in the callback function. This is OK, but sometimes it would be good to use something like the following: conn.transact( ... ).callback(cb, var1, var2) def cb (results, var1, var2): ... I've also found a few minor bugs. The fixes and my sample modules (which might be useful for future ovsdb users) are here: https://github.com/MurphyMc/pox/compare/experimental...nemethf:experimental Thank you, Felicián On Mon, Nov 17 2014, Murphy McCauley wrote: > Yeah, sure. It's in that same experimental branch of my fork. > > -- Murphy > > On Nov 17, 2014, at 5:13 AM, Felician Nemeth <neme...@tmit.bme.hu> wrote: > >> Murphy McCauley <murphy.mccau...@gmail.com> writes: >> >>> [...] POX didn't have ovsdb support at the time, if I recall correctly.) >> >> I've also read in the POX Wiki that there is an experimental ovsdb support. >> However, I cannot find anything in the sources. Is it possible to play >> with this experimental code? >> >> Thanks, >> Felicián