Re: [Ryu-devel] Flow entry attaches to meter problem via ryu controller

2014-12-12 Thread Henrique Santos Fernandes
I have tested from a few weeks ago and it did not work. See here: https://github.com/openvswitch/ovs/blob/master/FAQ.md#q-does-open-vswitch-support-openflow-meters Em Fri Dec 12 2014 at 12:46:41, Flavio Junior escreveu: > I remember that was true until the last version I tried. But I haven't >

Re: [Ryu-devel] Flow entry attaches to meter problem via ryu controller

2014-12-12 Thread Flavio Junior
I remember that was true until the last version I tried. But I haven't tested OVS 2.3.0. Any chance they have fixed it? Sent using CloudMagic On Fri, Dec 12, 2014 at 9:02 AM, Henrique Santos Fernandes wrote:Hello,Don't know how its is working, it maybe the link limit from minin

Re: [Ryu-devel] Flow entry attaches to meter problem via ryu controller

2014-12-12 Thread Henrique Santos Fernandes
Hello, Don't know how its is working, it maybe the link limit from mininet! But openvswitch does not support meters! you can use this softwswitch that supports it https://github.com/CPqD/ofsoftswitch13 You can see that ovs doe snot support any meters here in this link: http://osrg.github.io/ryu

Re: [Ryu-devel] detect SW vendor

2014-12-12 Thread Vilius Palubinskas
Hi, Problem solved by this code: from ryu.lib import dpid as dpid_lib dp_str = dpid_lib.dpid_to_str(datapath.id) print(dp_str) sw = [dp_str[i:i+4] for i in range(0, len(dp_str), 4)] print('kazkas:%s',sw) if sw[1] == '1458': #vendor

[Ryu-devel] Flow entry attaches to meter problem via ryu controller

2014-12-12 Thread 许晨辉
Hello folks, I have met a problem when I try to limiting rate of packet through meter table.When I designate meter_id for flow entry,I dump flows show that the flow entry can't add to openvswitch.However , I find that the packet is limited by meter band verifing according to iperf h1 h2 in mininet

[Ryu-devel] detect SW vendor

2014-12-12 Thread Vilius Palubinskas
Hi, I found that OVS and HP use different flow tables for setting flow rules. It's possible to determinate switch vendor? I was using mininet OVS. And what waitress do? I tried this code: @set_ev_cls(ofp_event.EventOFPSwitchFeatures, CONFIG_DISPATCHER) def miss_flow (self, ev): datapath =