FlowForwarding / LINC-Switch

OpenFlow Software Switch written in Erlang
http://flowforwarding.org
Other
213 stars 80 forks source link

conflicting prerequisite checks on ethertype for matches against both ip and mpls/vlan #211

Open marcsugiyama opened 10 years ago

marcsugiyama commented 10 years ago

If a match includes both ip and mpls or vlan (mix of level 2 and level 3), LINC rejects the match because of a prerequisite error. ip and mpls/vlan have conflicting required values for the ethertype making such matches impossible to create.

The ip prerequisite check on ethertype shouldn't be enforced if there are mpls or vlan matches, or the ethertype prerequisite checks should be reconsidered in the general.

nygge commented 10 years ago

As I see it 1.3.2 ch 7.2.3.6 Flow Match Field Prerequisite, says that this is not allowed. You can not have a match that contains different fields with different prerequisites on the same field.

On Mon, Nov 4, 2013 at 5:07 PM, Marc Sugiyama notifications@github.comwrote:

If a match includes both ip and mpls or vlan (mix of level 2 and level 3), LINC rejects the match because of a prerequisite error. ip and mpls/vlan have conflicting required values for the ethertype making such matches impossible to create.

The ip prerequisite check on ethertype shouldn't be enforced if there are mpls or vlan matches, or the ethertype prerequisite checks should be reconsidered in the general.

— Reply to this email directly or view it on GitHubhttps://github.com/FlowForwarding/LINC-Switch/issues/211 .