summaryrefslogtreecommitdiffstats
path: root/yang/frr-zebra.yang
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-03-14 23:11:15 +0100
committerIgor Ryzhov <iryzhov@nfware.com>2021-03-16 15:25:49 +0100
commit6c380957494506d3ef62c2244265a91dff5611dc (patch)
tree416e49eafa5272e7169a9ca91446c7f8df08d9f1 /yang/frr-zebra.yang
parent*: fix aborts when validating configuration (diff)
downloadfrr-6c380957494506d3ef62c2244265a91dff5611dc.tar.xz
frr-6c380957494506d3ef62c2244265a91dff5611dc.zip
zebra: make ribs config false
Zebra routing tables are not controlled by the user and can not be created/deleted manually. Current NB create/destroy callbacks are incorrectly implemented because instead of creating/deleting the RIB they are only checking for it's existence. YANG model should reflect the real situation. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'yang/frr-zebra.yang')
-rw-r--r--yang/frr-zebra.yang2
1 files changed, 1 insertions, 1 deletions
diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang
index 782e0a4b7..be2f7b5a6 100644
--- a/yang/frr-zebra.yang
+++ b/yang/frr-zebra.yang
@@ -597,6 +597,7 @@ module frr-zebra {
grouping ribs {
container ribs {
+ config false;
description
"RIBs supported by FRR.";
list rib {
@@ -617,7 +618,6 @@ module frr-zebra {
list route {
key "prefix";
- config false;
leaf prefix {
type inet:ip-prefix;
description