Skip to content

Commit

Permalink
[yang] Support new interface types CR8/SR8/KR8/LR8 (#10826)
Browse files Browse the repository at this point in the history
- Why I did it
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 enum for the new interface types

- How to verify it
Run the "config interface type" command to verify new interface types can be accepted and handled correctly.

Signed-off-by: Kebo Liu <kebol@nvidia.com>
  • Loading branch information
keboliu authored May 26, 2022
1 parent cc9a4be commit c618a65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sonic-yang-models/yang-templates/sonic-types.yang.j2
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,17 @@ module sonic-types {
enum CR;
enum CR2;
enum CR4;
enum CR8;
enum SR;
enum SR2;
enum SR4;
enum SR8;
enum LR;
enum LR4;
enum LR8;
enum KR;
enum KR4;
enum KR8;
enum CAUI;
enum GMII;
enum SFI;
Expand Down

0 comments on commit c618a65

Please sign in to comment.