Merge "ifcfg: don't restart ovs if --no-activate is specified"
This commit is contained in:
commit
96d17b2517
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user