Make sure that the
compute.yaml
file has a Linux bond:name: bond0 type: linux_bond bonding_options: "mode=active-backup miimon=100" addresses: - ip_netmask: {{ tenant_ip ~ '/' ~ tenant_cidr }} members: - type: sriov_pf name: enp3s0f0 link_mode: switchdev numvfs: 64 promisc: true use_dhcp: false - type: sriov_pf name: enp3s0f1 link_mode: switchdev numvfs: 64 promisc: true use_dhcp: false
Make sure the
/usr/share/openstack-tripleo-heat-templates/environments/ovs-hw-
offload.yaml
file has hw-offloading enabled:ComputeSriovParameters: OvsHwOffload: True
Configure the bonding option in the same file:
parameter_defaults: BondInterfaceOvsOptions: "mode=active-backup miimon=100"
The supported bonding modes for vf-lag are:
- Active-Backup
- Active-Active
- LACP
Following is an example of an uplink over a VLAN number 77 in a bond use:
- type: interface name: bond0.77 use_dhcp: false addresses: - ip_netmask: {{ tenant_ip ~ '/' ~ tenant_cidr }}
Following is an example of an uplink of a general interface:
- type: interface name: enp2s0f1.7 use_dhcp: false addresses: - ip_netmask: {{ tenant_ip ~ '/' ~ tenant_cidr }}