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

[New Resource]: VLAN (ethernet ports) #304

Open
acch opened this issue Sep 30, 2024 · 4 comments · May be fixed by #334
Open

[New Resource]: VLAN (ethernet ports) #304

acch opened this issue Sep 30, 2024 · 4 comments · May be fixed by #334
Labels
New Resource New Request for an ONTAP Resource
Milestone

Comments

@acch
Copy link

acch commented Sep 30, 2024

Description

Ability to create VLANs (/network/ethernet/ports endpoint)

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

  • netapp-ontap_port

Potential Terraform Configuration

// sample VLAN
resource "netapp-ontap_port" "example" {
  cx_profile_name = "cluster1"

  broadcast_domain = {
    ipspace = "Default"
    name    = "bd1"
  }

  node = {
    name = "node1"
  }

  type = "vlan"
  vlan = {
    base_port = "e1b"
    tag       = 100
  }
}

References

Would you like to implement a fix?

Yes

@carchi8py carchi8py added the New Resource New Request for an ONTAP Resource label Sep 30, 2024
@carchi8py carchi8py moved this from Future to 2.1 in Terraform for ONTAP Roadmap Sep 30, 2024
@carchi8py carchi8py added this to the 2.1 milestone Sep 30, 2024
@carchi8py
Copy link
Contributor

@acch i'm going to rename this resouce to netapp-ontap_ports (or netapp-ontap_port) since that what the Rest API is under the covers.

@acch acch linked a pull request Nov 13, 2024 that will close this issue
@acch
Copy link
Author

acch commented Nov 20, 2024

I've prepared a PR to address this change: #334.

Please let me know if anything's missing.

@carchi8py
Copy link
Contributor

Ok i'll look at that in a little bit. Right now one of our Vsim that was set up to run the pipeline got remove so were working on getting all the stuff back up on a new one so the pipeline can work again.

@acch
Copy link
Author

acch commented Nov 21, 2024

Sure thing - let me know how I can help!

BTW: We'll probably need to adjust the params in the resource-test-file (here) to match your environment (i.e. node name, port name(s), etc.). Once the Vsim is up & running: if you send me the details then I'm happy to fill them in...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Resource New Request for an ONTAP Resource
Projects
Status: 2.1
Development

Successfully merging a pull request may close this issue.

2 participants