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

Don't lose the BMP msg when querying its common header properties. #37

Closed
wants to merge 81 commits into from

Conversation

ximon18
Copy link
Member

@ximon18 ximon18 commented Oct 4, 2023

And replaces some TABs with spaces to make the indentation consistent with nearby fns.

DRiKE added 30 commits May 17, 2023 15:24
The `Nlri::Basic` enum variant was used to carry both unicast and
multicast SAFI NLRI. Replacing the `Basic` variant with explicit
`Unicast` and `Multicast` variants is less error-prone for the user.
Additionally, this commit removes methods from `Nlri` that hid similar
details, e.g. the `prefix()` allowed the user to extract the prefix
without knowing the exact variant of `Nlri`, so a user might unknowingly
be looking at and using a prefix coming from a MplsVpn NLRI for example
while they are actually only interested in say, unicast announcements.
@ximon18 ximon18 requested a review from DRiKE October 4, 2023 14:41
@ximon18 ximon18 changed the base branch from compose-messages-nlri-v2 to main October 5, 2023 07:54
@ximon18
Copy link
Member Author

ximon18 commented Oct 5, 2023

Will re-apply to main and resubmit.

@ximon18 ximon18 closed this Oct 5, 2023
@ximon18 ximon18 deleted the take-self-by-ref-in-bmp-common-header-fns branch October 5, 2023 07:56
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.

2 participants