Hi Mahmoud,

> can I measure time which rest firewall.py took to insert rule in switch? ?

It is the very difficult topic, I guess.
Because even if Ryu sent the FlowMod messages for installing flows, it is 
depending on the
switch's implementation when the switch trigger events to reflect "really" into 
its own
forwarding rule.
This problem is not limited to rest_firewall.py.

I guess you need to measure the elapsed time from when Ryu sent the FlowMod to 
when the
"real" forwarding rule was changed (in case of firewall, when the packets ware 
dropped).


> can I insert bulk of rules with one rest api request??

As I mentioned before, rest_firewall.py is just a sample application, it only 
provides
the APIs described on the Ryu-Book.
Is does not seem to have such APIs...
  http://osrg.github.io/ryu-book/en/html/rest_firewall.html#rest-api-list


Thanks,
Iwase

On 2017年11月21日 22:11, Mahmoud Elzoghbi wrote:
can I measure time which rest firewall.py took to insert rule in switch? ?

And,,

can I insert bulk of rules with one rest api request??

On Nov 21, 2017 8:48 AM, "Iwase Yusuke" <iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com>> wrote:

    Hi Mahmoud,

    You mean rest_firewall.py?
    rest_firewall.py is just an sample application for Ryu-Book, I guess it 
does not supposed to be
    measured about its performance and also such purpose.
    http://osrg.github.io/ryu-book/en/html/rest_firewall.html
    <http://osrg.github.io/ryu-book/en/html/rest_firewall.html>

    So if you want to generate the large number of rules for rest_firewall.py, 
you need to call the REST
    APIs many time...

    Thanks,
    Iwase


    On 2017年11月20日 19:50, Mahmoud Elzoghbi wrote:

        Hi


        anyone know how to generate large number of rules in my firewall in RYU 
controller ,and how
        to test performance of my firewall.


        thnx,,


        
------------------------------------------------------------------------------
        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>



------------------------------------------------------------------------------
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