Don't restart ivs/nfvswitch in os-net-config
Restarting ivs during ugrades causes network disruptions. Removing both the ivs and nvfswitch restarts as they are not required. Change-Id: I3d26cbc8484c72d6bfc133c59c8fc065add226c9 Closes-Bug: 1757130
This commit is contained in:
parent
96d17b2517
commit
db081a75c5
|
@ -1157,9 +1157,6 @@ class IfcfgNetConfig(os_net_config.NetConfig):
|
|||
self.ifup(ivs_uplink)
|
||||
for ivs_interface in ivs_interfaces:
|
||||
self.ifup(ivs_interface)
|
||||
msg = "Restart ivs"
|
||||
self.execute(msg, '/usr/bin/systemctl',
|
||||
'restart', 'ivs')
|
||||
|
||||
if nfvswitch_interfaces or nfvswitch_internal_ifaces:
|
||||
logger.info("Attach to nfvswitch with "
|
||||
|
@ -1170,9 +1167,6 @@ class IfcfgNetConfig(os_net_config.NetConfig):
|
|||
self.ifup(nfvswitch_interface)
|
||||
for nfvswitch_internal in nfvswitch_internal_ifaces:
|
||||
self.ifup(nfvswitch_internal)
|
||||
msg = "Restart nfvswitch"
|
||||
self.execute(msg, '/usr/bin/systemctl',
|
||||
'restart', 'nfvswitch')
|
||||
|
||||
for vlan in restart_vlans:
|
||||
self.ifup(vlan)
|
||||
|
|
Loading…
Reference in New Issue