[yang] Support new interface types CR8/SR8/KR8/LR8 (#10826)

- 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>
This commit is contained in:
Kebo Liu 2022-05-26 23:16:23 +08:00 committed by GitHub
parent cc9a4beb0c
commit c618a653a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;