Commit 965af3b
committed
yang: smart_switch dpu_id is defined as string
Passing an integer value in when the yang model is defined as a
string is invalid. However, its possible the yang model itself
is not proper as it seems to limit the value to 1-7. However,
such a change would be out of scope for this patch series as
we are just porting to libyang3.1 parent cbfdfa8 commit 965af3b
File tree
1 file changed
+3
-3
lines changed- src/sonic-yang-models/tests/yang_model_pytests
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
385 | | - | |
386 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| |||
0 commit comments