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 guess
this is because it does not want to have a loop of operations on the same
physical table. However,it accepts both MPLS label and VLAN labels at the
same time. I agree with you the first table might not change the
processing state, but why does the switch does not match with the second
table? The scenario is like you want to match on both IPV6 and MPLS header
at the same time.
Thanks!
Mehrdad Moradi
On Wed, Feb 25, 2015 at 4:17 PM, Nicholas Bastin <nick.bas...@gmail.com>
wrote:
> On Mon, Feb 23, 2015 at 1:36 PM, Mehrdad Moradi <imehrdad2...@gmail.com>
> 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
>>
>> or we will need to first let's say match on MPLS label and pop its label
>> in the first flow table
>> and then match on the vlan_id in the second table and drop the packet
>> there
>>
>
> As you've pointed out, this is ambiguous. Does this mean MPLSoE or
> EoMPLS? The OpenFlow spec is not at all specific when it comes to these
> kinds of questions, and I think you should expect that they are unlikely to
> work the way you want. Even in a switch where there are multiple tables of
> different capabilities and the ordering seems clear (e.g. the MPLS match
> table comes before the L2 VLAN table, etc.), it may still not allow
> actually making a match in that second table because making a *match* in
> the first table doesn't actually change the parse state of the packet
> unless you have immediate action sets available.
>
> --
> Nick
>
--
-----
Mehrdad Moradi
‌Research Assistant
University of Michigan- Ann Arbor
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel