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

DANM 4.0 EP6: Adapting CNI code to work with all the APIs #99

Merged
merged 4 commits into from
Jun 26, 2019

Conversation

Levovar
Copy link
Collaborator

@Levovar Levovar commented Jun 21, 2019

This requires basically changing the code which deals with the external interfaces -both uplink and downlink-, but does not require us to re-write everything.
We only need to convert everything to DanmNet type, then the internals continue to work as-is.

Refactoring happened where it was absolutely required, for example in the handling of the annotation, and the default networks.
The code generally only got better.

@Levovar Levovar changed the title [WIP]DANM 4.0 EP6: Adapting CNI code to work with all the APIs DANM 4.0 EP6: Adapting CNI code to work with all the APIs Jun 24, 2019
Fixed various comments still referring exclusively to DanmNet, or to old structure.
TypeMeta is not sent by K8s API server, so we need to manually set TypeMeta.Kind into the objects.
Fixed an issue during deletion which resulted in DanmEps leaking when the network could not be interrogated.
@Levovar Levovar merged commit 4764e3d into master Jun 26, 2019
@Levovar Levovar deleted the metacni_fourdoto branch July 22, 2019 21:23
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 yet

1 participant