Hi, On 2014年11月06日 12:41, Harsh wrote: > Hello, > > I am using ovs switch version 2.3.0 , Will I be able to add meter on it?? It > yes then how should I do that?? > Thank you so much.
This is in the ovs FAQ. Q: Does Open vSwitch support OpenFlow meters? A: Since version 2.0, Open vSwitch has OpenFlow protocol support for OpenFlow meters. There is no implementation of meters in the Open vSwitch software switch (neither the kernel-based nor userspace switches). https://github.com/openvswitch/ovs/blob/master/FAQ.md#q-does-open-vswitch-support-openflow-meters Just for your information, the following URL may be helpful for your test. http://osrg.github.io/ryu/certification.html thanks > >> On Nov 5, 2014, at 6:39 PM, Minoru TAKAHASHI <[email protected]> >> wrote: >> >> Please don't drop the mailing list of Ryu-devel. >> >>> On 2014年11月06日 10:44, Harsh wrote: >>> Thank you so much for the response! Moreover can you please guide me how to >>> install meter in a switch in order to get the statistics of meters! >> >> For example, >> >> 1.Add a meter entry >> (http://ryu.readthedocs.org/en/latest/app/ofctl_rest.html#add-a-meter-entry) >> >> $ curl -X POST -d '{"dpid": 2042113,"flags": "KBPS", "meter_id": 1,"bands": >> [{"type": "DROP", "rate": 1000 }] }' >> http://localhost:8080/stats/meterentry/add >> >> 2.Get meters stats >> (http://ryu.readthedocs.org/en/latest/app/ofctl_rest.html#get-meters-stats) >> >> $ curl http://localhost:8080/stats/meter/2042113 >> {"2042113": [{"duration_sec": 22, "band_stats": [{"byte_band_count": >> 18446744073709551615, "packet_band_count": 18446744073709551615}], >> "meter_id": 1, "flow_count": 4294967295, "packet_in_count": >> 18446744073709551615, "duration_nsec": 444000, "len": 56, "byte_in_count": >> 18446744073709551615}]} >> >> In the above example I am using the LINC-Switch set to OF13. >> >> thanks >> >>> >>> >>> Thank You again! >>> >>> Harsh >>> >>>> On Nov 5, 2014, at 4:19 PM, Minoru TAKAHASHI <[email protected]> >>>> wrote: >>>> >>>> Hi, Harsh >>>> >>>>> On 2014年11月05日 18:22, Harsh wrote: >>>>> Hello, >>>>> >>>>> I am working on an application which is built in in ryu i.e ofctl_rest.py >>>>> >>>>> I have a doubt regarding POST API function that which can be key value >>>>> for those commands if I want to call it by java/json?? And How can I get >>>>> the key value pair for that? Can anyone please letme know as soon as >>>>> possible as I am working on a project! >>>> >>>> There is a page that describes how to use the ofctl_rest.py. >>>> Please refer to the following URL. >>>> http://ryu.readthedocs.org/en/latest/app/ofctl_rest.html >>>> >>>>> >>>>> Any help would be appreciated! Thank you so much. >>>>> >>>>> Regards, >>>>> Harsh >>>>> ------------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> Ryu-devel mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel >>>>> ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
