summaryrefslogtreecommitdiffstats
path: root/yang/frr-ripngd.yang
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-01-21 22:19:28 +0100
committerChristian Hopps <chopps@labn.net>2024-01-22 12:33:40 +0100
commitcc9f4029cb49e7bee1cda416ae8dc790769cc333 (patch)
treeaf638267c31826db984ee210946af27bdb17e015 /yang/frr-ripngd.yang
parentripd: use new distribute-list northbound code. (diff)
downloadfrr-cc9f4029cb49e7bee1cda416ae8dc790769cc333.tar.xz
frr-cc9f4029cb49e7bee1cda416ae8dc790769cc333.zip
ripngd: use new distribute-list northbound code.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'yang/frr-ripngd.yang')
-rw-r--r--yang/frr-ripngd.yang11
1 files changed, 10 insertions, 1 deletions
diff --git a/yang/frr-ripngd.yang b/yang/frr-ripngd.yang
index 4aeaf3640..383b45fa4 100644
--- a/yang/frr-ripngd.yang
+++ b/yang/frr-ripngd.yang
@@ -13,6 +13,9 @@ module frr-ripngd {
import frr-if-rmap {
prefix frr-if-rmap;
}
+ import frr-filter {
+ prefix frr-filter;
+ }
import frr-interface {
prefix frr-interface;
}
@@ -63,6 +66,7 @@ module frr-ripngd {
description
"Changed interface references to use
frr-interface:interface-ref typedef";
+ reference "FRRouting";
}
revision 2018-11-27 {
description
@@ -72,6 +76,7 @@ module frr-ripngd {
}
container ripngd {
+ description "ripng routing instance data";
/*
* Routing instance configuration.
*/
@@ -169,15 +174,18 @@ module frr-ripngd {
"A list of interfaces where the sending of RIPng packets
is disabled.";
}
+
+ uses frr-filter:distribute-list-group;
+
list redistribute {
key "protocol";
description
"Redistributes routes learned from other routing protocols.";
leaf protocol {
type frr-route-types:frr-route-types-v6;
+ must '. != "ripng"';
description
"Routing protocol.";
- must '. != "ripng"';
}
leaf route-map {
type frr-route-map:route-map-ref;
@@ -330,6 +338,7 @@ module frr-ripngd {
* Per-interface configuration data
*/
augment "/frr-interface:lib/frr-interface:interface" {
+ description "RIPng interface augmentation.";
container ripng {
description
"RIPng interface parameters.";