8000 Add RtBrick mode by n0emis · Pull Request #9 · wobcom/wanda · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add RtBrick mode #9

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Add RtBrick mode #9

wants to merge 2 commits into from

Conversation

n0emis
Copy link
Member
@n0emis n0emis commented Apr 29, 2025

No description provided.

Comment on lines +156 to +161
# name contains an ip version suffix every time.
shorted_name = self.name
if len(self.name) > 32:
as_len = len(str(self.asn))
cap = 29 - as_len - 1
shorted_name = f'{self.name[0:-3][:cap]}_{str(self.asn)}{self.name[-3:]}'
Copy link
Member
@unfokus unfokus Apr 29, 2025

Choose a reason for hiding this comment

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

Afaik rtbrick does not have limitations for peer-group name length. But it might make sense to stay consistent and use the same group names on both platforms. In that case the logic should be separated, to reduce duplicate code

Comment on lines +179 to +184
# TODO
# if self.bfd_infos:
# rtbrick_elem['bfd'] = {
# "min_interval": self.bfd_infos['min_interval'],
# "multiplier": self.bfd_infos['multiplier'],
# }
Copy link
Member

Choose a reason for hiding this comment

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

rtbrick does not support binding BFD to BGP sesssion yet. Perhaps we should throw a warning when it is attempted?

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
0