Skip to content

Enhancement: Nutanix VMM support #244

@manofcolombia

Description

@manofcolombia

We are in the process of moving from vmware vmm to nutanix vmm. I currently do not have a running example of what the nutanix vmm objects will look like, but from looking at current aaep and epg domain association, it appears that the only vmm domain supported today is vmware.

AAEP:

locals {
  ...
  vmware_vmm_domains = [for dom in var.vmware_vmm_domains : "uni/vmmp-VMware/dom-${dom}"]
  domains            = concat(local.physical_domains, local.routed_domains, local.vmware_vmm_domains)
}

resource "aci_rest_managed" "infraRsDomP" {
  for_each   = toset(local.domains)
  dn         = "${aci_rest_managed.infraAttEntityP.dn}/rsdomP-[${each.value}]"
  class_name = "infraRsDomP"
  content = {
    tDn = each.value
  }
}

EPG:

resource "aci_rest_managed" "fvRsDomAtt_vmm" {
  for_each   = { for vmm_vwm in var.vmware_vmm_domains : vmm_vwm.name => vmm_vwm }
  dn         = "${aci_rest_managed.fvAEPg.dn}/rsdomAtt-[uni/vmmp-VMware/dom-${each.value.name}]"
...
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions