We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ba71ad commit ce9242eCopy full SHA for ce9242e
1 file changed
linux/network/dpdk.sls
@@ -41,6 +41,17 @@ openvswitch_dpdk_pkgs:
41
- openvswitch-switch
42
- bridge-utils
43
44
+{# create drop-in dpdk dependency for openvswitch-switch (ovsdb-server) #}
45
+/etc/systemd/system/openvswitch-switch.service.d/dpdk.conf:
46
+ file.managed:
47
+ - makedirs: true
48
+ - require:
49
+ - pkg: openvswitch_dpdk_pkgs
50
+ - contents: |
51
+ [Unit]
52
+ Requires=dpdk.service
53
+ After=dpdk.service
54
+
55
linux_network_dpdk_ovs_service:
56
cmd.run:
57
- name: "ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true"
0 commit comments