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

[Docs]: On prem ONTAP version is wrong for Resource IP Route #265

Closed
Gianlu opened this issue Aug 12, 2024 · 0 comments · Fixed by #273
Closed

[Docs]: On prem ONTAP version is wrong for Resource IP Route #265

Gianlu opened this issue Aug 12, 2024 · 0 comments · Fixed by #273
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@Gianlu
Copy link

Gianlu commented Aug 12, 2024

Documentation Link

https://registry.terraform.io/providers/NetApp/netapp-ontap/latest/docs/resources/networking_ip_route_resource

Description

In the documentation, you state that the resource can be used from Ontap 9.6 on wards, but on Ontap 9.10 it fails because you make a POST on /network/ip/routes specifying the metric field. According to https://docs.netapp.com/us-en/ontap-restapi/ontap/swagger-ui/index.html#/Networking/network_ip_routes_create, the metric field was added in Ontap 9.11.

│ Error: error creating /network/ip/routes
│ 
│   with module.primary_svm.netapp-ontap_networking_ip_route_resource.networking_ip_route,
│   on svm/lif.tf line 15, in resource "netapp-ontap_networking_ip_route_resource" "networking_ip_route":
│   15: resource "netapp-ontap_networking_ip_route_resource" "networking_ip_route" {
│ 
│ error on POST /network/ip/routes: REST reported error restclient.RestError{Code:"262179", Message:"Unexpected argument \"metric\".", Target:"metric"}, statusCode: 400, statusCode 400

References

No response

Would you like to implement a fix?

None

@Gianlu Gianlu added the documentation Improvements or additions to documentation label Aug 12, 2024
@carchi8py carchi8py added this to the 1.1.4 milestone Aug 15, 2024
@carchi8py carchi8py self-assigned this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: 1.1.4
Development

Successfully merging a pull request may close this issue.

3 participants