Skip to content

Fix "none" IP allocation scheme for SR-IOV interfaces#110

Merged
Levovar merged 1 commit into
masterfrom
fix_none_ip
Jul 16, 2019
Merged

Fix "none" IP allocation scheme for SR-IOV interfaces#110
Levovar merged 1 commit into
masterfrom
fix_none_ip

Conversation

@Levovar
Copy link
Copy Markdown
Collaborator

@Levovar Levovar commented Jul 16, 2019

Fixes #107

When no IPs were allocated by IPAM module we don't include anything into the "ipam" section of the SR-IOV delegate. This will result in the CNI skipping IP allocation, rather than invoking fakeipam with an empty request.

…tionary if there is no IP to pass to fakeipam.

The inclusion of the empty dict caused "none" type IP allocation to misbehave.
@Levovar Levovar merged commit 21125b7 into master Jul 16, 2019
@Levovar Levovar deleted the fix_none_ip branch July 16, 2019 20:36
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.

None type IP allocation fails for allowed delegates

1 participant