From 884c3e45fa0c1924447baadb718d0740bdc67ecd Mon Sep 17 00:00:00 2001 From: Karthik S Date: Mon, 9 Nov 2020 14:21:40 +0000 Subject: [PATCH] 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 87702f33c0dd6902de016e4bb18d4ffde41d74ae) --- os_net_config/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_net_config/utils.py b/os_net_config/utils.py index 6ba6c75d..ca668890 100644 --- a/os_net_config/utils.py +++ b/os_net_config/utils.py @@ -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