-
Notifications
You must be signed in to change notification settings - Fork 911
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
govc: Add device protocol configuration for vm.network.add #3168
Conversation
593fe94
to
716e25a
Compare
just noticed I didn't follow the issue-<> branch name |
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.
Thanks @lubronzhan
Just requesting a typo fix. But also cannot merge currently, unrelated to your change, but CI (goreleaser) needs fixing. They removed some deprecated options we're using: https://goreleaser.com/deprecations/#archivesreplacements
I've not done any goreleaser related work myself, other than bumping the go version once, but will try to look at that soon.
govc/flags/network.go
Outdated
a.DeviceProtocol = flag.proto | ||
} | ||
} else if flag.proto != "" { | ||
return nil, fmt.Errorf("device protocol is only suppported for vmxnet3vrdma at the moment") |
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.
typo: supported
Thanks Doug. |
ccb2ef6
to
521d0c6
Compare
I fixed the release here #3170 |
Branch name doesn't matter, but in the commit you have:
Mentioning that since you'll need to rebase with your goreleaser change to merge anyhow (thanks again for that) |
521d0c6
to
e34c721
Compare
Ok let me try that thanks |
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.
Thanks again @lubronzhan
Description
When user add network adapter type
vmxnet3vrdma
, they can configure the protocolrocev2/rocev1
. This is only supported on adapter typevmxnet3vrdma
.Closes: ##3167
Type of change
Please mark options that are relevant:
not work as expected)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. If applicable, please also list any relevant
details for your test configuration.
Built on a linux machine. Example output
Correct help message
Attempt to add adapter with protocol
Checklist:
CONTRIBUTION
guidelines of
this project