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 service_policy parameter #332

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

Conversation

acch
Copy link

@acch acch commented Oct 31, 2024

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:

// sample IP Interface with service_policy parameter
resource "netapp-ontap_networking_ip_interface" "example" {
  cx_profile_name = ...
  name            = ...
  svm_name        = ...
  ...
  service_policy   = "default-management"
}

@acch acch force-pushed the 306-interface-service_policy-parameter branch 2 times, most recently from 71823b2 to 1de03df Compare October 31, 2024 12:40
@acch acch marked this pull request as ready for review October 31, 2024 13:16
@carchi8py carchi8py added the enhancement New feature or request label Oct 31, 2024
@carchi8py carchi8py added this to the 2.1 milestone Oct 31, 2024
@acch acch force-pushed the 306-interface-service_policy-parameter branch from d2aa5ab to 2552062 Compare November 4, 2024 09:17
@acch acch force-pushed the 306-interface-service_policy-parameter branch from 39b39bc to dd0999b Compare December 9, 2024 14:23
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 service_policy parameter
2 participants