File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
sonic_platform_base/sonic_xcvr Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,9 @@ def get_freq_grid(self):
9696 This function returns the configured frequency grid. Unit in GHz
9797 '''
9898 freq_grid = self .xcvr_eeprom .read (consts .GRID_SPACING )
99- if freq_grid == 7 :
99+ if freq_grid == 8 :
100+ return 150
101+ elif freq_grid == 7 :
100102 return 75
101103 elif freq_grid == 6 :
102104 return 33
Original file line number Diff line number Diff line change @@ -398,6 +398,9 @@ class Sff8024(XcvrCodes):
398398 85 : '400GBASE-DR4-2 (placeholder)' ,
399399 86 : '800GBASE-DR8 (placeholder)' ,
400400 87 : '800GBASE-DR8-2 (placeholder)' ,
401+ 108 : '800ZR-A (0x01) 150 GHz DWDM' ,
402+ 109 : '800ZR-B (0x02) 150 GHz DWDM' ,
403+ 110 : '800ZR-C (0x03) 150 GHz DWDM' ,
401404 115 : '200GBASE-DR1 (Clause 180)' ,
402405 116 : '200GBASE-DR1-2 (Clause 181)' ,
403406 117 : '400GBASE-DR2 (Clause 180)' ,
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ class TestCCmis(object):
2323 api = CCmisApi (eeprom , cdb )
2424
2525 @pytest .mark .parametrize ("mock_response, expected" , [
26+ (8 , 150 ),
2627 (7 , 75 ),
2728 (6 , 33 ),
2829 (5 , 100 ),
You can’t perform that action at this time.
0 commit comments