-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow creation of EVCs for untagged UNI - support matching packets without a VLAN tag #219
Comments
This is also related to in-band management use case. |
From the OpenFlow specification, there are 4 possible scenarios for VLAN tag matching (i.e., the combinations of wildcard bits and field values for particular VLAN tag matches) in Table 12 of OF 1.3.0 [1]: Scenario 1: Matching packets with and without a VLAN tag Scenario 2: Matching only packets without a VLAN tag Scenario 3: Matching only packets with a VLAN tag regardless of its value Scenario 4: Matching only packets with VLAN tag and VID equal value Scenario 1 is the easiest: we just need don't provide the VLAN ID. For Mef_eline this is already implemented when we create an EPL. Scenario 4: is also already covered: we just need to create an EVPL EVC with a valid Tag value (1-4095). Scenario 3: could be done if we accept vlan_vid as being 0 (internally, this should setup the mask). This will require some changes on the core, so that Tag value can be zero Scenario 2: this will require more changes. From the user perspective, it could be done if we accept vlan_vid as being -1. We have to work on of_core, because it assumes the flag OFPVID_PRESENT. Probably, we would also require some changes on flow_manager and, of course, Kytos core (to accept -1) and mef_eline (range of possible values for tag value). [1] https://opennetworking.org/wp-content/uploads/2014/10/openflow-spec-v1.3.0.pdf |
As discused
Internally
|
Nicely done consolidating and proposing the implementation details. Looks really great to me, it's nice how Regarding |
cc'ing:
|
Now that we have more combinations for EVCs ( |
this point here is being addressed on kytos-ng/kytos#331 for the record, so looks good. Great spreadsheet. Overall, this feature looks very well defined. I'd like to confirm though regarding FlowMods priority as we briefly chatted. Currently, we have on
Should we support any of these 4 configurations in the same UNI? It's probably worth confirming with @italovalcy and @jab1982, but in the same way EPL and EVPL are supported, maybe we should I wonder if the levels of priority should be in descending order (I noticed in your spreadsheet some priorities there, but I figured it'd be easier to raise the questions here):
|
Hi @viniarck, good catch! IMO, we can deal with untagged with the same priority of EVPL, because it is not an overlapping matching. On the other hand, the
|
This discussion is finished and the PRs related to it are close to be merged. |
Hi,
We should enhance mef_eline to allow the creation of EVCs for untagged UNIs, i.e., matching packets without a VLAN tag.
According to OpenFlow spec 1.3:
in our case, creating an EPL will work for untagged traffic, but it will end up matching much more than just untagged traffic: it will match everything in the interface.
If we try to create the EVC, I couldn't find an option to use untagged:
The text was updated successfully, but these errors were encountered: