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

Juniper ospf cost #899

Merged
merged 5 commits into from
Feb 8, 2018
Merged

Juniper ospf cost #899

merged 5 commits into from
Feb 8, 2018

Conversation

dhalperi
Copy link
Member

@dhalperi dhalperi commented Feb 6, 2018

Review after #897.

For #873.


This change is Reviewable

@arifogel
Copy link
Member

arifogel commented Feb 7, 2018

:lgtm: modulo question about enterOa_area_range


Reviewed 7 of 7 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


projects/batfish/src/main/java/org/batfish/grammar/flatjuniper/ConfigurationBuilder.java, line 1774 at r1 (raw file):

    if (ctx.IP_PREFIX() != null) {
      /* TODO: handle ipv6 */
      Prefix range = Prefix.parse(ctx.IP_PREFIX().getText());

It doesn't look like the data model is modified at this step, yet I feel like it should be. Doesn't something happen if you get this far?


Comments from Reviewable

@dhalperi
Copy link
Member Author

dhalperi commented Feb 7, 2018

Review status: 4 of 8 files reviewed at latest revision, 1 unresolved discussion.


projects/batfish/src/main/java/org/batfish/grammar/flatjuniper/ConfigurationBuilder.java, line 1774 at r1 (raw file):

Previously, arifogel (Ari Fogel) wrote…

It doesn't look like the data model is modified at this step, yet I feel like it should be. Doesn't something happen if you get this far?

Swapped to only create the configuration on exit, taking into account all parameters. Was also much cleaner to unify multiple optional configurations.

PTAL.


Comments from Reviewable

@arifogel
Copy link
Member

arifogel commented Feb 8, 2018

:lgtm:


Reviewed 4 of 4 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@arifogel arifogel merged commit fa3c8ca into master Feb 8, 2018
@arifogel arifogel deleted the juniper-ospf-cost branch February 8, 2018 02:07
@dhalperi
Copy link
Member Author

dhalperi commented Feb 8, 2018

(Please squash my PRs unless otherwise specified -- or let me merge? This one dropped a bunch of crap commits into master.)

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

2 participants