Junos: Add parsing support for bgp family route-target command#8892
Junos: Add parsing support for bgp family route-target command#8892dhalperi merged 2 commits intobatfish:masterfrom
family route-target command#8892Conversation
dhalperi
left a comment
There was a problem hiding this comment.
Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @pranavbj-amzn)
projects/batfish/src/main/java/org/batfish/grammar/flatjuniper/ConfigurationBuilder.java line 7257 at r1 (raw file):
@Override public void exitBf_route_target(Bf_route_targetContext ctx) { warn(
just todo(ctx), please.
dhalperi
left a comment
There was a problem hiding this comment.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @pranavbj-amzn)
projects/batfish/src/test/resources/org/batfish/grammar/juniper/testconfigs/juniper-bgp-family-route-target line 4 at r1 (raw file):
set system host-name juniper-bgp-family-route-target # set protocols bgp group XYZ-BGP neighbor 1.2.3.4 family route-target
Something like GROUP or G or G1/G2/... is better. XYZ-BGP looks kinda specific, which might confuse the reader.
Code quote:
XYZ-BGP
pranavbj-amzn
left a comment
There was a problem hiding this comment.
Reviewable status: 2 of 4 files reviewed, all discussions resolved (waiting on @dhalperi)
projects/batfish/src/main/java/org/batfish/grammar/flatjuniper/ConfigurationBuilder.java line 7257 at r1 (raw file):
Previously, dhalperi (Dan Halperin) wrote…
just
todo(ctx), please.
done
projects/batfish/src/test/resources/org/batfish/grammar/juniper/testconfigs/juniper-bgp-family-route-target line 4 at r1 (raw file):
Previously, dhalperi (Dan Halperin) wrote…
Something like
GROUPorGorG1/G2/...is better.XYZ-BGPlooks kinda specific, which might confuse the reader.
done!
dhalperi
left a comment
There was a problem hiding this comment.
Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @pranavbj-amzn)
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #8892 +/- ##
=======================================
Coverage 72.50% 72.50%
=======================================
Files 3319 3319
Lines 169439 169441 +2
Branches 19878 19878
=======================================
+ Hits 122854 122856 +2
+ Misses 37437 37436 -1
- Partials 9148 9149 +1
|
Juniper docs on family route-target command.
Add parsing support for the
route-targetcommand andwarn. We still need to look into fully supporting this command in Batfish.