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

Rework _parse_route_data to allow multiple routing tables. #38

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

Conversation

Heidistein
Copy link

I think it is a bird2 feature, but not sure. I tried parsing a system with ipv6 enabled, which burned down because a line with 'Table: master6' suddenly appeared unexpedted. I guess this is a bird2 feature. I have reworked the _parse_route_data a bit more pythonic and to cope with this.

I have introdcuced a dependancy, more_itertools. If that is undesired i'll go back to the drawingboard.

I think it is a bird2 feature, but not sure. I tried parsing a system
with ipv6 enabled, which burned down because a line with 'Table:
master6' suddenly appeared unexpedted. I guess this is a bird2 feature.
I have reworked the _parse_route_data a bit more pythonic and to cope
with this.

I have introdcuced a dependancy, more_itertools. If that is undesired
i'll go back to the drawingboard.
routes = []

route_summary = None
route_summar = None
Copy link
Author

Choose a reason for hiding this comment

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

oh no! a typo!

@@ -19,6 +19,7 @@ packages = [{ include = "pybird" }]

[tool.poetry.dependencies]
python = "^3.7"
mote_itertools = "*"

Choose a reason for hiding this comment

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

Another small typo. I was testing your PR locally and PIP threw an error.

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