On Wed, 6 Jan 2016 03:26:09 -0800
David Gabriel <[email protected]> wrote:

> I want to run an application that depends on:
> 1- openflow events (like simple switch app you provide in the tutorial) and
> also
> 2- external events (provided by an external Data Base - DB).
> In fact, I have a python scirpt that periodacally check my data base to get
> new modification. I am wondering how can I integrate it in my Ryu
> application in order to be updated from my data base and consequently
> change the behaviour of my ovs switch ?
> I want to run only one application (one source file) because there some
> variables to be shared and I want to know how to integrate my source code
> (that gets the DB update) into my Ryu application (that is very closed to
> simple_switch.py) ?

I think that you need to access to the DB in an eventlet-compatible
way. Try Google with a keyword like "eventlet sql".

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to