Skip to content

Commit

Permalink
Merge pull request #383 from gechiang/202205
Browse files Browse the repository at this point in the history
[chassis][voq] Remove the leaf ref for the ifname in sonic-system-por…
  • Loading branch information
gechiang authored Jun 5, 2024
2 parents d41fb92 + b0d97cb commit dd83cdc
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/sonic-yang-models/yang-models/sonic-system-port.yang
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,8 @@ module sonic-system-port {
}

leaf ifname {
type union {
type leafref {
path /port:sonic-port/port:PORT/port:PORT_LIST/port:name;
}
type string {
pattern "Cpu0";
}
type string {
length 1..128;
}
}

Expand Down

0 comments on commit dd83cdc

Please sign in to comment.