Skip to content

Commit d4f692e

Browse files
committed
[DPB][YANG-models] Update portchannel yang model to have lacp_key
1 parent 7dd9d1f commit d4f692e

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,19 @@ module sonic-portchannel {
9595
mandatory true;
9696
type stypes:admin_status;
9797
}
98-
} /* end of list PORTCHANNEL_LIST */
98+
99+
leaf lacp_key {
100+
/* lacp key should be either auto or a integer in the range of 1 to 65535 */
101+
type union {
102+
type string {
103+
pattern "auto";
104+
}
105+
type uint16 {
106+
range 1..65535;
107+
}
108+
}
109+
}
110+
} /* end of list PORTCHANNEL_LIST */
99111

100112
} /* end of container PORTCHANNEL */
101113

0 commit comments

Comments
 (0)