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

OSPFD: Fix Segment Routing Lan Adjacency TLVs #1764

Merged
merged 1 commit into from
Feb 27, 2018

Conversation

odd22
Copy link
Member

@odd22 odd22 commented Feb 19, 2018

  • Lan Adjacency TLVs was incorrectly formatted due to an error in
    TLV size computation. Add new macro to fix this issue
  • Update SR link nexthop when it corresponds to an LAN Adj SID. The nexthop
    is set to the router id in the TLVi (as per draft), but we need the neighbor
    IP address to set the corresponding MPLS LFIB entry

Signed-off-by: Olivier Dugeon olivier.dugeon@orange.com

 - Lan Adjacency TLVs was incorrectly formatted due to an error in
TLV size computation. Add new macro to fix this issue
 - Update SR link nexthop when it corresponds to an LAN Adj SID. The nexthop
is set to the router id in the TLVi (as per draft), but we need the neighbor
IP address to set the corresponding MPLS LFIB entry

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
@odd22
Copy link
Member Author

odd22 commented Feb 19, 2018

Even if this Pull Request was submitted to master branch, it must be also applied on 4.0/dev branch to fix this issue

@LabN-CI
Copy link
Collaborator

LabN-CI commented Feb 19, 2018

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/1764 d922605
Date 02/19/2018
Start 04:25:09
Finish 04:47:56
Run-Time 22:47
Total 1805
Pass 1805
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2018-02-19-04:25:09.txt
Log autoscript-2018-02-19-04:25:45.log.bz2

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-2595/

This is a comment from an EXPERIMENTAL automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.


CLANG Static Analyzer Summary

  • Github Pull Request 1764, comparing to Git base SHA 97133f7

No Changes in Static Analysis warnings compared to base

20 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-2595/artifact/shared/static_analysis/index.html

Copy link
Member

@rwestphal rwestphal left a comment

Choose a reason for hiding this comment

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

LGTM, I did some testing [1] and now OSPF-SR is working like a charm even on topologies with LAN networks :)

[1] https://hastebin.com/cizacuwuni.yml

@riw777 riw777 merged commit 3eef1b2 into FRRouting:master Feb 27, 2018
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.

5 participants