Skip to content

Commit

Permalink
allow None for cable length - for port removal
Browse files Browse the repository at this point in the history
Signed-off-by: matiAlfaro <mati@marvell.com>
  • Loading branch information
matiAlfaro committed Jul 2, 2024
1 parent 310556f commit 4fa20fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic-yang-models/yang-models/sonic-cable-length.yang
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module sonic-cable-length {

leaf length {
type string {
pattern '[0-9]+m' {
pattern '[0-9]+m|None' {
error-message "Invalid cable length.";
error-app-tag cable-length-invalid-length;
}
Expand Down

0 comments on commit 4fa20fc

Please sign in to comment.