Re: [Ryu-devel] Trouble parsing DHCP packets

2014-10-23 Thread Nitin Sharma
If you have the rule that exports default actions=CONTROLLER , try actions=CONTROLLER:1024 so that 1024 bytes of DHCP packet goes as Packet-IN. It could be sending truncated packets as Packet-IN, I think 255 bytes is the default. Nitin Sharma On Thu, Oct 23, 2014 at 2:23 PM, Jeff Rasley wrote

Re: [Ryu-devel] I'm not seeing flow_removed msgs

2014-05-07 Thread Nitin Sharma
Do you have the OFPFF_SEND_FLOW_REM flag set on the flow entries that you intend to receive Flow removed msg from? Nitin Sharma On Wed, May 7, 2014 at 5:50 AM, Ricardo Schmidt wrote: > Hi all, > > I'm trying some first steps with Ryu and a Pica8 openflow switch (running > ope

[Ryu-devel] OFPFlowStatsRequest with unique ID

2013-11-21 Thread Nitin Sharma
How do you send multiple OFPFlowStatsRequest with unique IDs so that the reply gets tied to the request sent? I was thinking of using the 'xid' field, but looks like OFPFlowStatsRequest doesn't allow to update that field on outgoing msgs? Thanks Nitin

[Ryu-devel] OFPActionSetField issues - OFPT_FLOW_MOD with incorrect length 116

2013-09-12 Thread Nitin Sharma
Here are the actions/instructions I am trying to set using , me.ofproto.OFPIT_APPLY_ACTIONS [OFPActionOutput(len=16,max_len=0,port=5,type=0), OFPActionSetField(eth_dst='00:25:90:9b:b8:47')] [OFPInstructionActions(actions=[OFPActionOutput(len=16,max_len=0,port=5,type=0), OFPActionSetField(eth_dst

[Ryu-devel] next-hop ryu implementation

2013-05-14 Thread Nitin Sharma
Folks - Just wanted to see if there is anyone who has already built Any layer3 next-hop implementations on ryu for layer3 forwarding? Something that does mac rewrites and arp-handling between adjacent routers/switches. not looking at pointers to routeflow. more like minimal next-hop routing (ma

Re: [Ryu-devel] parsing ARP_SPA and ARP_TPA

2013-05-02 Thread Nitin Sharma
On Wed, May 1, 2013 at 4:47 AM, Isaku Yamahata wrote: > On Tue, Apr 30, 2013 at 05:31:39PM -0400, Nitin Sharma wrote: > > I am trying to parse an ARP src and dst ip from arp broadcast, and I > could > > achieve it on OFv1.0 using the wiki article (pkt.protocols). However on >

Re: [Ryu-devel] parsing ARP_SPA and ARP_TPA

2013-05-02 Thread Nitin Sharma
On Wed, May 1, 2013 at 2:41 AM, FUJITA Tomonori < fujita.tomon...@lab.ntt.co.jp> wrote: > On Tue, 30 Apr 2013 17:31:39 -0400 > Nitin Sharma wrote: > > > elif (msg.version == 1): > > pkt = packet.Packet(array.array('B', ev.ms

[Ryu-devel] mac_to_network lookup

2013-04-23 Thread Nitin Sharma
Hello, I want to write a simple application that stores to the mac_to_port() and mac_to_network(), I see some references on those files in ryu. Therefore I wouldnt want to reinvent the wheel. As simple as {switch_dpid, port_no, mac, network_add} so that I can do a lookup and send packets to. Wha