Enable DPDK OVS PMD Auto Load Balance

Add tasks to configure OVS PMD Auto Load Balance

Change-Id: I27b5910d8a9fc25e391cff7860cace52d146430a
This commit is contained in:
Kamil Sambor 2021-05-04 13:10:43 +02:00 committed by Kamil Sambor
parent ab51504b44
commit 84e1781888
3 changed files with 23 additions and 0 deletions

View File

@ -89,7 +89,11 @@ Role Defaults
- **Default**: ``false``
- **Examples**: ``true``
- ``tripleo_ovs_dpdk_pmd_auto_lb``
- **Description**: (*Optional*) Enable DPDK OVS PMD Auto Load Balance.
- **Default**: ``false``
- **Examples**: ``true``
Modules
-------

View File

@ -28,3 +28,4 @@ tripleo_ovs_dpdk_revalidator_cores: ""
tripleo_ovs_dpdk_handler_cores: ""
tripleo_ovs_dpdk_emc_insertion_probablity: ""
tripleo_ovs_dpdk_enable_tso: false
tripleo_ovs_dpdk_pmd_auto_lb: false

View File

@ -143,3 +143,21 @@
col: other_config
key: userspace-tso-enable
when: not tripleo_ovs_dpdk_enable_tso|bool
- name: Enable DPDK OVS PMD Auto Load Balance
openvswitch_db:
table: open_vswitch
record: .
col: other_config
key: pmd-auto-lb
value: "{{ tripleo_ovs_dpdk_pmd_auto_lb }}"
when: tripleo_ovs_dpdk_pmd_auto_lb|bool
- name: Disable DPDK OVS PMD Auto Load Balance
openvswitch_db:
state: absent
table: open_vswitch
record: .
col: other_config
key: pmd-auto-lb
when: not tripleo_ovs_dpdk_pmd_auto_lb|bool