noironetworks / acc-provision

Tool for provisioning Cisco ACI APIC to integrate with Container Orchestration systems, and generating CNI Plugin Containers' deployment configuration.
Apache License 2.0
23 stars 14 forks source link

Baremetal flavors assume that nodes/servers are directly connected to leaf switches #1152

Closed hamleadm closed 2 months ago

hamleadm commented 2 months ago

We use Cisco UCS bare metal servers. The UCS has an internal Fabric interconnect switch that is connected via a VPC to the leaf switch.

This require that vlans are configured as tagged in the aep, currently we do a work around by changing in the flavor.yaml. But it would be great if it can be controlled by a config parameter. It works fine for the ESX flavors that use nested inside vm-ware then the vlans are provisioned as tagged.

fwardzic commented 2 months ago

You can use config option in your input file to alter the kubeapi vlan untagged default for baremetal flavor:

net_config:
  kubeapi_vlan_mode: "regular"
hamleadm commented 2 months ago

Thanks I have missed that option.

hamleadm commented 2 months ago

The option worked fine. net_config: kubeapi_vlan_mode: "regular"