OVS Kernel - VF LAG Configuration

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

    Copy
    Copied!
                

    - type: linux_bond   addresses:     - ip_netmask:         get_param: TenantIpSubnet   name: bond0   bonding_options:     get_param: BondInterfaceOvsOptions   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: get_param: TenantIpSubnet

Following is an example of an uplink of a general interface:

Copy
Copied!
            

- type: interface   name: enp2s0f1.7   use_dhcp: false   addresses:   - ip_netmask:       get_param: TenantIpSubnet

© Copyright 2023, NVIDIA. Last updated on May 23, 2023.