network: guest network interface support NOARP#493
Conversation
jodh-intel
left a comment
There was a problem hiding this comment.
Thanks @zhabinecho!
lgtm but let's get input from @amshinde and @mcastelino.
|
/test |
|
@jodh-intel - like the parallel PR over in the runtime, this has failed the 'Fixes' check, even though I can see one - I wonder if maybe it could be a character encoding issue? Any ideas? |
|
Ah - I have see it now! The "raw" commit shows: ... but github unhelpfully in this case renders it as: The problem is that our @zhabinecho - please could you change the "Fixes" line of you commit to be exactly as follows: |
OK, I will fixed it. Thanks |
d9df3cb to
bbb8a31
Compare
sboeuf
left a comment
There was a problem hiding this comment.
The PR looks good, but please fix the protobuf first.
bbb8a31 to
0ea2696
Compare
| // library, regarding each type of link. Here is a non exhaustive | ||
| // list: "veth", "macvtap", "vlan", "macvlan", "tap", ... | ||
| string type = 7; | ||
| uint32 RawFlags = 8; |
There was a problem hiding this comment.
Sorry to be picky but we should follow the protobuf syntax defined here. Therefore, RawFlags should be raw_flags here.
But I noticed we forgot to enforce this for other fields of this structure, which is confusing...
There was a problem hiding this comment.
Firstly I use raw_flags. Next, I will submit another PR to follow the protobuf for other fileds.
There was a problem hiding this comment.
I don't understand why the continuous-integration failed ?
There was a problem hiding this comment.
The travis tests on ppc64le looks not stable today
There was a problem hiding this comment.
INFO: Forcing gometalinter version
Installing:
deadcode
dupl
errcheck
gochecknoglobals
gochecknoinits
goconst
gocyclo
goimports
golint
gosec
gotype
gotypex
ineffassign
interfacer
lll
maligned
misspell
nakedret
safesql
staticcheck
structcheck
unconvert
unparam
varcheck
INFO: gometalinter args: '--exclude=vendor/.*" --tests --exclude=".*\.pb\.go" --disable-all --enable=gofmt --concurrency=2 --enable=misspell --enable=vet --enable=ineffassign --enable=gocyclo --cyclo-over=15 --enable=golint --deadline=600s --enable=structcheck --enable=unused --enable=staticcheck --enable=maligned --enable=varcheck --enable=unconvert'
gometalinter: error: unknown linters: unused
The command ".ci/static-checks.sh" failed and exited with 1 during .
I just met the issue in my host. Maybe gometalinter removed unused. I will take a look on it.
There was a problem hiding this comment.
I think we can just wait for kata-containers/tests#1315 to fix this issue.
According to the host link rawflags, setting link NOARP when needed Fixes: kata-containers#492 Signed-off-by: Zha Bin <zhabin@linux.alibaba.com>
0ea2696 to
3aa90d2
Compare
|
/test |
|
@sboeuf - please can you re-review? |
|
LGTM |
According to the host link rawflags, setting link NOARP when needed
Fixes: #492
Signed-off-by: Zha Bin zhabin@linux.alibaba.com