1

I am trying to send data from a Northbound application that I have written, into the Ryu application. The NB app is performing a lot of computation, so I have chosen to run it outside of Ryu. How do I send this information into the Ryu controller so the controller can act on it.

This set up would look like this:

[Northbound packet sender with actionable information (not in the SDN dataplane!!)]

[Ethernet 1 (if on a different machine), or the Linux localhost (if on the same machine)]

[Ryu Machine]

[Ethernet 2 (using OpenFlow)]

[Data plane]

In Pox I have simply set up a thread that can receive packets on a port. When it receives a packet it just creates an event, and my main SDN app can then use this event to perform the network changes needed. When I try this approach in Ryu, it just doesn't work. It seems that when I try to register a socket inside a Ryu app, Ryu will not run until that functionality has been removed.

Any advice?

Thanks in advance,

asked Aug 6, 2020 at 20:13

1 Answer 1

0

Run the socket in a separate thread. Run socket server on Ryu PC instead of client.

answered Aug 10, 2023 at 13:21
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.