Re: [Ryu-devel] Regarding the modification of header in controller messages.

2014-04-24 Thread Sarath Allaka
I am using OF1.3 then I am geetting the following error : actions=[] actions.append( OFPActionSetField(eth_dst="00:00:00:00:00:05")) actions.append(OFPActionSetField(ip_dst="10.0.0.2")) File "/home/ubuntu/ryu/ryu/lib/hub.py", line 48, in _launch func(*args, **kwargs) File "/home/ubuntu/ryu/

Re: [Ryu-devel] Regarding the modification of header in controller messages.

2014-04-16 Thread YAMAMOTO Takashi
> hi guys, > actions=[] > actions.append( OFPActionSetField(eth_dst="00:00:00:00:00:05")) > actions.append(OFPActionSetField(ip_dst="10.0.0.2")) this api is for OF1.2 and later. > actions.append(datapath.ofproto_parser.OFPActionOutput(out_port)) > > hub: uncaught exception: Traceback (mo

Re: [Ryu-devel] Regarding the modification of header in controller messages.

2014-04-16 Thread FUJITA Tomonori
On Tue, 15 Apr 2014 15:06:20 +0530 Sarath Allaka wrote: > actions=[] > actions.append( OFPActionSetField(eth_dst="00:00:00:00:00:05")) > actions.append(OFPActionSetField(ip_dst="10.0.0.2")) > actions.append(datapath.ofproto_parser.OFPActionOutput(out_port)) Can you send the full code? -

Re: [Ryu-devel] Regarding the modification of header in controller messages.

2014-04-15 Thread Sarath Allaka
hi guys, actions=[] actions.append( OFPActionSetField(eth_dst="00:00:00:00:00:05")) actions.append(OFPActionSetField(ip_dst="10.0.0.2")) actions.append(datapath.ofproto_parser.OFPActionOutput(out_port)) hub: uncaught exception: Traceback (most recent call last): File "/home/ubuntu/ryu/ry

Re: [Ryu-devel] Regarding the modification of header in controller messages.

2014-04-14 Thread YAMAMOTO Takashi
> Hi guys, > I am doing a project in RYU controller.I want to modify the > source mac and ip address of the packet in the controller. SO i request you > to send me a sample code or send me the details how to modify it. > Thank you in advance, using packet libra

[Ryu-devel] Regarding the modification of header in controller messages.

2014-04-14 Thread Sarath Allaka
Hi guys, I am doing a project in RYU controller.I want to modify the source mac and ip address of the packet in the controller. SO i request you to send me a sample code or send me the details how to modify it. Thank you in advance, With Regards, Sarath Allaka