Thanks Iwase,

What about the jsonrpc module?
ryu <https://github.com/osrg/ryu>/ryu
<https://github.com/osrg/ryu/tree/master/ryu>/services
<https://github.com/osrg/ryu/tree/master/ryu/services>/protocols
<https://github.com/osrg/ryu/tree/master/ryu/services/protocols>/bgp
<https://github.com/osrg/ryu/tree/master/ryu/services/protocols/bgp>/api
<https://github.com/osrg/ryu/tree/master/ryu/services/protocols/bgp/api>/
jsonrpc.py
can something like this be used for sending and receiving request and
response messages?.

Thanks
Hadem

On Thu, Jun 20, 2019 at 7:25 PM Yusuke Iwase <iwase.yusu...@gmail.com>
wrote:

> Hi,
>
> Ryo BGPSpeaker implements some RPC server features, but I think it is
> complex as sample codes.
>
> https://github.com/osrg/ryu/blob/master/ryu/services/protocols/bgp/net_ctrl.py
>
> As knet solutions answered, it can be more suitable way to use the message
> queue like pyzmq.
> https://pyzmq.readthedocs.io/en/latest/
>
> !!! please note Ryu uses "eventlet" networking library, you need to import
> "zmq" module from "eventlet.green.zmq" which is the eventlet customized
> version of pyzmq.
> https://eventlet.net/doc/modules/zmq.html
>
>
> 2019年6月20日(木) 21:43 Pynbiang Hadem <pynbiang.ha...@gmail.com>:
>
>> Hi Iwase,
>>
>> Can you point me to some RPC sample source codes in Ryu?.
>> I still can't find any documentation on RPC in ryu.
>>
>> Thanks
>> Hadem
>>
>> On Wed, Jun 19, 2019 at 5:28 PM Yusuke Iwase <iwase.yusu...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> AFAIK, Ryu does not define or implement the standard way for such.
>>> In other words, you can implement your own way for your requirements.
>>> For example, REST, RPC, BGP and so on.
>>>
>>> Thanks,
>>> Iwase
>>>
>>> 2019年6月19日(水) 20:46 Pynbiang Hadem <pynbiang.ha...@gmail.com>:
>>>
>>>> Hi,
>>>>
>>>> What i meant is that: A controller requesting some information from
>>>> another controller through REST API.
>>>>
>>>> Thanks
>>>> Hadem
>>>>
>>>> On Wed, Jun 19, 2019 at 5:12 PM Alon Dotan <alon.do...@bullguard.com>
>>>> wrote:
>>>>
>>>>> what you mean in "inter controller"?
>>>>> there is rest application
>>>>> ------------------------------
>>>>> *From:* Pynbiang Hadem <pynbiang.ha...@gmail.com>
>>>>> *Sent:* Wednesday, June 19, 2019 2:38 PM
>>>>> *To:* Ryu-devel
>>>>> *Subject:* [Ryu-devel] Ryu REST API-based inter-controller
>>>>> communication
>>>>>
>>>>> Hi,
>>>>>
>>>>> Is there an implementation of a REST API-based inter-controller
>>>>> communication in Ryu?.
>>>>> If so, kindly share necessary information.
>>>>>
>>>>> Thanks
>>>>> Hadem
>>>>>
>>>> _______________________________________________
>>>> Ryu-devel mailing list
>>>> Ryu-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>>
>>>
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to