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

JunOS: support for then local-preference (add|substract) #6638

Merged
merged 2 commits into from
Feb 17, 2021

Conversation

dhalperi
Copy link
Member

This is for #6637.

@batfish-bot
Copy link

This change is Reviewable

Copy link
Contributor

@corinaminer corinaminer left a comment

Choose a reason for hiding this comment

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

Reviewed 6 of 6 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @arifogel, @dhalperi, and @sfraint)


projects/batfish/src/main/java/org/batfish/representation/juniper/PsThenLocalPreference.java, line 75 at r1 (raw file):

  @Override
  public int hashCode() {
    return Objects.hash(_localPreference, _op);

_op.ordinal()?

@dhalperi
Copy link
Member Author


projects/batfish/src/main/java/org/batfish/representation/juniper/PsThenLocalPreference.java, line 75 at r1 (raw file):

Previously, corinaminer (Corina Miner) wrote…

_op.ordinal()?

God this should not be necessary, but done.

Copy link
Contributor

@corinaminer corinaminer left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @arifogel and @sfraint)

@dhalperi dhalperi merged commit f9ef848 into batfish:master Feb 17, 2021
@dhalperi dhalperi deleted the junos-local-pref branch February 17, 2021 22:47
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

3 participants