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

CNI support create multi network #305

Merged
merged 2 commits into from
Jan 5, 2022
Merged

CNI support create multi network #305

merged 2 commits into from
Jan 5, 2022

Conversation

l1b0k
Copy link
Collaborator

@l1b0k l1b0k commented Dec 29, 2021

This let CNI support create multi network

@l1b0k l1b0k requested a review from BSWANG December 29, 2021 07:04
@l1b0k l1b0k self-assigned this Dec 29, 2021
@codecov-commenter
Copy link

codecov-commenter commented Dec 29, 2021

Codecov Report

Merging #305 (c8e6dcf) into main (198d82d) will decrease coverage by 0.37%.
The diff coverage is 0.14%.

Impacted file tree graph

@@           Coverage Diff            @@
##            main    #305      +/-   ##
========================================
- Coverage   4.47%   4.10%   -0.38%     
========================================
  Files        100     106       +6     
  Lines       9426   10283     +857     
========================================
  Hits         422     422              
- Misses      8971    9827     +856     
- Partials      33      34       +1     
Flag Coverage Δ
unittests 4.10% <0.14%> (-0.38%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/terway-controlplane/terway-controlplane.go 4.47% <0.00%> (-0.21%) ⬇️
daemon/daemon.go 2.75% <0.00%> (-0.75%) ⬇️
daemon/eni.go 4.14% <0.00%> (-0.83%) ⬇️
daemon/k8s.go 0.00% <0.00%> (ø)
daemon/veth.go 0.00% <0.00%> (ø)
pkg/aliyun/ecs.go 0.00% <0.00%> (ø)
pkg/aliyun/instance.go 0.00% <0.00%> (ø)
pkg/aliyun/utils.go 0.00% <ø> (ø)
pkg/controller/pod-eni/eni_controller.go 0.00% <0.00%> (ø)
pkg/controller/pod/pod_controller.go 0.00% <0.00%> (ø)
... and 21 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 198d82d...c8e6dcf. Read the comment docs.

daemon/veth.go Outdated Show resolved Hide resolved
plugin/datapath/exclusive_eni.go Outdated Show resolved Hide resolved
return err
}
veth1Cfg := generateVeth1Cfg(cfg, veth1, mac)
return nic.Setup(veth1, veth1Cfg)
Copy link
Member

Choose a reason for hiding this comment

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

对端网卡还没有UP的话是否会导致添加169.254.1.1网关的路由失败?

plugin/datapath/vlan.go Show resolved Hide resolved
plugin/datapath/ipvlan.go Show resolved Hide resolved
types/config.go Show resolved Hide resolved
plugin/terway/cni.go Outdated Show resolved Hide resolved
@BSWANG BSWANG merged commit 39238ca into AliyunContainerService:main Jan 5, 2022
@l1b0k l1b0k deleted the feature/cni-multi-nic branch February 10, 2022 07:22
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.

3 participants