Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

better cni compatibility #192

Merged
merged 4 commits into from
Aug 8, 2017

Conversation

YaoZengzeng
Copy link
Contributor

@YaoZengzeng YaoZengzeng commented Aug 4, 2017

Fix: #191

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 4, 2017
@k8s-reviewable
Copy link

This change is Reviewable

Signed-off-by: YaoZengzeng <zengzengyao@harmonycloud.cn>
Copy link
Contributor

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

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

Creating multiple pods failed because Ifname is always same.

func buildNetworkInfo(bridgeName string, cniResult *current.Result) *NetworkInfo {
ret := &NetworkInfo{}

ret.BridgeName = bridgeName
Copy link
Contributor

Choose a reason for hiding this comment

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

Should also generate the Ifname with same bridge suffix, e.g. for bridge br1a089c6f, generate a tap1a089c6f.

Signed-off-by: YaoZengzeng <zengzengyao@harmonycloud.cn>
Signed-off-by: YaoZengzeng <zengzeng@harmonycloud.cn>
Signed-off-by: Yao Zengzeng <zengzengyao@harmonycloud.cn>
@feiskyer
Copy link
Contributor

feiskyer commented Aug 8, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 8, 2017
@feiskyer feiskyer merged commit f4452a8 into kubernetes-retired:master Aug 8, 2017
@feiskyer feiskyer mentioned this pull request Sep 27, 2017
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants