Re: [Ryu-devel] Reg: Experimenter message

2017-12-04 Thread Iwase Yusuke
Hi Subha, How about the following? Example: experimenter = exp_type = data = b'\x00\x00...' # as a raw binary data msg = ofproto.OFPExperimenter( datapath, experimenter=experimenter, exp_type=exp_type, data=data) datapath.send_msg(msg) Thanks, Iwase On 2017年12月

[Ryu-devel] Reg: Experimenter message

2017-12-04 Thread Subha
Hi Team, Can you pls let me know how to send an experimenter message using ryu controller. Any json file example ? I referred the following example, but still not getting a clear idea. http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#experimenter Thanks, subha. --

Re: [Ryu-devel] SET CONTROLLER IP - GET CONNECTED SWITCHES

2017-12-04 Thread Iwase Yusuke
Hi Alessandro, Well... I might misunderstand your situation... You just want to tell your controller's IP/port to your switches when starting your topology up, right? In other words, it is not required to configure the controller address dynamically after the topology was created. If so, did you

Re: [Ryu-devel] Flow removed handler fails , Cannot parse header in OF version 1.5

2017-12-04 Thread rahul b
Hi Iwase, Yes, i intend to use, OF 1.5 only. Thanks for your help on this issue.! Regards, Rahul On Tuesday, December 5, 2017, Iwase Yusuke wrote: > Hi Rahul, > > Could you keep the Ryu-devel mailing list? > > Well... if you keep this change on only your local, I think it has no side > effe

Re: [Ryu-devel] Datapath issue

2017-12-04 Thread Iwase Yusuke
Hi, > " Datapath in process of terminating; send() to 10.0.0.100 discarded " This message shows Ryu could not send a message because the connection to your switch was already disconnected and "send_loop" thread was closed. Please confirm that the connection between controller-switch kept establ

Re: [Ryu-devel] Flow removed handler fails , Cannot parse header in OF version 1.5

2017-12-04 Thread Iwase Yusuke
Hi Rahul, Could you keep the Ryu-devel mailing list? Well... if you keep this change on only your local, I think it has no side effect with the OpenFlow 1.3-1.5. It seems to replace the parser for OFPT_FLOW_REMOVED message as expected. With the OpenFlow 1.0-1.2, it might have some problems, but

Re: [Ryu-devel] SET CONTROLLER IP - GET CONNECTED SWITCHES

2017-12-04 Thread Alessandro Gaballo
Hi, the API you suggested regarding the switch name is not what I need because it simply returns the datapath object, which I already have since I'm saving them when a new packet is received. What I need is the name of the switch, the one I'm using in Mininet to be clear. Is that simply the id?

[Ryu-devel] Datapath issue

2017-12-04 Thread shahid javed
Hi All, I am trying to get switch status updates under a link high load, I have the following method which sends request to switches to reply with their stats. The issue I am having is when a packet gets dropped due to high load I am not able to resend the packet. I tried the --verbose to get the