diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-11-22 21:26:33 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-11-23 13:47:26 +0200 |
| commit | bc63ba980f51642582ffbade6bfdf66bae5cf89d (patch) | |
| tree | 66593f4479f0a822b82b2c96495db839680f8869 /yang/frr-route-map.yang | |
| parent | f7517a8b44a950c0bf6a34b90fb6372b39174473 (diff) | |
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 c4eb78608b..fa55a8c7cb 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; |
