Merge "ifcfg: don't restart ovs if --no-activate is specified"

This commit is contained in:
Zuul 2018-03-14 09:04:24 +00:00 committed by Gerrit Code Review
commit 96d17b2517
1 changed files with 9 additions and 9 deletions

View File

@ -1103,8 +1103,8 @@ class IfcfgNetConfig(os_net_config.NetConfig):
# DPDK initialization is done before running os-net-config, to make
# the DPDK ports available when enabled. DPDK Hotplug support is
# supported only in OvS 2.7 version. Until then, OvS needs to be
# restarted after adding a DPDK port. This change will be removed on
# migration to OvS 2.7 where DPDK Hotplug support is available.
# restarted after adding a DPDK port. This change will be removed
# on migration to OvS 2.7 where DPDK Hotplug support is available.
if ovs_needs_restart:
msg = "Restart openvswitch"
self.execute(msg, '/usr/bin/systemctl',