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

bgp: T6151: Allow configuration of disable-ebgp-connected-route-check #3212

Merged
merged 4 commits into from Apr 1, 2024

Conversation

fett0
Copy link
Contributor

@fett0 fett0 commented Mar 29, 2024

Allow configuration of disable-ebgp-connected-route-check when the next-hop is learned not connected.

Change Summary

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

https://vyos.dev/T6151

Related PR(s)

Component(s) name

bgp

Proposed changes

How to test

vyos command :

set protocols bgp parameters disable-ebgp-connected-route-check

Smoketest result


vyos@vrf-test:~$ /usr/libexec/vyos/tests/smoke/cli/test_protocols_bgp.py
test_bgp_01_simple (__main__.TestProtocolsBGP.test_bgp_01_simple) ...

ok
test_bgp_02_neighbors (__main__.TestProtocolsBGP.test_bgp_02_neighbors) ...

ok
test_bgp_03_peer_groups (__main__.TestProtocolsBGP.test_bgp_03_peer_groups) ...

ok
----------------------------------------------------------------------
Ran 27 tests in 128.218s

OK

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@vyosbot vyosbot requested review from a team, dmbaturin, sarthurdev, zdc, jestabro, sever-sever and c-po and removed request for a team March 29, 2024 13:14
@c-po
Copy link
Member

c-po commented Mar 29, 2024

@Mergifyio backport sagitta

Copy link

mergify bot commented Mar 29, 2024

backport sagitta

✅ Backports have been created

@@ -1,7 +1,7 @@
<!-- include start from bgp/neighbor-disable-connected-check.xml.i -->
<leafNode name="disable-connected-check">
<properties>
<help>Disable check to see if eBGP peer address is a connected route</help>
<help>Allow peerings between eBGP peer using loopback address</help>
Copy link
Member

Choose a reason for hiding this comment

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

But In the real life (as I remember) it doesn’t related loopback only interface.
Can confuse users to use loopback only
For example dummy and loopback work different way.
@dmbaturin any pros/cons?

Copy link
Member

Choose a reason for hiding this comment

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

Maybe simply use: loopback/dummy interface address?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we can move loopback/dummy interface address , Do you agree ?

Copy link
Member

Choose a reason for hiding this comment

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

@fett0 yeah, please change to: Allow peerings between eBGP peer using loopback/dummy interface address

Copy link
Member

Choose a reason for hiding this comment

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

Can it be a tunnel interface or VIF? :)
And yes, loopback/dummy looks better

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perfect ! I'll add a extend explanation in our documentation , just it case .

@fett0 fett0 merged commit 8c40fcf into vyos:current Apr 1, 2024
7 checks passed
dmbaturin added a commit that referenced this pull request Apr 2, 2024
bgp: T6151: Allow configuration of disable-ebgp-connected-route-check (backport #3212)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants