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

APIC 4.x/5.x Interface shutdown Support #164

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

Conversation

devegupt
Copy link
Contributor

This PR includes the enhancement to support the port shutdown operation on APIC 4.x/5.x while using "new_interface_configuration: false"

@devegupt devegupt requested a review from andbyrne October 22, 2024 06:28
Copy link
Contributor

@andbyrne andbyrne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment this code will generate a resource for every defined port which may be undesirable. It would be better to rename the module to terraform-aci-interface-shutdown and to only pass it ports that need to be blacklisted.

i.e. There's no need for a shutdown variable to be passed to the module. It should assume that any provided port should be blacklisted.

aci_interface_policies.tf Outdated Show resolved Hide resolved
aci_interface_policies.tf Outdated Show resolved Hide resolved
aci_interface_policies.tf Outdated Show resolved Hide resolved
modules/terraform-aci-interface-state/variables.tf Outdated Show resolved Hide resolved
modules/terraform-aci-interface-state/variables.tf Outdated Show resolved Hide resolved
modules/terraform-aci-interface-state/main.tf Outdated Show resolved Hide resolved
modules/terraform-aci-interface-state/main.tf Outdated Show resolved Hide resolved
Copy link
Contributor

@andbyrne andbyrne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devegupt devegupt changed the title interface state terraform module APIC 4.x/5.x Interface shutdown Support #358 Nov 25, 2024
@devegupt devegupt changed the title APIC 4.x/5.x Interface shutdown Support #358 APIC 4.x/5.x Interface shutdown Support Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants