Skip to content

Commit b370290

Browse files
authored
support new interface types CR8/SR8/KR8/LR8 which are brougnt by SAI V.1.10.2 (sonic-net#2167)
- What I did With SAI V.1.10.2, new interface types CR8/SR8/KR8/LR8 have been introduced, we should also support them from the CLI configuration. - How I did it Add new interface types to VALID_INTERFACE_TYPE_SET - How to verify it Run CLI command "config interface types", new types can be accepted by the CLI. Signed-off-by: Kebo Liu <[email protected]>
1 parent 87fc0a4 commit b370290

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/portconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ PORT_STATE_TABLE_NAME = "PORT_TABLE"
6060
PORT_STATE_SUPPORTED_SPEEDS = "supported_speeds"
6161

6262

63-
VALID_INTERFACE_TYPE_SET = set(['CR','CR2','CR4','SR','SR2','SR4',
64-
'LR','LR4','KR','KR4','CAUI','GMII',
63+
VALID_INTERFACE_TYPE_SET = set(['CR','CR2','CR4','CR8','SR','SR2','SR4','SR8',
64+
'LR','LR4','LR8','KR','KR4','KR8','CAUI','GMII',
6565
'SFI','XLAUI','KR2','CAUI4','XAUI',
6666
'XFI','XGMII', 'none'])
6767

0 commit comments

Comments
 (0)