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

fix: Fix IPv4 link-local IP address handling #1715

Merged
merged 2 commits into from
Aug 28, 2020

Conversation

rastislavs
Copy link
Contributor

A check in Delete operation in interface_address descriptor was preventing deletion of IPv4 link-local addresses (from the 169.254.0.0/16 range). That was causing multiple IPv4 addresses applied on a single interface after subsequent update operations.

This check only makes sense for IPv6 link-local addresses, which are auto-assigned by VPP on IPv6-enabled interfaces.

Signed-off-by: Rastislav Szabo raszabo@cisco.com

@codecov
Copy link

codecov bot commented Aug 28, 2020

Codecov Report

Merging #1715 into master will decrease coverage by 1.23%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1715      +/-   ##
==========================================
- Coverage   59.16%   57.93%   -1.24%     
==========================================
  Files         603      370     -233     
  Lines       48502    30148   -18354     
==========================================
- Hits        28698    17467   -11231     
+ Misses      16843    11235    -5608     
+ Partials     2961     1446    -1515     
Flag Coverage Δ
#e2e ?
#unittests 57.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@ondrej-fabry ondrej-fabry merged commit dfa6e3a into ligato:master Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants