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

Update OSPF session compatibility question #4694

Merged
merged 5 commits into from
Sep 4, 2019
Merged

Conversation

sfraint
Copy link
Member

@sfraint sfraint commented Sep 4, 2019

Update ospfSessionCompatibility to include unestablished/incompatible sessions, with a new Session_Status column.

Includes adding a new OSPF session status specifier.

@batfish-bot
Copy link

This change is Reviewable

Copy link
Member Author

@sfraint sfraint left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 4 files reviewed, 1 unresolved discussion (waiting on @sfraint)

a discussion (no related file):
Still need to make the new column filterable


@codecov
Copy link

codecov bot commented Sep 4, 2019

Codecov Report

Merging #4694 into master will decrease coverage by <.01%.
The diff coverage is 57.14%.

@@             Coverage Diff              @@
##             master    #4694      +/-   ##
============================================
- Coverage     75.76%   75.75%   -0.01%     
+ Complexity    27855    27852       -3     
============================================
  Files          2209     2209              
  Lines        109696   109700       +4     
  Branches      13216    13216              
============================================
- Hits          83106    83104       -2     
- Misses        20225    20229       +4     
- Partials       6365     6367       +2
Impacted Files Coverage Δ Complexity Δ
.../org/batfish/datamodel/ospf/OspfTopologyUtils.java 87.24% <0%> (-0.59%) 39 <0> (ø)
.../batfish/datamodel/ospf/CandidateOspfTopology.java 100% <100%> (ø) 6 <1> (ø) ⬇️
.../ospfsession/OspfSessionCompatibilityAnswerer.java 75.29% <58.33%> (-1.54%) 11 <0> (ø)
...g/batfish/datamodel/acl/IpAccessListLineIndex.java 33.33% <0%> (-5.56%) 4% <0%> (-1%)
...java/org/batfish/symbolic/state/EdgeStateExpr.java 73.91% <0%> (-4.35%) 10% <0%> (-1%)
...org/batfish/datamodel/flow/BidirectionalTrace.java 81.81% <0%> (-2.28%) 14% <0%> (-1%)
...tfish/representation/cisco/CiscoConfiguration.java 84.2% <0%> (-0.13%) 533% <0%> (-1%)
...col/src/main/java/org/batfish/role/InferRoles.java 92.33% <0%> (+1.09%) 69% <0%> (+1%) ⬆️

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.

:lgtm:

Self review the nits

Reviewed 2 of 4 files at r1, 16 of 16 files at r2.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @sfraint)


projects/batfish-common-protocol/src/main/java/org/batfish/datamodel/ospf/CandidateOspfTopology.java, line 19 at r2 (raw file):

      new CandidateOspfTopology(ValueGraphBuilder.directed().build());

  @VisibleForTesting

if public then no need to really annotate.


projects/question/src/main/java/org/batfish/question/ospfsession/OspfSessionCompatibilityAnswerer.java, line 42 at r2 (raw file):

  static final String COL_REMOTE_IP = "Remote_IP";
  static final String COL_REMOTE_AREA = "Remote_Area";

nit: extra spacing

@ratulm
Copy link
Member

ratulm commented Sep 4, 2019

@sfraint - In case it wasn't on your radar, Parameters.md needs updating too with the new specifier. (Can be a separate PR.)

Copy link
Member Author

@sfraint sfraint left a comment

Choose a reason for hiding this comment

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

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

@sfraint sfraint merged commit 205079e into master Sep 4, 2019
@sfraint sfraint deleted the ospf-session-compat-q branch September 4, 2019 18:52
@sfraint sfraint changed the title Ospf session compat q Update OSPF session compatibility question Sep 4, 2019
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.

None yet

4 participants