-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
vxlan: add windows support #922
Conversation
@@ -0,0 +1,94 @@ | |||
// +build windows | |||
|
|||
// Copyright 2015 CNI authors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong authors (and year) 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved.
d2f2643
to
71beccd
Compare
@rakelkar Takashi Kanai |
@anikundesu nice find! Could open a PR into the source branch with your fix? |
backend/vxlan/vxlan_windows.go
Outdated
// check if the network exists and has the expected settings? | ||
networkName := cfg.name | ||
createNetwork := true | ||
addressPrefix := config.Network |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this not supposed to be
addressPrefix := l.Subnet
networkGatewayAddress := l.Subnet.IP + 1
lease should have the address and gateway information instead of the subnet.config If I understand correctly. Based on my testing config.Network gets the whole clusterCIDR (/8), where as l.Subnet gets the actual network (/24) that's assigned from etcd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alekssaul Yes, you are correct
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
d9fbe61
to
b7e08f5
Compare
vxlan: fix registerNetwork function signature
b7e08f5
to
6befc8f
Compare
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- patch for flannel-io#922
- Add Windows host-gw (*) patch for flannel-io#921 - Add windows vxlan (*) patch for flannel-io#922
- Add Windows host-gw (*) patch for flannel-io#921 - Add windows vxlan (*) patch for flannel-io#922
- Add Windows host-gw (*) patch for flannel-io#921 - Add windows vxlan (*) patch for flannel-io#922
@rakelkar What is the status of this PR? Is it ready for review and merging? |
- Add Windows host-gw (*) patch for flannel-io#921 - Add windows vxlan (*) patch for flannel-io#922
- Add Windows host-gw (*) patch for flannel-io#921 - Add windows vxlan (*) patch for flannel-io#922
- Add Windows host-gw (*) patch for flannel-io#921 - Add windows vxlan (*) patch for flannel-io#922
Lets abandon this PR. We are taking PR#1042 which is merged PR. Rakesh, can u abandon this PR? |
tagging @rakelkar |
Closing this PR in favour of #1042. Please re-open if needed. |
- Add Windows host-gw (*) patch for flannel-io#921 - Add windows vxlan (*) patch for flannel-io#922 Co-authored-by: rakelkar <[email protected]> Co-authored-by: madhanrm <[email protected]>
Description
VXLAN support for windows (3b from #832) #833
Needs Integration Tests!!
Todos