Fixing the dependency for sriov_config service

Some of the 3rd party vswitch providers does not follow the regular ovs db and
vswitchd is split and it is implementation specific. But in general the openvswitch.service
will be used as base even for the 3rd party providers. Moving the dependency from
vswitchd to openvswitch make sriov_config.service to work with other providers.

Closes-Bug: #1903550

Change-Id: Id23051e12dad8d4b84df1821e670661a0891e780
(cherry picked from commit 87702f33c0)
This commit is contained in:
Karthik S 2020-11-09 14:21:40 +00:00
parent 24eb8beecc
commit 06f62ad1d6
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ _SRIOV_CONFIG_SERVICE_FILE = "/etc/systemd/system/sriov_config.service"
_SRIOV_CONFIG_DEVICE_CONTENT = """[Unit]
Description=SR-IOV numvfs configuration
After=systemd-udev-settle.service
Before=ovs-vswitchd.service
Before=openvswitch.service
[Service]
Type=oneshot