Browse Source

Merge "Specify a separate dir for vhost_user sockets"

pull/132/head
Marek Celoud 7 years ago
parent
commit
106cc853c5
2 changed files with 7 additions and 0 deletions
  1. +4
    -0
      linux/network/dpdk.sls
  2. +3
    -0
      tests/pillar/network_openvswitch_dpdk.sls

+ 4
- 0
linux/network/dpdk.sls View File

@@ -55,6 +55,10 @@ linux_network_dpdk_ovs_service:
]
%}

{%- if network.openvswitch.get('vhost_socket_dir',{}).get('path') %}
{%- do ovs_options.append("vhost-sock-dir=\""+network.openvswitch.vhost_socket_dir.path+"\"") %}
{%- endif %}

{%- for option in ovs_options %}

linux_network_dpdk_ovs_option_{{ option }}:

+ 3
- 0
tests/pillar/network_openvswitch_dpdk.sls View File

@@ -16,6 +16,9 @@ linux:
dpdk_socket_mem: "1024"
dpdk_lcore_mask: "0x400"
memory_channels: "2"
vhost_socket_dir:
name: "openvswitch-vhost"
path: "/run/openvswitch-vhost"
interface:
dpdk0:
name: enp5s0f1

Loading…
Cancel
Save