Closed sar772004 closed 1 year ago
This is for issue #71
@kingshukdev I also need to update the remotePod definition as it use default gw otherwise for the remote vxlan bind, but i m hitting this error, with vxlan binds , probably as the veth linkName is "", which causes a problem Not able to figure where that is happening.
Do you see what i could be missing with my last commit?
time="2023-04-05T02:53:03Z" level=info msg="Created koko Veth struct {NsName:/proc/288988/ns/net LinkName: IPAddr:[] MirrorEgress: MirrorIngress:}" daemon=meshnetd overlay=vxLAN
time="2023-04-05T02:53:03Z" level=info msg="Created koko vxlan struct {ParentIF:breth2 ID:5039 IPAddr:5.2.1.3 MTU:0 UDPPort:0}" daemon=meshnetd overlay=vxLAN
time="2023-04-05T02:53:03Z" level=warning msg="failed to get link: " daemon=meshnetd overlay=vxLAN
time="2023-04-05T02:53:03Z" level=info msg="Retrieved link from /proc/288988/ns/net Netns:
cc: @networkop
looks good @sar772004, just fix up the formatting and it's good to merge.
Thanks for the review and approval @networkop . please merge
looks good @sar772004, just fix up the formatting and it's good to merge.
Thanks for the review and approval @networkop . please merge
Looks like vxlan tests are failing, can you check @sar772004 ?
@networkop i have fixed the issue with Vxlan, it was because i had not generated the meshnet.pb.go from the proto binding with protoc compiler. Please run the tests again.
I also noticed that local veth links (non Vxlan) are coming with only 1500 MTU by default, this would need a separate change. I will look at it. Its hard code here, so support needs to be added from koko.. will follow with koko https://github.com/redhat-nfvpe/koko/blob/master/api/koko_api.go#L94
Ack, can you fix the merge conflicts please?
Ack, can you fix the merge conflicts please?
Sure Have resolved it now, pls check
@networkop I have tried the make test locally now and it passes with my latest commit. Please run the workflow.
…n statically