] | ] | ||||
%} | %} | ||||
{%- 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 %} | {%- for option in ovs_options %} | ||||
linux_network_dpdk_ovs_option_{{ option }}: | linux_network_dpdk_ovs_option_{{ option }}: |
dpdk_socket_mem: "1024" | dpdk_socket_mem: "1024" | ||||
dpdk_lcore_mask: "0x400" | dpdk_lcore_mask: "0x400" | ||||
memory_channels: "2" | memory_channels: "2" | ||||
vhost_socket_dir: | |||||
name: "openvswitch-vhost" | |||||
path: "/run/openvswitch-vhost" | |||||
interface: | interface: | ||||
dpdk0: | dpdk0: | ||||
name: enp5s0f1 | name: enp5s0f1 |