Re: [Ryu-devel] Help with pushing rules on the switch using RYU controller

2013-10-14 Thread sachin kulkarni
Thank you for the reply. I am using a hardware switch, not OVS. But I do understand now that I should use a set_field and not ethertype. In this case, would you be able to tell me what the correct command is? Also, I tried hard but could not find a wiki or a tutorial that can tell me the differen

Re: [Ryu-devel] Help with pushing rules on the switch using RYU controller

2013-10-14 Thread YAMAMOTO Takashi
> Hi, > > This is a beginner question, I think. > > I want to do this - > > match: {VLAN none, in-port 1} --> action: {change VLAN to 5, fwd port 3} > // pkts from native link > > i.e. for a when a packet with no vlan comes in on port 1, I want to add a > vlan tag of 5 to it and send it out

[Ryu-devel] Help with pushing rules on the switch using RYU controller

2013-10-14 Thread sachin kulkarni
Hi, This is a beginner question, I think. I want to do this - > match: {VLAN none, in-port 1} --> action: {change VLAN to 5, fwd port 3} // pkts from native link i.e. for a when a packet with no vlan comes in on port 1, I want to add a vlan tag of 5 to it and send it out on port 3. So I am