rdelg / of-bw-control Goto Github PK
View Code? Open in Web Editor NEWA SDN application for a dynamic control of bandwidth (BW) using OpenFlow 1.3 with Ryu Controller.
License: Apache License 2.0
A SDN application for a dynamic control of bandwidth (BW) using OpenFlow 1.3 with Ryu Controller.
License: Apache License 2.0
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?
Hi @RDelg
I hope that you are doing fine and great.
Please, I want to assigne a specific value for each connected host at each time, and install it in the mater table of the switch.
For example, I have 6 hosts connected to the CPqD switch. I want to assign (based on my bw algorithm) for each client an amount of bw form the total available bw. Let say, at t = 4s, the available bw = 5mbps.
Host 1 : bw = 1 mbps
Host 2: bw = 750 kbps
Host3: bw = 1.5 mbps
.......
After t = 8s.
Host 1 : bw = 700 kbps
Host 2: bw = 250kbps
Host3: bw = 1 mbps
.......
So, I want to assign the bw based on my algorithm, and the switch install it in the mater table .
Please, How we can do this in your algorithm. Many thanks
Best Regards,
Hi Mr. Rene Delgado,
can you give me a tutorial how to work.
Regards
Hi @RDelg,
The RYU gives this error when number of hosts per-switch increase to 10:
hub: uncaught exception: Traceback (most recent call last):
File "/home/mininet/ryu/ryu/lib/hub.py", line 52, in _launch
func(_args, *_kwargs)
File "/home/mininet/ryu/ryu/base/app_manager.py", line 287, in _event_loop
handler(ev)
File "/home/mininet/ryu/ryu/app/OF-BW-Control/Switch.py", line 137, in _meter_stats_reply_handler
if (self.rate_used[dpid][port][src] >= int(self.rate_allocated[dpid][port][src]*0.7)
KeyError: 4294967294
It seems like a memory management problem ! or whet do you think!
Furthermore if we use it to monitor 2 Userswitch, its also gives the same issue
Regards,
Hi Mr. Rene Delgado,
I hope that you are doing fine.
I have tested the code by running mininet with 10 clients and NAT service, each client run a video streaming service.
I have discovered that bw controle work good between clients (for example file transfert). However, it not work properly with external hosts (WAN). For example for my video streaming test, bw cannot exceed 2 Kbps ?. Is there any solution to control the bw dynamically inside the LAN between clients when all clients launch video streaming service (of course using NAT to connect with strealming server).
Best Regards,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.