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

Fix #1549: Check peer admin status from the BGP options #1566

Merged
merged 2 commits into from
Feb 13, 2022
Merged

Conversation

mirceaulinic
Copy link
Member

To avoid an additional RPC request to check the actual configuration, we
can probably use the Shutdown flag under the BGP extended options:

<bgp-options>Preference LocalAddress AddressFamily PeerAS Multipath Refresh</bgp-options>
<bgp-options2>VpnApplyExport PeerSpecficLoopsAllowed</bgp-options2>
<bgp-options-extended>GracefulShutdownRcv Shutdown</bgp-options-extended>

This should be a more reliable way to check the admin status, instead of
incorrectly deducing the admin state from the operational state.

To avoid an additional RPC request to check the actual configuration, we
can probably use the Shutdown flag under the BGP extended options:

```xml
<bgp-options>Preference LocalAddress AddressFamily PeerAS Multipath Refresh</bgp-options>
<bgp-options2>VpnApplyExport PeerSpecficLoopsAllowed</bgp-options2>
<bgp-options-extended>GracefulShutdownRcv Shutdown</bgp-options-extended>
```

This should be a more reliable way to check the admin status, instead of
incorrectly deducing the admin state from the operational state.
@mirceaulinic
Copy link
Member Author

Merging based on feedback from #1549.

@mirceaulinic mirceaulinic merged commit 75c6f7c into develop Feb 13, 2022
@mirceaulinic mirceaulinic deleted the iss-1549 branch February 13, 2022 22:33
@mirceaulinic mirceaulinic modified the milestones: 3.4.0, 4.0.0 Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant