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

IspModeling: enable not-configured local IP for BgpPeerInfo #8307

Merged
merged 1 commit into from
May 13, 2022

Conversation

dhalperi
Copy link
Member

During ISP modeling, we need to generate correct ISP-side BGP configuration.
This requires, in particular, specifying the neighbor on that side -- aka,
the local IP on the node in the snapshot. This is usually configured via
an explicit update source or local address command, but may not always be.

To support ISP modeling for these cases, we:

  1. provide a way to force local IP in the BgpPeerInfo
  2. improve default local IP inference to include local
    connected routes (same VRF) for eBGP singlehop sessions.

During ISP modeling, we need to generate correct ISP-side BGP configuration.
This requires, in particular, specifying the neighbor on that side -- aka,
the local IP on the node in the snapshot. This is usually configured via
an explicit update source or local address command, but may not always be.

To support ISP modeling for these cases, we:

1. provide a way to force local IP in the BgpPeerInfo
2. improve default local IP inference to include local
   connected routes (same VRF) for eBGP singlehop sessions.

commit-id:bb5c7cb7
@batfish-bot
Copy link

This change is Reviewable

@codecov
Copy link

codecov bot commented May 13, 2022

Codecov Report

Merging #8307 (a24495c) into master (a24495c) will not change coverage.
The diff coverage is n/a.

❗ Current head a24495c differs from pull request most recent head b7cd473. Consider uploading reports for the commit b7cd473 to get more accurate results

@@            Coverage Diff            @@
##             master    #8307   +/-   ##
=========================================
  Coverage     74.62%   74.62%           
  Complexity    43896    43896           
=========================================
  Files          3410     3410           
  Lines        169863   169863           
  Branches      20310    20310           
=========================================
  Hits         126753   126753           
  Misses        33516    33516           
  Partials       9594     9594           

@dhalperi dhalperi requested a review from ratulm May 13, 2022 15:37
Copy link
Member

@ratulm ratulm left a comment

Choose a reason for hiding this comment

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

Reviewed 8 of 8 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @dhalperi)

@dhalperi dhalperi merged commit c674c38 into master May 13, 2022
@dhalperi dhalperi deleted the pr/dhalperi/local-ip/bb5c7cb7 branch May 13, 2022 18: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