datacenter / ACI

Cisco Application Centric Infrastructure SDKs and Code Samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

configure_interface_pc_and_vpc: Interface Selector Name

cam82 opened this issue · comments

In the configure_interface_pc_and_vpc the Interface selector name is derived from the switch_profile.
infra_accportp = AccPortP(infra, switch_profile + '_ifselector')

This should not be the case since we are passing the ifselector name to the function:
def configure_interface_pc_and_vpc(infra, switch_profile, switches, interface_type, ports, selector, policy_group)

In my implementation I changed all occurrences of switch_profile + '_ifselector' with selector and all seems to be working fine.