summaryrefslogtreecommitdiff
path: root/yang
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-01-27 00:16:17 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2024-01-28 23:28:40 +0200
commit244e6ebd162465f386687d8afcc29c1cf51de192 (patch)
treed02b75b3bc4f279679ef2d18e5509f9d1a248a50 /yang
parent218b5017eef59745f90b29bc1f038ce9c82c53d3 (diff)
zebra: convert router-id commands to NB
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-zebra.yang15
1 files changed, 15 insertions, 0 deletions
diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang
index 72193664d4..06ba547d0b 100644
--- a/yang/frr-zebra.yang
+++ b/yang/frr-zebra.yang
@@ -2743,6 +2743,21 @@ module frr-zebra {
container zebra {
description
"Zebra's vrf specific configuration and operational model.";
+
+ leaf router-id {
+ type yang:dotted-quad;
+ description
+ "A 32-bit number in the form of a dotted quad that is used by
+ some routing protocols identifying a router.";
+ }
+
+ leaf ipv6-router-id {
+ type inet:ipv6-address-no-zone;
+ description
+ "A 128-bit number in the form of an IPv6 address that is used by
+ some routing protocols identifying a router.";
+ }
+
uses ribs;
uses vrf-vni-mapping;