Skip to content

Commit ef6ee2b

Browse files
authored
Update Host and single media interfaces IDs per SFF-8024 v4.13 (#596)
* Update Host and single media interfaces IDs per SFF-8024 v4.13 Signed-off-by: Mihir Patel <[email protected]> * Fixed test failure due to PR#599 having older LPO SM media interface IDs * Added back 800ZR media interface codes --------- Signed-off-by: Mihir Patel <[email protected]>
1 parent 1ccb062 commit ef6ee2b

File tree

2 files changed

+33
-14
lines changed

2 files changed

+33
-14
lines changed

sonic_platform_base/sonic_xcvr/api/public/cmis.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ class CmisApi(XcvrApi):
119119
]
120120

121121
LPO_SM_MEDIA_INTERFACE_IDS = [
122-
Sff8024.SM_MEDIA_INTERFACE[151],
123-
Sff8024.SM_MEDIA_INTERFACE[152],
124-
Sff8024.SM_MEDIA_INTERFACE[153],
125-
Sff8024.SM_MEDIA_INTERFACE[154]
122+
Sff8024.SM_MEDIA_INTERFACE[143],
123+
Sff8024.SM_MEDIA_INTERFACE[144],
124+
Sff8024.SM_MEDIA_INTERFACE[145],
125+
Sff8024.SM_MEDIA_INTERFACE[146]
126126
]
127127

128128
# Default caching enabled; control via classmethod

sonic_platform_base/sonic_xcvr/codes/public/sff8024.py

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -267,15 +267,24 @@ class Sff8024(XcvrCodes):
267267
78: '200GAUI-2-L C2M (Annex 120G)',
268268
79: '400GAUI-4-S C2M (Annex 120G)',
269269
80: '400GAUI-4-L C2M (Annex 120G)',
270-
81: '800G S C2M (placeholder)',
271-
82: '800G L C2M (placeholder)',
270+
81: '800GAUI-8 S C2M (Annex 120G)',
271+
82: '800GAUI-8 L C2M (Annex 120G)',
272272
83: 'OTL4.2',
273273
87: '800GBASE-CR4 (Clause179)',
274274
88: '1.6TBASE-CR8 (Clause179)',
275+
116: 'CEI-112G-LINEAR-PAM4',
275276
128: '200GAUI-1 (Annex176E)',
276277
129: '400GAUI-2 (Annex176E)',
277278
130: '800GAUI-4 (Annex176E)',
278-
131: '1.6TAUI-8 (Annex176E)'
279+
131: '1.6TAUI-8 (Annex176E)',
280+
144: 'EEI-100G-RTLR-1-S',
281+
145: 'EEI-100G-RTLR-1-L',
282+
146: 'EEI-200G-RTLR-2-S',
283+
147: 'EEI-200G-RTLR-2-L',
284+
148: 'EEI-400G-RTLR-4-S',
285+
149: 'EEI-400G-RTLR-4-L',
286+
150: 'EEI-800G-RTLR-8-S',
287+
151: 'EEI-800G-RTLR-8-L',
279288
}
280289

281290
# MMF media interface IDs
@@ -366,6 +375,9 @@ class Sff8024(XcvrCodes):
366375
50: '8R1-4D1F (G.959.1)',
367376
51: '8I1-4D1F (G.959.1)',
368377
52: '100G CWDM4-OCP',
378+
53: 'ZR400-OFEC-16QAM-HA',
379+
54: 'ZR400-OFEC-16QAM-HB',
380+
55: 'ZR400-OFEC-8QAM-HA',
369381
56: '10G-SR',
370382
57: '10G-LR',
371383
58: '25G-SR',
@@ -395,9 +407,16 @@ class Sff8024(XcvrCodes):
395407
82: 'FOIC2.8-DO (G.709.3/Y.1331.3)',
396408
83: 'FOIC4.8-DO (G.709.3/Y.1331.3)',
397409
84: 'FOIC2.4-DO (G.709.3/Y.1331.3)',
398-
85: '400GBASE-DR4-2 (placeholder)',
399-
86: '800GBASE-DR8 (placeholder)',
400-
87: '800GBASE-DR8-2 (placeholder)',
410+
85: '400GBASE-DR4-2 (Clause 124)',
411+
86: '800GBASE-DR8 (Clause 124)',
412+
87: '800GBASE-DR8-2 (Clause 124)',
413+
88: 'ZR400-OFEC-8QAM-HB',
414+
89: 'ZR300-OFEC-8QAM-HA',
415+
90: 'ZR300-OFEC-8QAM-HB',
416+
91: 'ZR200-OFEC-QPSK-HA',
417+
92: 'ZR200-OFEC-QPSK-HB',
418+
93: 'ZR100-OFEC-QPSK-HA',
419+
94: 'ZR100-OFEC-QPSK-HB',
401420
108: '800ZR-A (0x01) 150 GHz DWDM',
402421
109: '800ZR-B (0x02) 150 GHz DWDM',
403422
110: '800ZR-C (0x03) 150 GHz DWDM',
@@ -412,10 +431,10 @@ class Sff8024(XcvrCodes):
412431
123: '800GBASE-LR4 (Clause 183)',
413432
127: '1.6TBASE-DR8 (Clause 180)',
414433
128: '1.6TBASE-DR8-2 (Clause 181)',
415-
151: "100G-DR1-LPO",
416-
152: "200G-DR2-LPO",
417-
153: "400G-DR4-LPO",
418-
154: "800G-DR8-LPO",
434+
143: '100G-DR1-LPO',
435+
144: '200G-DR2-LPO',
436+
145: '400G-DR4-LPO',
437+
146: '800G-DR8-LPO',
419438
}
420439

421440
# Passive and Linear Active Copper Cable and Passive Loopback media interface codes

0 commit comments

Comments
 (0)