-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Enhancement]: Add interface service_policy
parameter
#332
[Enhancement]: Add interface service_policy
parameter
#332
Conversation
71823b2
to
1de03df
Compare
d2aa5ab
to
2552062
Compare
39b39bc
to
dd0999b
Compare
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.
In resource, the field service_policy should not be set default value at the beginning. Based on the API (9.6) document, this field does not have to be set in the POST API call. Please make change accordingly.
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.
Missing updates to the documentation pages for the new options.
dd0999b
to
57fc48c
Compare
Thanks @carchi8py and @chuyich for your feedback! I've removed the default value for Thanks much! |
0eaabad
to
ed4593e
Compare
52ad1a4
to
7b16470
Compare
@carchi8py Are we good to merge this PR? Please let me know what I need to do exactly to have the PR added to the provider. My understanding is that I've addressed all requested changes... please let me know what's missing. Many thanks! |
Can you update CHANGELOG.md file? Also your branch is behind the integration/main, we added few more checks to the pipeline as it was missing here, since your PR is from a fork of this repo, so could you pull the new changes into your branch and update the PR? Just for our reference, since we have disabled ACC tests as our testing profiles are down, acc tests are passing for this PR when tested locally. |
7b16470
to
a6da4e5
Compare
@suhasbshekar Thanks for your feedback.
Acc tests are passing on my local test system (ONTAP Select running 9.15.1P4): $ date && TF_ACC=1 go test ./internal/provider/networking/network_ip_interface_resource_test.go -v && date
Tue Feb 4 08:48:40 UTC 2025
=== RUN TestAccNetworkIpInterfaceResource
--- PASS: TestAccNetworkIpInterfaceResource (4.22s)
PASS
ok command-line-arguments 4.233s
Tue Feb 4 08:48:45 UTC 2025 Please let me know what else is needed. |
Please resolve the conflicts. |
a6da4e5
to
3f33bff
Compare
@suhasbshekar I've rebased the PR once again. Can you please let me know when you'll be able to merge these changes? |
@acch I have merged one PR, please keep an eye on your PRs, as there will be conflicts once any PR is merged. For now please resolve the conflicts of this PR |
Signed-off-by: Achim Christ <achim.christ@sva.de>
Signed-off-by: Achim Christ <achim.christ@sva.de>
… parameter Signed-off-by: Achim Christ <achim.christ@sva.de>
Signed-off-by: Achim Christ <achim.christ@sva.de>
Signed-off-by: Achim Christ <achim.christ@sva.de>
Signed-off-by: Achim Christ <achim.christ@sva.de>
Signed-off-by: Achim Christ <achim.christ@sva.de>
3f33bff
to
69471ca
Compare
@suhasbshekar Sure, resolved the conflict in this PR. |
Adds ability to configure
service_policy
parameter of IP Interfaces.Closes #306.
Acceptance tests pass:
$ TF_ACC=1 go test ./internal/provider/networking/network_ip_interface_resource_test.go -v === RUN TestAccNetworkIpInterfaceResource --- PASS: TestAccNetworkIpInterfaceResource (4.44s) PASS ok command-line-arguments 4.449s
$ TF_ACC=1 go test ./internal/provider/networking/network_ip_interface_resource_alias_test.go -v === RUN TestAccNetworkIpInterfaceResourceAlias --- PASS: TestAccNetworkIpInterfaceResourceAlias (3.93s) PASS ok command-line-arguments 3.935s
Example Terraform Configuration: