Addition of resource and data source for tenant_policies_igmp_interface_policy (DCNE-278)#403
Addition of resource and data source for tenant_policies_igmp_interface_policy (DCNE-278)#403shrsr wants to merge 10 commits intoCiscoDevNet:masterfrom
Conversation
lhercot
left a comment
There was a problem hiding this comment.
See issue in Go Release check: https://github.com/CiscoDevNet/terraform-provider-mso/actions/runs/20343107477/job/60651101226
Seems we need to reduce the test value to be under a int32
…es_igmp_interface_policy
…s_igmp_interface_policy
…ons used in resource_mso_tenant_policies_igmp_interface_policy
…ies_igmp_interface_policy
…enant_policies_igmp_interface_policy
…_interface_policy
…nterface_policy to make type assertion checks
…se validateUint32Range()
…configuration by making computed false
| // is within the specified uint32 range. This approach avoids compile-time overflow | ||
| // errors on 32-bit systems by storing boundaries as uint32 and performing runtime | ||
| // validation using int64 comparisons. | ||
| func validateUint32Range(min, max uint32) schema.SchemaValidateFunc { |
There was a problem hiding this comment.
@samiib has been introducing unit tests for new utils functions: https://github.com/CiscoDevNet/terraform-provider-mso/pull/456/changes#diff-f249e5942123363ce064241ccd77d4f98e910fe99db637fdc4a365a7ce62e853R8. Shall we do the same for this?
There was a problem hiding this comment.
This function was more of a workaround for one case only to make the CI pass. I don't think this would require a unit test? I added a unit test for the other function in the route map PR.
There was a problem hiding this comment.
Can you add that to the function explanation in that case?
No description provided.