Add centos-8 support for ovs-dpdk

changed /var/lib/vhost_socket dir owner/group permission for centos-8 and
added openvswitch service name.

Change-Id: Idedbef8b70cb42588c9c9ace9530df84a5d1f6ff
This commit is contained in:
Satish Patel 2020-11-14 06:43:52 +00:00 committed by Dmitriy Rabotyagov
parent 8f7a948dcb
commit 61459c64bb
4 changed files with 9 additions and 3 deletions

View File

@ -459,5 +459,3 @@ ovs_dpdk_pmd_cpu_mask: 2
ovs_dpdk_socket_mem: "1024"
ovs_dpdk_nr_1g_pages: 0
ovs_dpdk_nr_2m_pages: 0
# (NOTE) (or "libvirtd", depending on your version of libvirt)
vhost_socket_directory_group: "libvirt"

View File

@ -88,7 +88,7 @@
file:
path: /var/lib/vhost_socket
state: directory
owner: libvirt-qemu
owner: "{{ vhost_socket_directory_owner }}"
group: "{{ vhost_socket_directory_group }}"
mode: "0755"
when:

View File

@ -31,6 +31,9 @@ neutron_ovs_dpdk_required_packages:
dpdk_service_name: dpdk
vhost_socket_directory_group: "libvirt"
vhost_socket_directory_owner: "libvirt-qemu"
## APT Cache options
cache_timeout: 600

View File

@ -19,6 +19,11 @@ neutron_repos:
neutron_ovs_distro_packages:
- openvswitch
dpdk_service_name: openvswitch
vhost_socket_directory_group: hugetlbfs
vhost_socket_directory_owner: qemu
neutron_ovs_service_name: openvswitch
neutron_ovn_northd_service_name: ovn-northd