I am trying to modify the app_manager.py file in order to add a new thread
using self.threads.append
I am wondering if it is right what I am doing or you suggest something else.

Please advise.
Best regards

2016-01-07 10:33 GMT+01:00 David Gabriel <[email protected]>:

> I think the suitable way to handle this issue is to create one thread that
> will get updates from my data base.
> However, when I create new thread using 'thread.start_new_thread' my Ryu
> application is blocked in this thread and no other operations are made !!
> In other words, my Ryu application is not doing OpenFlow swtching any more
> !!
>
> Please advise me how shall I fix this issue ?
> Best regards
>
> 2016-01-07 9:22 GMT+01:00 David Gabriel <[email protected]>:
>
>> Hi all,
>>
>> Please any idea about this question in my previous email ?
>>
>> Thanks in advance.
>> Regards
>>
>> 2016-01-06 12:26 GMT+01:00 David Gabriel <[email protected]>:
>>
>>> Dears,
>>>
>>> It is my first time to Ryu.
>>> 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) ?
>>> If you recommand using two separte file please tell me how to change my
>>> DB script in order to be a Ryu application ?
>>>
>>> Thanks in advance.
>>> Regards
>>>
>>
>>
>
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to