[Ryu-devel] FlowStatsRequests for all flow entries

2015-11-16 Thread Vishlesh Patel
Hi RYU team, I want to create a RYU traffic monitoring app with OpenFlow v1. If I want to request statistics for all flow entries. What will my code look like? following fails: match = ofp.OFPP_ANY or match = ofp.OFPP_NONE Thanks! Best Regards, Vishlesh Patel M.S. Computer Engineering NYU

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-25 Thread Vishlesh Patel
Hi Yusuke, parser.OFPMatch(nw_src=struct. unpack("!I", socket.inet_aton('10.0.0.1'))[0]) That works!! Thanks a ton. I think as a community we should document that so that it can help others! Best Regards, Vishlesh Patel M.S. Computer Engineering NYU Polytechnic School of

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-24 Thread Vishlesh Patel
Thanks, > Iwase > > On 2015年09月24日 15:38, Vishlesh Patel wrote: > > Hi, > > > > It is the same error i received last time without using addrconv method. > > > > Error: cannot convert argument to integer. > > > > hub: uncaught exception: Traceback (most re

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-23 Thread Vishlesh Patel
arser.py", line 213, in serialize self.nw_src, self.nw_dst, self.tp_src, self.tp_dst) File "/usr/local/lib/python2.7/dist-packages/ryu/lib/pack_utils.py", line 25, in msg_pack_into buf += struct.pack(fmt, *args) error: cannot convert argument to integer On Thu, Sep 24, 2015 at 2

Re: [Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-23 Thread Vishlesh Patel
flags=ofproto.OFPFF_SEND_FLOW_REM, actions=actions) datapath.send_msg(mod) Best Regards, Vishlesh Patel M.S. Computer Engineering NYU Polytechnic School of Engineering On Wed, Sep 23, 2015 at 8:22 PM, Yusuke Iwase wrote: > Hi, > > On 2015年09月23日 14:41, Vishlesh Patel wrote: > &g

[Ryu-devel] Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

2015-09-22 Thread Vishlesh Patel
ost 1 match = parser.OFPMatch(dl_type=ether.ETH_TYPE_IP, nw_proto=self.TCP_proto, nw_src = '10.0.0.3' , nw_dst = '10.1.0.3' ) action = [parser.OFPActionOutput(2)] self.add_flow(datapath, 10, match, action

[Ryu-devel] switch features ev version: 0x1 msg_type 0x6 in OpenFlow10

2015-09-22 Thread Vishlesh Patel
=0,state=0,curr=130,advertised=0,supported=0,peer=0), 65534: OFPPhyPort(port_no=65534,hw_addr='a0:36:9f:10:c0:62',name='data-br',config=0,state=0,curr=0,advertised=0,supported=0,peer=0)}) move onto main mode Please help if you have an idea. Best Regards, Vishle

Re: [Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-15 Thread Vishlesh Patel
for openFlow v1.5, I could not find the same docs. > > Thanks, > Iwase > > On 2015年04月15日 16:32, Vishlesh Patel wrote: > > Hi Yusuke, > > > > do you have know the same documentation for openFlow v1.3 and openFlow > v1.5 too for OVS. I tried looking over ryu-ce

Re: [Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-15 Thread Vishlesh Patel
x27;t support pushPbb action then pica8 should also not support that action. right? Do you have any idea regarding that? Thanks. Thanks Vishlesh On Wed, Apr 15, 2015 at 3:32 AM, Vishlesh Patel wrote: > Hi Yusuke, > > do you have know the same documentation for openFlow v1.3 and openF

Re: [Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-15 Thread Vishlesh Patel
03 AM, Vishlesh Patel wrote: > Hi Yusuke, > > Thank you very much for the reply. That documentation will be very helpful > for me. It will help me a lot to figure out whether my code is having bug > or not. > > Thanks > Vishlesh > > On Wed, Apr 15, 2015 at 2:58 AM, Yusu

Re: [Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-15 Thread Vishlesh Patel
ification. > The following shows that OVS does not support push and pop pbb actions in > Openflow1.4. > (http://osrg.github.io/ryu-certification/switch/of14/ovs) > > Thanks, > Iwase > > On 2015年04月15日 08:10, Vishlesh Patel wrote: > > Hello, > > > > I am

Re: [Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-14 Thread Vishlesh Patel
h, actions) Do any one know why I am getting type -2 and code 0 error?? what can be the bug in code?. Please help. Thanks. On Tue, Apr 14, 2015 at 7:05 PM, Vishlesh Patel wrote: > Hello, > > I am making a ryu app which has actions such as push pbb and pop pbb. I am > continuously gettin

Re: [Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-14 Thread Vishlesh Patel
tionOutput(outPort)] self.add_flow(datapath,10, match, actions) Do you have the Table of error , codes and types? Thanks, Vishlesh Patel M.S. Computer Engineering NYU Polytechnic School of Engineering On Tue, Apr 14, 2015 at 12:21 AM, Vishlesh Patel wrote: > However I have acti

Re: [Ryu-devel] push Mpls bug : OpenFlow 1.4

2015-04-14 Thread Vishlesh Patel
something to let me learn how to upgrade linux kernel version of mininet's ovs switch. Thanks, Vishlesh vishlesh.pate...@gmail.com On Tue, Apr 14, 2015 at 4:41 AM, Vishlesh Patel wrote: > Hi, > > I am creating the ryu app to push and pop mpls labels. Here is the flow > en

[Ryu-devel] push Mpls bug : OpenFlow 1.4

2015-04-14 Thread Vishlesh Patel
Hi, I am creating the ryu app to push and pop mpls labels. Here is the flow entries at ovs (version 2.3.1) switch s1: root@ubuntu:~# sudo ovs-ofctl -O OpenFlow14 dump-flows s1 OFPST_FLOW reply (OF1.4) (xid=0x2): cookie=0x0, duration=190.991s, table=0, n_packets=123, n_bytes=21852, priority=0 ac

Re: [Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-13 Thread Vishlesh Patel
shi.mino...@gmail.com> wrote: > Hi, > > Please don't drop mailing list. > > On 2015年04月14日 12:45, Vishlesh Patel wrote: > > Thank you very much for the reply. It helped me to get rid of > Ofperrormsg code =9 and type -4. Unfortunately, I am finding hard for > "A.4.4

[Ryu-devel] OFPErrorMsg code=0, type=2

2015-04-13 Thread Vishlesh Patel
that error? Thanks, Vishlesh Patel M.S. Computer Engineering NYU Polytechnic School of Engineering -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 sta

[Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-13 Thread Vishlesh Patel
and pop pbb action. Do any one knows what does that mean by code 9 and type 4 openflow error? Do you have the Table of error , codes and types? Thanks, Vishlesh Patel M.S. Computer Engineering NYU Polytechnic School of Engineering