Open bardahlm opened 2 weeks ago
Hi @bardahlm,
I have set to the todo to discuss with the team.
Like you already mentioned I am not sure if this is possible to detect during plan, so we would need to investigate this.
If it would be possible it would increase the amount of API calls being made and I am not sure if this is something that is desired. Option would be to introduce some kind of check mode to give the user a choice of doing a check. Again this is all hypothetical and would need to be further investigated and discussed within the team.
Community Note
Description
Some switches can only support breakout on some ports, and only if some other ports are purged. See https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/hw/n93600cd-gx-hig/guide/b_c93600cd-gx-nxos-mode-hardware-installation-guide/m_overview1.html for example.
Terraform plan do not warn about impossible breakout configuration and apply apparently succeeds. However, a fault is raised and the port do not come up as expected.
I'm not sure how this could be detected during plan, do the API have any way to query if a given port can support breakout?
New or Affected Resource(s) + ACI Class(es):
APIC version and APIC Platform
Potential Terraform Configuration
References
0000