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

Create resource and data source for bfd multihop protocol profile in Logical Node Profiles under L3Out (DCNE-41) #980

Open
shrsr opened this issue Dec 20, 2022 · 0 comments
Labels

Comments

@shrsr
Copy link
Collaborator

shrsr commented Dec 20, 2022

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

Terraform Version

APIC version and APIC Platform

  • V 6.0

Affected Resource(s)

New resource and data source
Example DN: uni/tn-module_l3out_tf_tenant/out-module_l3out/lnodep-node_profile1/bfdMhNodeP
Class Name: bfdMhNodeP

Terraform Configuration Files

Equivalent rest managed resource-

resource "aci_rest_managed" "l3out_bfd_multihop_protocol_profile" {
  for_each = { for bfd in var.logical_node_profiles : bfd.name => bfd if bfd.bfd_multihop_protocol_profile != null }

  dn         = "${aci_logical_node_profile.logical_node_profile[each.key].id}/bfdMhNodeP"
  class_name = "bfdMhNodeP"
  content = {
    type = each.value.bfd_multihop_protocol_profile.authentication_type
    keyId = each.value.bfd_multihop_protocol_profile.authentication_key_id
    key = each.value.bfd_multihop_protocol_profile.authentication_key
  }
  child  {
    rn = "rsMhNodePol" 
    class_name = "bfdRsMhNodePol"
    content = {
      tnBfdMhNodePolName = each.value.bfd_multihop_protocol_profile.bfd_multihop_node_policy_name
    }
  }
}
@samiib samiib added the jira-sync Sync this issue to Jira label Aug 12, 2024
@github-actions github-actions bot changed the title Create resource and data source for bfd multihop protocol profile in Logical Node Profiles under L3Out Create resource and data source for bfd multihop protocol profile in Logical Node Profiles under L3Out (DCNE-41) Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants