[Ryu-devel] firewall issue

2015-05-12 Thread Jace Liang
Dear all, I am using the firewall in ryu app now But I'm wondering how to enable firewall without blocking the all traffic? Because the firewall app will deny all the connection by default. and then I have to make a lots of rules to allow my connections. How to enalbe firewall with allowing all t

Re: [Ryu-devel] error while running test

2015-05-12 Thread Yusuke Iwase
Hi Naresh, On 2015年05月12日 18:31, Naresh Kumar wrote: > Hi, > I am getting the following error when I run the test in xterm c0. > > Traceback (most recent call last): > File "/usr/local/bin/ryu-manager", line 5, in > from pkg_resources import load_entry_point > File "/usr/lib/python2.7/di

Re: [Ryu-devel] Problem with ofctl_rest.py

2015-05-12 Thread Yi Tseng
You are welcome To see more detail, you can use wireshark to get error openflow message -- Yi 2015-05-12 19:07 GMT+08:00 Samuele Redaelli : > Thank you very much, that works > > > 2015-05-12 12:06 GMT+02:00 Yi Tseng : > >> Hi >> >> Did you add a group before you add this flow entry ? >> >> >

Re: [Ryu-devel] Problem with ofctl_rest.py

2015-05-12 Thread Samuele Redaelli
Thank you very much, that works 2015-05-12 12:06 GMT+02:00 Yi Tseng : > Hi > > Did you add a group before you add this flow entry ? > > > > > -- > Yi > > 2015-05-12 16:39 GMT+08:00 Samuele Redaelli >: > >> Hi everybody, >> >> I am new to Ryu and I am encountering problems when I try to add a new

Re: [Ryu-devel] Problem with ofctl_rest.py

2015-05-12 Thread Yi Tseng
Hi Did you add a group before you add this flow entry ? -- Yi 2015-05-12 16:39 GMT+08:00 Samuele Redaelli : > Hi everybody, > > I am new to Ryu and I am encountering problems when I try to add a new > flow by using the REST APIs. I am using curl trying to install a rule like > the following:

[Ryu-devel] error while running test

2015-05-12 Thread Naresh Kumar
Hi, I am getting the following error when I run the test in xterm c0. Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in working_set = Work

[Ryu-devel] Problem with ofctl_rest.py

2015-05-12 Thread Samuele Redaelli
Hi everybody, I am new to Ryu and I am encountering problems when I try to add a new flow by using the REST APIs. I am using curl trying to install a rule like the following: curl -X POST -d '{ "dpid": 0001, "match":{ "dl_dst": "f2:e4:25:aa:d2:03" }, "actions":

Re: [Ryu-devel] Would you please answer these questions?

2015-05-12 Thread Yi Tseng
Hi 1) You can use rx_bytes and tx_bytes to calculate average traffic load for example : *(current rx - previous rx) / delta time* 2) Just send OFPT_ROLE_REQUEST to switch and let switch know which controller is slave, master or equal. For example : https://github.com/TakeshiTseng/SDN-Work/blob