Re: [Ryu-devel] MPLS-Partial Matching

2015-02-25 Thread Nicholas Bastin
On Wed, Feb 25, 2015 at 4:48 PM, Mehrdad Moradi wrote: > Given MPLS is a layer 2.5 protocol VLAN is a layer 2 protocol, I guess I > would like to have EoMPLS. Does it make sense? > It makes sense what you want, but both are common deployment scenarios.. :-) > The scenario is like you want to m

Re: [Ryu-devel] MPLS-Partial Matching

2015-02-25 Thread Mehrdad Moradi
Thanks a lot Nicholas for the comment. Given MPLS is a layer 2.5 protocol VLAN is a layer 2 protocol, I guess I would like to have EoMPLS. Does it make sense? The OF standard says it always matches with the outermost label in the packet when it comes to a specific protocol such as MPLS or VLAN. I

Re: [Ryu-devel] MPLS-Partial Matching

2015-02-25 Thread Nicholas Bastin
On Mon, Feb 23, 2015 at 1:36 PM, Mehrdad Moradi wrote: > Thanks Minoru for the response. Given this feature is not available, do > you know if it is possible > to match both VLAN and MPLS tags in one flow entry? For example, the > following: > > If (vlan_id ==10 and mpls_label==20): drop packet >

Re: [Ryu-devel] MPLS-Partial Matching

2015-02-25 Thread Mehrdad Moradi
Thanks Minoru for helping me. I'd appreciate it. It seems that the ethernet type field for VLAN and MPLS are different: VLAN: Ethertype 0x8100 and 0x88a8 should be used. MPLS: Ethertype 0x8847 and 0x8848 should be used. Did you also try to create packets matching the flow entry you installed and

Re: [Ryu-devel] MPLS-Partial Matching

2015-02-25 Thread Minoru TAKAHASHI
Hi, On 2015年02月24日 03:36, Mehrdad Moradi wrote: > Thanks Minoru for the response. Given this feature is not available, do you > know if it is possible > to match both VLAN and MPLS tags in one flow entry? For example, the > following: > > If (vlan_id ==10 and mpls_label==20): drop packet I th

Re: [Ryu-devel] MPLS-Partial Matching

2015-02-23 Thread Mehrdad Moradi
Thanks Minoru for the response. Given this feature is not available, do you know if it is possible to match both VLAN and MPLS tags in one flow entry? For example, the following: If (vlan_id ==10 and mpls_label==20): drop packet or we will need to first let's say match on MPLS label and pop its l

Re: [Ryu-devel] MPLS-Partial Matching

2015-02-22 Thread Minoru TAKAHASHI
Hi, On 2015年02月22日 02:18, Mehrdad Moradi wrote: > Hi All, > > I have a question regarding MPLS matching in Ryu. I would like to have > a wild card in MPLS label matching. For example, I would like to say: > > If (MPLS Label = 1011*)--> Push MPLS Label (11000). Is this operation > possible in Ryu

[Ryu-devel] MPLS-Partial Matching

2015-02-21 Thread Mehrdad Moradi
Hi All, I have a question regarding MPLS matching in Ryu. I would like to have a wild card in MPLS label matching. For example, I would like to say: If (MPLS Label = 1011*)--> Push MPLS Label (11000). Is this operation possible in Ryu or we cannot basically have it in OpenFlow? This is because I