You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yang: policer should not define cbs default value of 0
It looks like there is a behavior difference between libyang1 and
libyang3 where a default value of 0 was actually treated the same
as not set, so now the `POLICER_PIR_WITHOUT_CIR` test case is
failing with:
```
ERROR YANG-TEST:test_yang_model.py:303 POLICER_PIR_WITHOUT_CIR: Mismatch ["pir can't be configured without cir."] and failed to parse data tree: cbs can't be configured without cir.: Data path: /sonic-policer:sonic-policer/POLICER/POLICER_LIST[name='e3policer']/cbs
```
Get rid of this bogus default.
0 commit comments