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

[Enhancement]: Add ipspace to netapp-ontap_networking_ip_interface_resource #249

Open
dsnelleman opened this issue Jul 26, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@dsnelleman
Copy link

Description

When trying to create cluster management interface ipspace is required.

error on POST network/ip/interfaces: REST reported error restclient.RestError{Code:"1967128", Message:"ipspace.uuid or ipspace.name must be provided if scope is "cluster".", Target:""}, statusCode: 400,

Affected Resource(s) and/or Data Source(s)

netapp-ontap_networking_ip_interface_resource
netapp-ontap_networking_ip_interface_data_source
netapp-ontap_networking_ip_interfaces_data_source

Potential Terraform Configuration

resource "netapp-ontap_networking_ip_interface_resource" "scltest_cluster_mgmt" {
    depends_on = [netapp-ontap_cluster_resource.scltest-01]
    cx_profile_name = "SCLTEST-01"
    name = "cluster_mgmt"
    svm_name = "scltest"
    ip = {
        address = "192.168.130.30"
        netmask = 24
    }
    location = {
        home_port = "e0c"
        home_node = "scltest-01"
    }
    ipspace = "Default"
}

References

ipspace is in the API so it should be a simple fix.

https://docs.netapp.com/us-en/ontap-restapi-96/ontap/post-network-ip-interfaces.html

Would you like to implement a fix?

None

@dsnelleman dsnelleman added the enhancement New feature or request label Jul 26, 2024
@carchi8py carchi8py moved this from Future to 2.1 in Terraform for ONTAP Roadmap Sep 5, 2024
@carchi8py carchi8py added this to the 2.1 milestone Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 2.1
Development

No branches or pull requests

2 participants