Skip to content

Commit

Permalink
support new interface types CR8/SR8/KR8/LR8 which are brougnt by SAI …
Browse files Browse the repository at this point in the history
…V.1.10.2 (#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 <kebol@nvidia.com>
  • Loading branch information
keboliu authored May 14, 2022
1 parent 87fc0a4 commit b370290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/portconfig
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ PORT_STATE_TABLE_NAME = "PORT_TABLE"
PORT_STATE_SUPPORTED_SPEEDS = "supported_speeds"


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

Expand Down

0 comments on commit b370290

Please sign in to comment.