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 interface location.broadcast_domain parameter #337

Open
wants to merge 9 commits into
base: integration/main
Choose a base branch
from

Conversation

acch
Copy link

@acch acch commented Nov 20, 2024

Adds ability to configure location.broadcast_domain parameter of IP Interfaces.

Closes #305.

Acceptance tests pass:

$ TF_ACC=1 go test ./internal/provider/networking/network_ip_interface_resource_test.go -v
=== RUN   TestAccNetworkIpInterfaceResource
--- PASS: TestAccNetworkIpInterfaceResource (10.65s)
PASS
ok      command-line-arguments  10.664s
$ TF_ACC=1 go test ./internal/provider/networking/network_ip_interface_resource_alias_test.go -v
=== RUN   TestAccNetworkIpInterfaceResourceAlias
--- PASS: TestAccNetworkIpInterfaceResourceAlias (9.21s)
PASS
ok      command-line-arguments  9.225s

Example Terraform Configurations:

resource "netapp-ontap_network_ip_interface" "with_node_port" {
  cx_profile_name = ...
  name            = ...
  svm_name        = ...

  ip = { ... }

  location = {
    home_port = "e0a-100"
    home_node = "node1"
  }
}
resource "netapp-ontap_network_ip_interface" "with_broadcast_domain" {
  cx_profile_name = ...
  name            = ...
  svm_name        = ...

  ip = { ... }

  location = {
    broadcast_domain = {
      name = "bd1"
    }
  }
}

@acch acch marked this pull request as ready for review November 28, 2024 15:31
@acch acch changed the title Add interface location.broadcast_domain parameter [Enhancement] Add interface location.broadcast_domain parameter Dec 9, 2024
@acch acch changed the title [Enhancement] Add interface location.broadcast_domain parameter [Enhancement]: Add interface location.broadcast_domain parameter Dec 9, 2024
@carchi8py carchi8py added the enhancement New feature or request label Dec 9, 2024
@carchi8py carchi8py added this to the 2.1 milestone Dec 9, 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

Successfully merging this pull request may close these issues.

[Enhancement]: Add interface location.broadcast_domain parameter
2 participants