RDelg / OF-BW-Control

A SDN application for a dynamic control of bandwidth (BW) using OpenFlow 1.3 with Ryu Controller.
Apache License 2.0
5 stars 4 forks source link

unsupported version 0x01. If possible, set the switch to use one of the versions [4] #5

Open XoulKool opened 8 years ago

XoulKool commented 8 years ago

Hello, just wanted to let you know that this looks extremely promising for issuing bandwidth control on physical networks as well. For right now, I am just trying to make it through your README but am encountering an OpenFlow protocol problem. When I try

ryu-manager Switch.py

or

ryu-manager Rest.py

I encounter the error that the title of this issue shows. Do you have any idea how I may resolve this issue? I am a little perplexed because I thought Ryu adapted to any OpenFlow version and when I run these files without opening mininet first I still get this error. Any insights on how to get past this?

RDelg commented 8 years ago

Hello, I think the problem is that you are using a switch which doesn't support OpenFlow 1.3. The error log says that you are using OpenFlow 1.0. In the example topology I use CPqD Switch, which support both: OpenFlow 1.3 and meter tables. I recommend you checking the switch that you are using to run the script. Regards.

XoulKool commented 8 years ago

Isn't the switch in theory whatever the mininet topology [topo.py] says it is? [Isn't this tutorial entirely virtual networking?] So if I am using this topology then why am I getting the error? -Jason

On Thu, Aug 25, 2016 at 11:50 AM, Rene Delgado notifications@github.com wrote:

Hello, I think the problem is that you are using a switch which doesn't support OpenFlow 1.3. The error log says that you are using OpenFlow 1.0. In the example topology I use CPqD Switch, which support both: OpenFlow 1.3 and meter tables. I recommend you checking the switch that you are using to run the script. Regards.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RDelg/OF-BW-Control/issues/5#issuecomment-242437615, or mute the thread https://github.com/notifications/unsubscribe-auth/AUMgy1eboW-D-sEdqW3CK6D8bByGrhaeks5qjbm_gaJpZM4JtM_d .

XoulKool commented 8 years ago

Did you use the CPdQ switch instead of mininet's virtual OpenFlow switches because you were unable to get them to perform the tasks you wanted?

On Thu, Aug 25, 2016 at 1:06 PM, Jason Palmer Loux tuf43782@temple.edu wrote:

Isn't the switch in theory whatever the mininet topology [topo.py] says it is? [Isn't this tutorial entirely virtual networking?] So if I am using this topology then why am I getting the error? -Jason

On Thu, Aug 25, 2016 at 11:50 AM, Rene Delgado notifications@github.com wrote:

Hello, I think the problem is that you are using a switch which doesn't support OpenFlow 1.3. The error log says that you are using OpenFlow 1.0. In the example topology I use CPqD Switch, which support both: OpenFlow 1.3 and meter tables. I recommend you checking the switch that you are using to run the script. Regards.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RDelg/OF-BW-Control/issues/5#issuecomment-242437615, or mute the thread https://github.com/notifications/unsubscribe-auth/AUMgy1eboW-D-sEdqW3CK6D8bByGrhaeks5qjbm_gaJpZM4JtM_d .

RDelg commented 8 years ago

I used cpqd because it has the meter table implemented, which I use to control the bw. If you are using the topo.py to create the topology, I don't know why this error happen, maybe the UserSwitch implemented in mininet is not cpqd anymore (this project is about 1 year ago), so check that. (Ovs doesn't support meter tables) Regards.