cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
267
Views
0
Helpful
1
Replies

Cannot create interface profile with Nexus As Code in APIC 6.0

conf-t
Level 1
Level 1

Hello,

For interface policies, I've managed to create interface policy group using this YAML file:

conft_0-1708679678598.png

But When I was trying to assign this IGP to a node port (equivalent to interface profile) with like this YAML file :

conft_1-1708679783154.png

It doesn't work! As if, it doesn't take into account this YAML file for the interface-profile.

From the doc: I found that I have to use nexus as code version 8.1 for APIC 6.0! still the same behavior as 8.0:

conft_2-1708679997432.png

Any solution? No error occurs and "0 created, 0 changed, 0 destroyed" when I run terraform..

 

1 Reply 1

mfr-6
Spotlight
Spotlight

Hi @conf-t!

Could you take a look at your NaC module definition and see if "manage_interface_policies" is set to "true"?

module "aci" {
  source  = "netascode/nac-aci/aci"
  version = "0.8.1"

  yaml_directories = ["data"]

  manage_access_policies    = false
  manage_fabric_policies    = false
  manage_pod_policies       = false
  manage_node_policies      = false
  manage_interface_policies = true <--- needs to be set as "true"
  manage_tenants            = true
}

 

 

Mateusz Frak NetDevOps | DevNet | Automation
Please mark this post as helpful if it solves your issue, to make this visible for other users, thank you!