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

Fix OVS Interface Name #21

Merged
merged 1 commit into from
Jun 6, 2018
Merged

Fix OVS Interface Name #21

merged 1 commit into from
Jun 6, 2018

Conversation

chenyunchen
Copy link
Contributor

No description provided.

@@ -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)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any concern?

Copy link
Contributor Author

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
Copy link

codecov bot commented Jun 6, 2018

Codecov Report

Merging #21 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #21   +/-   ##
=======================================
  Coverage   85.03%   85.03%           
=======================================
  Files           5        5           
  Lines         127      127           
=======================================
  Hits          108      108           
  Misses         12       12           
  Partials        7        7
Impacted Files Coverage Δ
utils/utils.go 100% <100%> (ø) ⬆️

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 c1de182...ccdb356. Read the comment docs.

Copy link
Contributor

@hwchiu hwchiu left a comment

Choose a reason for hiding this comment

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

LGTM

@hwchiu
Copy link
Contributor

hwchiu commented Jun 6, 2018

Please check the limitation of the veth name. since the interface name usually contains [0-9a-zA-Z-_]

@John-Lin John-Lin merged commit 187ad2c into master Jun 6, 2018
@John-Lin John-Lin deleted the alex/FixOVSInterfaceName branch June 7, 2018 01:01
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.

4 participants