summaryrefslogtreecommitdiff
path: root/yang
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-11-24 16:28:31 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-11-24 16:28:31 +0200
commit82f191a213917c5d36329aff660262846e4c09f1 (patch)
treeda24a8a7925fd940103dd14d2b7d3e2b18dc4999 /yang
parentcce442b5c59dc744907a455a3dbdf8484bb72a54 (diff)
bgpd: Add an ability to match ipv6 next-hop by prefix-list
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-route-map.yang7
1 files changed, 7 insertions, 0 deletions
diff --git a/yang/frr-route-map.yang b/yang/frr-route-map.yang
index fa55a8c7cb..1e8c04bc6f 100644
--- a/yang/frr-route-map.yang
+++ b/yang/frr-route-map.yang
@@ -112,6 +112,12 @@ module frr-route-map {
"Match an IPv6 next-hop";
}
+ identity ipv6-next-hop-prefix-list {
+ base rmap-match-type;
+ description
+ "Match an IPv6 next-hop prefix list";
+ }
+
identity ipv6-next-hop-type {
base rmap-match-type;
description
@@ -207,6 +213,7 @@ module frr-route-map {
+ "derived-from-or-self(../condition, 'ipv4-next-hop-prefix-list') or "
+ "derived-from-or-self(../condition, 'ipv6-address-list') or "
+ "derived-from-or-self(../condition, 'ipv6-next-hop-list') or "
+ + "derived-from-or-self(../condition, 'ipv6-next-hop-prefix-list') or "
+ "derived-from-or-self(../condition, 'ipv6-prefix-list')";
leaf list-name {
type filter:access-list-name;