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

Detect incompatible breakout configuration during plan (DCNE-75) #1234

Open
bardahlm opened this issue Jun 12, 2024 · 2 comments
Open

Detect incompatible breakout configuration during plan (DCNE-75) #1234

bardahlm opened this issue Jun 12, 2024 · 2 comments
Labels
enhancement jira-sync Sync this issue to Jira

Comments

@bardahlm
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

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):

  • aci_access_port_selector
  • aci_access_port_block

APIC version and APIC Platform

  • V 5.2(8e) on-prem

Potential Terraform Configuration

References

  • #0000
@akinross
Copy link
Collaborator

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.

@samiib samiib added the jira-sync Sync this issue to Jira label Aug 13, 2024
@github-actions github-actions bot changed the title Detect incompatible breakout configuration during plan Detect incompatible breakout configuration during plan (DCNE-75) Aug 13, 2024
@bardahlm
Copy link
Author

bardahlm commented Oct 5, 2024

Re amount of api calls: This only needs to be checked if a new breakout needs to be set up, already configured breakouts can follow existing api flows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement jira-sync Sync this issue to Jira
Projects
None yet
Development

No branches or pull requests

3 participants