Re: [Ryu-devel] Implementing OSPF

2017-05-17 Thread Iwase Yusuke
Hi Deni, Well, what you want to confirm by tests? Whether your application can generate the correct OSPF packets? Or whether your application can communicate with other OSPF routers? If you want to test the packet format of the generated OSPF packet, capturing packets using Wireshark is the

Re: [Ryu-devel] implementing a service app in Ryu that handles requests

2017-05-17 Thread Iwase Yusuke
Hi Yikai, Sorry if I couldn't understand your question well. On 2017年05月17日 15:20, Yikai Lin wrote: > The first problem was somehow fixed by removing xxx from that line of code, > so it goes handler.register_service('service)', which is weird. But the > second problem was not resolved. The

[Ryu-devel] Implementing OSPF

2017-05-17 Thread Deni Toruan
Hi all, I want to use OSPF for routing in the ryu controller. To realize that aim, I am trying to modify the ryu application "IcmpResponder.py" from Ryu-book. It was done by serialize the protocol header: ethernet, ipv4 and ospf. The modified app as in attachment. Actually there was no error

[Ryu-devel] websocket proxy?

2017-05-17 Thread Markku Savela
Hi, Are there any example of how to make a python module under ryu-manager providing a websocket proxying to datapath switches, e.g. remote client <- websocket -> ryu-manager wsproxy.py <-websocket-> switch 1

Re: [Ryu-devel] implementing a service app in Ryu that handles requests

2017-05-17 Thread Yikai Lin
The first problem was somehow fixed by removing xxx from that line of code, so it goes handler.register_service('service)', which is weird. But the second problem was not resolved. On Wed, May 17, 2017 at 2:15 AM Yikai Lin wrote: > Hi, > > I was trying to wrote an "topology"

[Ryu-devel] implementing a service app in Ryu that handles requests

2017-05-17 Thread Yikai Lin
Hi, I was trying to wrote an "topology" like service app that exposes APIs for other applications. So I started from mimicing the topology app, and I created the api.py, event.py and the main file service.py. I have another test program that basically calls the api and sends several sequential