Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion models/yang/sonic/sonic-port.yang
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ module sonic-port {
"SONiC";

description
"SONIC VLAN";
"SONIC PORT";

revision 2021-03-15 {
description
"Added fec.";
}

revision 2019-05-15 {
description
Expand Down Expand Up @@ -87,6 +92,15 @@ module sonic-port {
type cmn:admin-status;
default "down";
}

leaf fec {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we not moving the yang model to sonic-yang-models?

type string {
pattern "(none|rs|fc)" {
error-message "Invalid interface FEC mode";
error-app-tag fec-mode-invalid;
}
}
}
}
}
}
Expand Down