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

Add Routing Preference Tests #824

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

Add Routing Preference Tests #824

wants to merge 6 commits into from

Conversation

axkar
Copy link
Collaborator

@axkar axkar commented Nov 13, 2024

This PR introduces two new test cases to the ietf-routing test suite:

  • DHCP vs Static Route Preference
  • OSPF vs Static Route Preference
  • Static Route Inactivation with Preference 255

Additionally, this PR includes minor improvements in Infamy:

  • Enhanced route verification
  • Updates to the IsolatedMacVlan class
  • Enhancements to the DHCP Server class

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

  - Ensure _exist_route function performs complete checks without early
    returns.
  - Add support for verifying 'active' state in route checks.
@axkar axkar self-assigned this Nov 13, 2024
Copy link
Contributor

@mattiaswal mattiaswal left a comment

Choose a reason for hiding this comment

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

Great work, just small things. Very small 🥇

test/case/ietf_routing/route_pref_255/topology.png Outdated Show resolved Hide resolved
test/case/ietf_routing/route_pref_dhcp/test.py Outdated Show resolved Hide resolved
test/case/ietf_routing/route_pref_dhcp/test.py Outdated Show resolved Hide resolved
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