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

XR: parse and warn on as-path-set passes-through #6008

Merged
merged 2 commits into from
Jul 18, 2020

Conversation

dhalperi
Copy link
Member

To get this implemented correctly, we need to do a similar overhaul to
AS matching as we did to Community matching. But this prevents a conversion error.

Fix #6005.

To get this implemented correctly, we need to do a similar overhaul to
AS matching as we did to Community matching. But this prevents a conversion error.
@dhalperi dhalperi requested a review from progwriter July 18, 2020 00:01
@batfish-bot
Copy link

This change is Reviewable

Copy link
Contributor

@progwriter progwriter left a comment

Choose a reason for hiding this comment

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

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Member Author

@dhalperi dhalperi left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@codecov
Copy link

codecov bot commented Jul 18, 2020

Codecov Report

Merging #6008 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #6008      +/-   ##
============================================
- Coverage     72.23%   72.22%   -0.01%     
+ Complexity    34329    34324       -5     
============================================
  Files          2810     2810              
  Lines        140882   140887       +5     
  Branches      16928    16928              
============================================
- Hits         101761   101759       -2     
- Misses        31159    31164       +5     
- Partials       7962     7964       +2     
Impacted Files Coverage Δ Complexity Δ
...grammar/cisco_xr/CiscoXrControlPlaneExtractor.java 19.20% <100.00%> (+0.11%) 322.00 <3.00> (+2.00)
.../src/main/java/org/batfish/datamodel/flow/Hop.java 53.33% <0.00%> (-6.67%) 5.00% <0.00%> (-1.00%)
...batfish/representation/aws/LoadBalancerTarget.java 54.16% <0.00%> (-4.17%) 8.00% <0.00%> (ø%)
...rc/main/java/org/batfish/datamodel/flow/Trace.java 87.09% <0.00%> (-3.23%) 11.00% <0.00%> (-2.00%)
...ain/java/org/batfish/symbolic/IngressLocation.java 65.78% <0.00%> (-2.64%) 15.00% <0.00%> (-1.00%)
...org/batfish/datamodel/flow/BidirectionalTrace.java 81.81% <0.00%> (-2.28%) 14.00% <0.00%> (-1.00%)
...col/src/main/java/org/batfish/role/InferRoles.java 89.54% <0.00%> (-1.37%) 50.00% <0.00%> (-1.00%)
...src/main/java/org/batfish/coordinator/PoolMgr.java 62.92% <0.00%> (-1.13%) 15.00% <0.00%> (-1.00%)

Copy link
Contributor

@progwriter progwriter left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@dhalperi dhalperi merged commit 688e23d into batfish:master Jul 18, 2020
@dhalperi dhalperi deleted the gh-6005 branch July 18, 2020 01:57
kylehoferamzn pushed a commit to kylehoferamzn/batfish that referenced this pull request Jul 21, 2020
To get this implemented correctly, we need to do a similar overhaul to
AS matching as we did to Community matching. But this prevents a conversion error.

Fix batfish#6005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File parsing failed on a Cisco IOS XR
3 participants