netascode / terraform-aci-nac-tenant

Terraform Cisco ACI Tenant Module
https://registry.terraform.io/modules/netascode/nac-tenant/aci
Apache License 2.0
0 stars 0 forks source link

Cannot program smaller subnet than /24 at a l3-out #24

Open RemcoVroman opened 1 year ago

RemcoVroman commented 1 year ago

Hi,

if have programmed a l3-out with SVI. It works with a /24, but when I configure a /29 it gives the following error:

Error: l3ext::Member IPs should be of same subnet.

with module.tenant["DEMO-IT-DC"].module.aci_l3out_interface_profile_manual["ZD-001-FW-IT-DC/ZD-001-FW-IT-DC-NP/fwl1001a"].aci_rest_managed.l3extMember_A["topology/pod-1/protpaths-1603-1605/pathep-[vpc-fwl1001a]"], on .terraform/modules/tenant.aci_l3out_interface_profile_manual/main.tf line 247, in resource "aci_rest_managed" "l3extMember_A": │ 247: resource "aci_rest_managed" "l3extMember_A" {

This is the working configuration: interface_profiles: bfd_policy: bfd-default ospf: ospf_interface_profile_name: fwl_ospf_profile auth_type: md5 auth_key: cisco auth_key_id: 1 policy: FWL001 interfaces:

danischm commented 1 year ago

Please also share the non-working config. If you wrap the yaml content in a markdown code block (https://www.markdownguide.org/extended-syntax/#fenced-code-blocks) it is easier to read.

RemcoVroman commented 1 year ago

This is the non-working configuration: interface_profiles: bfd_policy: bfd-default ospf: ospf_interface_profile_name: fwl_ospf_profile auth_type: md5 auth_key: cisco auth_key_id: 1 policy: FWL001 interfaces:

danischm commented 1 year ago

Thanks, can you please also share the plan output of the non-working config?