Skip to content

OSPF neighbor must expression#1436

Merged
troglobit merged 2 commits intomainfrom
ospf-neighbor-must-expression
Mar 11, 2026
Merged

OSPF neighbor must expression#1436
troglobit merged 2 commits intomainfrom
ospf-neighbor-must-expression

Conversation

@troglobit
Copy link
Copy Markdown
Contributor

@troglobit troglobit commented Mar 11, 2026

Description

  • Add must expression to guard against setting static OSPF neighbors when interface-type is broadcast or point-to-point
  • Update ChangeLog for v26.03 to mention addition of static neighbors

Checklist

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):

Add a must expression to ensure users do not set static neighbors when
the interface type is not point-to-multipoint or non-broadcast.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit requested a review from jovatn March 11, 2026 10:17
@troglobit troglobit changed the title Ospf neighbor must expression OSPF neighbor must expression Mar 11, 2026
Copy link
Copy Markdown
Contributor

@jovatn jovatn left a comment

Choose a reason for hiding this comment

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

LGTM!

@troglobit
Copy link
Copy Markdown
Contributor Author

@jovatn great, 100% pass on all tests on all test systems! Merging ...

@troglobit troglobit merged commit cb24330 into main Mar 11, 2026
9 checks passed
@troglobit troglobit deleted the ospf-neighbor-must-expression branch March 11, 2026 11:33
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