Skip to content

Commit 17d728e

Browse files
authored
fix for yang disreptive change (#18428)
#### 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](#13580)
1 parent d5e2f64 commit 17d728e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/sonic-yang-models/yang-models/sonic-port.yang

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ module sonic-port{
5555
leaf mode {
5656
description "SwitchPort Modes possible values are routed|access|trunk. Default value for mode is routed";
5757
type stypes:switchport_mode;
58-
default "routed";
5958
}
6059

6160
leaf description {

src/sonic-yang-models/yang-models/sonic-portchannel.yang

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ module sonic-portchannel {
6767
leaf mode {
6868
description "PortChannel SwitchPort Mode possible values are routed|access|trunk. Default value for mode is routed.";
6969
type stypes:switchport_mode;
70-
default "routed";
7170

7271
}
7372

0 commit comments

Comments
 (0)