]> git.puffer.fish Git - matthieu/frr.git/commit
yang: mark a couple of prefix-list/access-list leafs as mandatory
authorIgor Ryzhov <iryzhov@nfware.com>
Tue, 10 Aug 2021 19:10:56 +0000 (22:10 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 10 Aug 2021 19:39:32 +0000 (22:39 +0300)
commit2831ade3c2527cb28f1a20c10641134430c2ca84
tree764ae890fe848a8966900f7f460963c017e37e2c
parentdd4c59d79a0f053ff1a2c2acc177e6a26e6c4137
yang: mark a couple of prefix-list/access-list leafs as mandatory

The code assumes that these leafs always exist when their complementary
leafs exist. For example, when processing `ipv4-exact-match`, the code
always expects to have access to `ipv4-prefix`. If those leafs are not
provided, code crashes. It doesn't happen when using the CLI because it
always does the right thing, but it can happen when using other
frontends.

Also fix incorrect description for prefix-list sequence leaf.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
yang/frr-filter.yang