diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-11-22 20:26:33 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-11-23 12:47:26 +0100 |
commit | bc63ba980f51642582ffbade6bfdf66bae5cf89d (patch) | |
tree | 66593f4479f0a822b82b2c96495db839680f8869 /yang/frr-route-map.yang | |
parent | doc: Add `match ipv6 next-hop ACCESS6_NAME` (diff) | |
download | frr-bc63ba980f51642582ffbade6bfdf66bae5cf89d.tar.xz frr-bc63ba980f51642582ffbade6bfdf66bae5cf89d.zip |
bgpd: Add an ability to match ipv6 next-hop by access-list
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'yang/frr-route-map.yang')
-rw-r--r-- | yang/frr-route-map.yang | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/yang/frr-route-map.yang b/yang/frr-route-map.yang index c4eb78608..fa55a8c7c 100644 --- a/yang/frr-route-map.yang +++ b/yang/frr-route-map.yang @@ -106,6 +106,12 @@ module frr-route-map { "Match an IPv6 prefix-list"; } + identity ipv6-next-hop-list { + base rmap-match-type; + description + "Match an IPv6 next-hop"; + } + identity ipv6-next-hop-type { base rmap-match-type; description @@ -200,6 +206,7 @@ module frr-route-map { + "derived-from-or-self(../condition, 'ipv4-next-hop-list') or " + "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-prefix-list')"; leaf list-name { type filter:access-list-name; |