netascode / terraform-aci-nac-aci

Terraform Cisco ACI Nexus-as-Code Module
https://registry.terraform.io/modules/netascode/nac-aci/aci
Apache License 2.0
17 stars 14 forks source link

Policy location #57

Closed jorgenspange closed 3 weeks ago

jorgenspange commented 4 months ago

I dont quite understand why the location of the policies is different, for example:

err_disabled_recovery resides under fabric_policies:

apic:
  fabric_policies:
    err_disabled_recovery:
      interval: 360
      mcp_loop: true
      ep_move: true
      bpdu_guard: true

and mcp resides under access_policies:

apic:
  access_policies:
    mcp:
      action: false
      admin_state: true
      key: cisco
      frequency_sec: 5
      initial_delay: 300
      loop_detection: 5
      per_vlan: false

even though both have the same path in the gui:

  Location in GUI: Fabric » Access Policies » Policies » Global » Error Disabled Recovery Policy
  Location in GUI: Fabric » Access Policies » Policies » Global » MCP Instance Policy default
danischm commented 3 months ago

This was probably different in earlier versions of ACI.

jorgenspange commented 3 weeks ago

Question answered.