Hi Carlos,

Of course, Yes. But it is depending on your application implementation.

To retrieve the port statistics related to the bandwidth, you can use the 
OFPPortStats
request/reply messages in your Ryu app.

http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPPortStatsRequest

The following page on Ryu-Book show an example to monitor the port statistics 
using these
messages, so you can implement your own reactions (e.g., if the congestion 
occur, then
install another flow entry) on your application.
  http://osrg.github.io/ryu-book/en/html/traffic_monitor.html

Thanks,
Iwase


On 2017年11月24日 23:06, Jose Carlos Ferreira de Melo Junior wrote:
Hi thank you for the answer,

But suposely, could I retrieve the switch or port features that has the rate of bandwidth and apply some rules regarding this bandwidth ???

does it work like that?

thanks in advance

2017-11-24 3:41 GMT-03:00 Iwase Yusuke <iwase.yusu...@gmail.com 
<mailto:iwase.yusu...@gmail.com>>:

    Hi Carlos,

    The OpenFlow Spec does not directly provide the mechanism for the 
multi-path load balancing and
    also Ryu does not provide it.
    I guess it is depending on your application design...

    But for the beginning, how about using the Group action(the "select" type)?
    The selection algorithm is depending on your switch though, it provides an 
easy way to do load
    balancing.
    Please refer to the section "5.6.1 Group Types" in the OpenFlow Spec 1.3.5 
for the details:
    
https://www.opennetworking.org/wp-content/uploads/2014/10/openflow-switch-v1.3.5.pdf
    
<https://www.opennetworking.org/wp-content/uploads/2014/10/openflow-switch-v1.3.5.pdf>

    Thanks,
    Iwase


    On 2017年11月22日 06:13, Jose Carlos Ferreira de Melo Junior wrote:

        Hi guys

        I'm new here so I'm not quite sure how this mailing list works...but 
it' ok
           jumping right on the problem

        I'm doing an experiment where I have a simple ring topology on mininet



        Imagem inline 1


        and What I'm trying to do is just a load balancer using openflow on Ryu.

        As i'm using a ring topology I'm working over a simple_switch_stp_13.py 
to prevent from any
        loop.

        The situation that I'm trying to do is if the link between h2 and h1 is 
overloaded h2 send
        the traffic to another way going through s3 to reach h1

        So first I would like to know if it is possible to make a load balancer 
like I described
        without using a rest_qos.py? And how could I start?


-- Best Regards,
        José Carlos Ferreira
        Msc student Computer Science



        
------------------------------------------------------------------------------
        Check out the vibrant tech community on one of the world's most
        engaging tech sites, Slashdot.org! http://sdm.link/slashdot



        _______________________________________________
        Ryu-devel mailing list
        Ryu-devel@lists.sourceforge.net <mailto:Ryu-devel@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/ryu-devel
        <https://lists.sourceforge.net/lists/listinfo/ryu-devel>




--
Atenciosamente,
José Carlos Ferreira
Mestrando em Ciência da Computação
Analista de Redes e Sistemas PoP-PE/RNP


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to