NVIDIA Support for TripleO Victoria Application Notes

OVS Kernel - VF LAG Configuration

  1. Make sure that the compute.yaml file has a Linux bond:

    Copy
    Copied!
                

    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

  2. Make sure the /usr/share/openstack-tripleo-heat-templates/environments/ovs-hw-offload.yaml file has hw-offloading enabled:

    Copy
    Copied!
                

    ComputeSriovParameters:   OvsHwOffload: True

  3. Configure the bonding option in the same file:

    Copy
    Copied!
                

    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:

Copy
Copied!
            

- 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:

Copy
Copied!
            

- type: interface name: enp2s0f1.7 use_dhcp: false addresses: - ip_netmask: {{ tenant_ip ~ '/' ~ tenant_cidr }}

Last updated on Sep 8, 2023.