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

Add Client (VX-83) #15

Merged
merged 11 commits into from
Jun 11, 2018
Merged

Add Client (VX-83) #15

merged 11 commits into from
Jun 11, 2018

Conversation

sufuf3
Copy link
Contributor

@sufuf3 sufuf3 commented Jun 5, 2018

  • FindNetworkNamespacePath
  • ConnectBridge

@codecov
Copy link

codecov bot commented Jun 5, 2018

Codecov Report

Merging #15 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #15   +/-   ##
=======================================
  Coverage   84.53%   84.53%           
=======================================
  Files           7        7           
  Lines         181      181           
=======================================
  Hits          153      153           
  Misses         19       19           
  Partials        9        9

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 60182e1...8294b3d. 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.

Please follow VX-82 to implement the design

client/main.go Outdated
if err != nil {
log.Fatalf("There is something wrong with find network namespace pathpart.\n %v", err)
}
if n.Success == true {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could use

if n.Success {
...
}

@sufuf3 sufuf3 force-pushed the sufuf3/client branch 2 times, most recently from febbba4 to 45f7a6a Compare June 6, 2018 06:38
@hwchiu
Copy link
Contributor

hwchiu commented Jun 6, 2018

Rebase

@hwchiu hwchiu requested a review from chenyunchen June 10, 2018 15:26
@hwchiu
Copy link
Contributor

hwchiu commented Jun 10, 2018

我先暫時用我自己的 docker hub 跟這個 repo 連結,來自動 build docker image.
Docker image 只會產生一份,/go/bin/server or /go/bin/client
Client 晚點補上 Readme

sufuf3 and others added 11 commits June 11, 2018 04:09
- Update client code to deal with multi-veth and change to socket
- Add k8s pod yaml for testing
- Add init container dockerfile with network controller client binary file
- Update server from tcp to unix domain socket
- Remove unused makefile target
- Exit the clinet if the gRCP call fail
@hwchiu hwchiu changed the title [WIP] Add client Add Client (VX-83) Jun 11, 2018
@hwchiu hwchiu merged commit 8989c4d into master Jun 11, 2018
@hwchiu hwchiu deleted the sufuf3/client branch June 11, 2018 04:58
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