-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix OVS Interface Name #21
Conversation
server/netlink_handler.go
Outdated
@@ -65,7 +65,7 @@ func (s *server) ConnectBridge(ctx context.Context, req *pb.ConnectBridgeRequest | |||
}, err | |||
} | |||
|
|||
hostVethName := utils.GenerateVethName(req.PodUUID) | |||
hostVethName := utils.GenerateVethName(req.PodUUID + req.ContainerVethName) |
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 there any concern?
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.
Fix the OVS side link problem that all the veth's name is same.
Codecov Report
@@ Coverage Diff @@
## master #21 +/- ##
=======================================
Coverage 85.03% 85.03%
=======================================
Files 5 5
Lines 127 127
=======================================
Hits 108 108
Misses 12 12
Partials 7 7
Continue to review full report at Codecov.
|
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.
LGTM
Please check the limitation of the veth name. since the interface name usually contains [0-9a-zA-Z-_] |
0d132e2
to
76592f6
Compare
76592f6
to
ccdb356
Compare
No description provided.