-
Type: Story
-
Status: Resolved (View Workflow)
-
Priority: High
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.0
-
Component/s: None
-
Labels:None
-
Story Points:8
-
Sprint:VOLTHA 2.0 Sprint 13, VOLTHA 2.0 Sprint 14, VOLTHA 2.0 Sprint 15, VOLTHA 2.0 Sprint 16
Use the Lower 2 Bytes of the Upper 4 Bytes of the Metadata for Technology Profile ID
Remove support for the Flow Table being the Technology Profile Reference in Table 1 (last Flow Table).
Support the Meter Reference being in all Flow Tables.
Assuming;
Ingress Packet at OLT NNI (In Port = 65536), STAG = 4, CTAG = 2, Match on Tags 4, 2 POP outer Tag(4), modify Inner Tag to be 0(Priority Tagged; 2->0); Apply Technology Profile Reference = 1, and Downstream Meter Reference = 2, Egress Port =30736
Downstream Metadata to write : CTAG = 2, TPID = 1, Egress Port = 30736; 0x0002000100007810 (02/01/30736)
Ingress Packet at ONU UNI (In Port = 30736), Priority Tagged, QTAG = 0, Match on Tag 0, Change Outer Tag to be 2 (CTAG; 0->2), PUSH STAG 4; Apply Technology Profile Reference = 1, and Upstream Meter Reference = 1, Egress Port =65536
Upstream Metadata to write : STAG = 4, TPID = 1, Egress Port = 65536; 0x0004000100010000 (04/01/65536)
Metadata 8 bytes:
Most Significant 2 Bytes = Inner VLAN
Next 2 Bytes = Tech Profile ID(TPID)
Least Significant 4 Bytes = Port ID
In the Downstream Direction Table 0 needs to have metadata to indicate the Inner VLAN ID + TPID + Egress UNI PORT
Table 1 need to have metadata to indicate only the TPID
In Upstream Direction Table 0 needs to have metadata to indicate Outer VLAN ID + TPID + Egress NNI Port
Table 1 need to have metadata to indicate only the TPID
Downstream Flow Example:
-------------------------
(OLT Flow) id=ac0000d0fc7486, state=ADDED, bytes=0, packets=0, duration=4, liveType=UNKNOWN, priority=1000, tableId=0, appId=org.opencord.olt, payLoad=null, selector=[IN_PORT:65536, VLAN_VID:4], treatment=DefaultTrafficTreatment
{immediate=[VLAN_POP], deferred=[], write metadata=METADATA:02/01/30736}, transition=TABLE:1, meter=[METER:2], cleared=false, StatTrigger=null,
(ONT Flow) id=ac00001801d6d1, state=ADDED, bytes=0, packets=0, duration=4, liveType=UNKNOWN, priority=1000, tableId=1, appId=org.opencord.olt, payLoad=null, selector=[IN_PORT:65536, VLAN_VID:2], treatment=DefaultTrafficTreatment
{immediate=[VLAN_ID:0, OUTPUT:30736], write metadata=METADATA:0/01/0, transition=None, meter=[METER:2], cleared=false, StatTrigger=null}
Upstream Flow Example:
-------------------------
(ONT Flow) id=ac000000f780f6, state=ADDED, bytes=0, packets=0, duration=4, liveType=UNKNOWN, priority=1000, tableId=0, appId=org.opencord.olt, payLoad=null, selector=[IN_PORT:30736, VLAN_VID:0], treatment=DefaultTrafficTreatment
{immediate=[VLAN_ID:2], deferred=[], write metadata=METADATA:04/01/65536, transition=TABLE:1, meter=[METER:1], cleared=false, StatTrigger=null}(OLT Flow) id=ac0000c9fd17bf, state=ADDED, bytes=0, packets=0, duration=4, liveType=UNKNOWN, priority=1000, tableId=1, appId=org.opencord.olt, payLoad=null, selector=[IN_PORT: 30736 , VLAN_VID:2], treatment=DefaultTrafficTreatment
{immediate=[VLAN_PUSH:vlan, VLAN_ID:4, OUTPUT: 65536 ], write metadata=METADATA:0/01/0, transition=None, meter=[METER:1], cleared=false, StatTrigger=null}- relates to
-
VOL-1404 Add Support to the Broadcom Open ONU for supporting the Tech Profile ID as part of the metadata Flow attribute instead of reusing a Flow Table ID. Also Meter Reference is in all Flow Tables.
- Resolved
-
VOL-1225 Flow creation on ONU Discovery for Authentication using Subscriber Record information including Technology Profile and Meters
- Resolved
-
VOL-1528 Disable OLT works only when NNI0 is in use on OpenOLT
- Resolved
-
VOL-1534 Downstream DHCP trap flow (at NNI) not programmed
- Resolved