Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>pull/146/head
@@ -41,6 +41,17 @@ openvswitch_dpdk_pkgs: | |||
- openvswitch-switch | |||
- bridge-utils | |||
{# create drop-in dpdk dependency for openvswitch-switch (ovsdb-server) #} | |||
/etc/systemd/system/openvswitch-switch.service.d/dpdk.conf: | |||
file.managed: | |||
- makedirs: true | |||
- require: | |||
- pkg: openvswitch_dpdk_pkgs | |||
- contents: | | |||
[Unit] | |||
Requires=dpdk.service | |||
After=dpdk.service | |||
linux_network_dpdk_ovs_service: | |||
cmd.run: | |||
- name: "ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true" |