-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat(anta): Added the test case to verify the BGP route origin #813
base: main
Are you sure you want to change the base?
Conversation
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
1aa5921
to
4046dfb
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Added pylint disable for no of line check (C0302) with TODO. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
796aa99
to
b9d1bea
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
CodSpeed Performance ReportMerging #813 will not alter performanceComparing Summary
|
anta/tests/routing/bgp.py
Outdated
route_paths: list[dict[str, IPv4Address | Literal["Igp", "Egp", "Incomplete"]]] | ||
"""A list of dictionaries represents a BGP path. | ||
- `nexthop`: The next-hop IP address for the path. | ||
- `origin`: The origin of the route.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could this be modeled properly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated input model for BGP route paths.
Thanks!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cf question about model
Quality Gate passedIssues Measures |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Description
Verifies BGP route origin for the provided IPv4 Network(s).
Fixes #811
Checklist:
pre-commit run
)tox -e testenv
)