CiscoDevNet / terraform-provider-aci

Terraform Cisco ACI provider
https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs
Mozilla Public License 2.0
85 stars 98 forks source link

Enhancement: Add Resource or attribute in aci_bridge_domain to configure Rogue Endpoint Exception list (DCNE-144) #1257

Open dirkf98 opened 1 month ago

dirkf98 commented 1 month ago

Community Note

Description

Hello,

it would be great if you could manage the Rogue Endpoint Exception list for a bridge domain through Terraform. Either as a specific resource or another attribute within ac_bridge_domain. That would be objects for the class fvRogueExceptionMac. In the GUI this can be configured in the respective bridge domain -> Advanced/Troubleshooting. This exception list was introducted in 5.2.3.

New or Affected Resource(s) + ACI Class(es):

Class fvRogueExceptionMac under fvBD

APIC version and APIC Platform

Potential Terraform Configuration

    resource "aci_bridge_domain" "foobridge_domain" {
        tenant_dn                   = aci_tenant.tenant_for_bd.id
        description                 = "from terraform"
        name                        = "demo_bd"
        rogue_mac_exceptions = ["xx:xx:xx:xx:xx:xx", "xx:xx:xx:xx:xx:yy"]

References

akinross commented 1 month ago

Hi @dirkf98,

Thank you for raising this issue, I will add it to the to do items. I am not sure this will be added to the resource itself but will likely be a separate resource since we typically only add relationship classes to the resource. Will be discussed with the team when it is assigned.

dirkf98 commented 1 month ago

Hello @akinross,

thank you for the quick feedback. A separate resource would be perfectly fine for me.

Dirk

akinross commented 1 month ago

Hi @dirkf98,

You are welcome. Just additional information, currently we are working on migration to plugin framework of EPG similar as we did recently for ESG (merged to master but not released yet). After EPG, the likely next candidate will be BD. These should be non-breaking changes that include new functionality.