Skip to content

Conversation

@cpaasch-oai
Copy link
Contributor

Continuing the previous work and adding now support for IPv6, IPv4 and ILA encap with tests.

More to come later...

As we are adding more encap types, it is useful to have a function that
can actually query the type of a nh-encap object.

Signed-off-by: Christoph Paasch <[email protected]>
With more nexthop encapsulation types coming, having a helper will
simplify the code.

Signed-off-by: Christoph Paasch <[email protected]>
Group link-creation and adding an address in a helper.

_nltst_add_dummy_v6_with_addr() is not yet used but will be by the next
change.

Signed-off-by: Christoph Paasch <[email protected]>
Full support as well as tests.

Added rtnl_nh_clear_encap_ila_* functions to clear certain fields. This
is needed because 0 is a valid value for those fields.

Signed-off-by: Christoph Paasch <[email protected]>
@thom311 thom311 merged commit 06f3c59 into thom311:main Nov 3, 2025
4 checks passed
@thom311
Copy link
Owner

thom311 commented Nov 3, 2025

branch lgtm. Merged.

Sorry for the long time of no reply, and thank you for your patches.

@cpaasch-oai I plan to do a 3.12 release next week. That does not need to concern you, unless you want to change something first, then please reach out.

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