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

support extend_param in cce node, add two new param fixed_ip and hw_passthrough #947

Merged

Conversation

Jason-Zhang9309
Copy link
Collaborator

What this PR does / why we need it:

support extend_param in cce node
add two new param fixed_ip and hw_passthrough

Which issue this PR fixes:
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
fixes #xxx

Special notes for your reviewer:

Release note:


PR Checklist

  • Tests added/passed.
  • Documentation updated.
  • Schema updated.

Acceptance Steps Performed

make testacc TEST='./huaweicloud' TESTARGS='-run=TestAccSomethingV0_basic'
...
=== RUN   TestAccSomethingV0_basic
--- PASS: TestAccSomethingV0_basic (70.75s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud       70.796s

extendParam[key] = val.(string)
}
if v, ok := extendParam["periodNum"]; ok {
periodNum, err := strconv.Atoi(v.(string))
Copy link
Collaborator

Choose a reason for hiding this comment

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

the type of value is already stirng, so no need to convert it again.

docs/resources/cce_node.md Outdated Show resolved Hide resolved
@Jason-Zhang9309 Jason-Zhang9309 force-pushed the dev-cce-node-extendParam branch 5 times, most recently from 805fa0a to 29c588b Compare February 27, 2021 08:25
@ShiChangkuo ShiChangkuo merged commit abcb36a into huaweicloud:master Feb 27, 2021
@Jason-Zhang9309 Jason-Zhang9309 deleted the dev-cce-node-extendParam branch March 1, 2021 07:04
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.

None yet

2 participants