Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAN-49 - Route map add match by local-preference, (DAN-25 DAN-48 DAN-52) - IPv4 BGP Prefix List Broken #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions scripts/frr/configs/commands/policy.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"/policy/route/route-map/@enter": "!",
"/policy/route/route-map/@element/rule/@element":"route-map {/../../tagnode/@text} {/action/@text} {/tagnode/@text}",
"/policy/route/route-map/@element/rule/@element/match/as-path":"match as-path {@text}",
"/policy/route/route-map/@element/rule/@element/match/as-path":"match as-path {@text}",
"/policy/route/route-map/@element/rule/@element/match/interface":"match interface {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/address/standard-acl":"match ip address {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/address/extended-acl":"match ip address {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/address/prefix-lists":"match ip address prefix-list {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/nexthop/standard-acl":"match ip next-hop {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/nexthop/extended-acl":"match ip next-hop {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/nexthop/prefix-lists":"match ip next-hop prefix-list {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/address/access-list":"match ip address {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/address/prefix-list":"match ip address prefix-list {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/nexthop/access-list":"match ip next-hop {@text}",
"/policy/route/route-map/@element/rule/@element/match/ip/nexthop/prefix-list":"match ip next-hop prefix-list {@text}",
Comment on lines -4 to +9
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are based on the work by 'gbe0' and 'dewi-morgan' in the following pull request which is missing the DCO signed-off-by statement.

Reference: DAN-25

"/policy/route/route-map/@element/rule/@element/match/ip/source-protocol":"match source-protocol {@text}",
"/policy/route/route-map/@element/rule/@element/match/ipv6/address/access-list":"match ipv6 address {@text}",
"/policy/route/route-map/@element/rule/@element/match/ipv6/address/prefix-list":"match ipv6 address prefix-list {@text}",
Expand Down