Merge "Don't restart ivs/nfvswitch in os-net-config"

This commit is contained in:
Zuul 2018-03-27 00:06:29 +00:00 committed by Gerrit Code Review
commit c330beb0ef
1 changed files with 0 additions and 6 deletions

View File

@ -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)