Skip to content

Commit

Permalink
fix for yang disreptive change (sonic-net#18428)
Browse files Browse the repository at this point in the history
#### Why I did it
Removed Default Mode value from sonic-port.yang & sonic-portchannel.yang to avoid disruptive change

#### How I did it
This PR is created in reference with [PR](sonic-net#13580)
  • Loading branch information
ridahanif96 authored Mar 27, 2024
1 parent d5e2f64 commit 17d728e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/sonic-yang-models/yang-models/sonic-port.yang
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ module sonic-port{
leaf mode {
description "SwitchPort Modes possible values are routed|access|trunk. Default value for mode is routed";
type stypes:switchport_mode;
default "routed";
}

leaf description {
Expand Down
1 change: 0 additions & 1 deletion src/sonic-yang-models/yang-models/sonic-portchannel.yang
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ module sonic-portchannel {
leaf mode {
description "PortChannel SwitchPort Mode possible values are routed|access|trunk. Default value for mode is routed.";
type stypes:switchport_mode;
default "routed";

}

Expand Down

0 comments on commit 17d728e

Please sign in to comment.