Skip to content

Conversation

@pperiyasamy
Copy link
Contributor

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

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

This PR depends on API changes in network-attachment-definition-client PR

Signed-off-by: Periyasamy Palanisamy [email protected]

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]>
@pperiyasamy
Copy link
Contributor Author

/cc @JanScheurich, @phoracek

@dougbtv
Copy link
Member

dougbtv commented Apr 29, 2021

This looks good -- any chance you would mind adding a unit test to check for this status? Thanks!

(edit to add: also realize you've marked this a WIP, sorry for premature ask, too)

}

netStatus = append(netStatus, *delegateNetStatus)
for _, delegateNetStatus := range delegateNetStatuses {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just change it to:
netStatus = append(netStatus, delegateNetStatuses...)
and omit loop?

@github-actions
Copy link

This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Sep 16, 2021
@github-actions github-actions bot closed this Sep 23, 2021
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.

3 participants