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

Honour multi interface scenario on the pod container #36

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pperiyasamy
Copy link

This PR attempts to make changes into CreateNetworkStatus API so that it can consider mutiple container interfaces while building network status. There are cases where delegate CNI would create more than one interface on CMD ADD call into the pod container, then CNI would return more than one interface in the result object.
The multus cni would have to build network status annotation with all interfaces including its IP details. Will raise a PR in multus cni to adapt with this API change. But of course this API change have to reviewed and check if it's covering every aspects and backward compatibility.

Here is a multi interface use case described in this ovs-cni PR

@pperiyasamy
Copy link
Author

/cc @JanScheurich, @phoracek

@s1061123
Copy link
Member

Hi @pperiyasamy Thank you for the PRs!

It seems to require to modify https://github.com/k8snetworkplumbingwg/multi-net-spec , so how about to discuss about it in NPWG meeting?
https://github.com/k8snetworkplumbingwg/community#meetings

@pperiyasamy
Copy link
Author

Hi @pperiyasamy Thank you for the PRs!

It seems to require to modify https://github.com/k8snetworkplumbingwg/multi-net-spec , so how about to discuss about it in NPWG meeting?
https://github.com/k8snetworkplumbingwg/community#meetings

@s1061123 sure, thanks. let's discuss this item in the next NPWG meeting.

@pperiyasamy
Copy link
Author

@s1061123 Hi, @JanScheurich and myself would propose this with document and a small demo, but not in today's meeting, would present it in next NPWG meeting (20/05).

This patch is to update nw status with all relevant information
when pod container has secondary interface with its vlan sub
interfaces.

Signed-off-by: Periyasamy Palanisamy <[email protected]>
Signed-off-by: Periyasamy Palanisamy <[email protected]>
This commit doesn't also include interfaces into nw status
which doesn't have if name, device id and ip addresses

Signed-off-by: Periyasamy Palanisamy <[email protected]>
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