You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Switches should be added to the fabric with the field Mode set to "Migration"
Actual Behavior
Switches should baree added to the fabric with the field Mode set to "Normal"
Steps to Reproduce
terraform apply
Important Factoids
The terraform resource exposes the preserve_config flag, which is meant for brownfield migrations but the Go code sends an incorrect payload to the NDFC API. Here an example
The field preserveConfig must be a true boolean. The field serialNumber is missing inside the switches. Without those two conditions the switch is added to the fabric with mode "Normal"
Furthermore, the Go code seems "not to like" the mode "Migration"
Community Note
Terraform Version
DCNM version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Switches should be added to the fabric with the field Mode set to "Migration"
Actual Behavior
Switches should baree added to the fabric with the field Mode set to "Normal"
Steps to Reproduce
terraform apply
Important Factoids
The terraform resource exposes the
preserve_config
flag, which is meant for brownfield migrations but the Go code sends an incorrect payload to the NDFC API. Here an exampleThe field
preserveConfig
must be atrue
boolean. The fieldserialNumber
is missing inside the switches. Without those two conditions the switch is added to the fabric with mode "Normal"Furthermore, the Go code seems "not to like" the mode "Migration"
terraform-provider-dcnm/dcnm/resource_dcnm_inventory.go
Line 1017 in d0ff6c3
The text was updated successfully, but these errors were encountered: